Here is my attempt: https://github.com/NagyD/SDLPoP/commit/ ... ecf0401710Norbert wrote: ↑October 26th, 2020, 4:36 pm Another minor suggestion. If data/ is not present, for example if a Windows user renamed it to DATA/, then the game still launches and shows the splash screen ("Press any key to continue...") but then displays a black screen that has an invisible prince die when a key is pressed. Some kind of check could be used to determine whether or not the game should display a message about the missing data/ directory on-screen (in-game). Without looking into it thoroughly, maybe if use_custom_levelset is 0 and data/ is not present.
SDLPoP; David's open-source port of PoP
Re: SDLPoP; David's open-source port of PoP
Re: SDLPoP; David's open-source port of PoP
More user-friendly, yes.David wrote: ↑October 31st, 2020, 5:38 pmHere is my attempt: https://github.com/NagyD/SDLPoP/commit/ ... ecf0401710
Re: SDLPoP; David's open-source port of PoP
From the Muting audio thread:
That would be useful.
Re: SDLPoP; David's open-source port of PoP
Done: https://github.com/NagyD/SDLPoP/commit/ ... c5620591df
Re: SDLPoP; David's open-source port of PoP
I was browsing a bit and noticed this commit.
It accepts 0-24 as rooms, which totals 25 rooms.
Perhaps that should be 0-23 or 1-24?
It accepts 0-24 as rooms, which totals 25 rooms.
Perhaps that should be 0-23 or 1-24?
Re: SDLPoP; David's open-source port of PoP
The room number should not be 0. It is probably just a typo in the "if" statement which only prints out a message.
For me the "used_rooms" value is always 24 even on the pseudo-level 6B in my mod.
For me the "used_rooms" value is always 24 even on the pseudo-level 6B in my mod.
Re: SDLPoP; David's open-source port of PoP
The room drawing code repeatedly calls get_room_address() with room = 0, if the current room has no neighbour in at least one of the four directions.
This case is handled by the if (room) condition [if (room != 0)], two lines after the printf().
I don't think I should fill the console with messages about something which is both handled correctly and happens often.
Re: SDLPoP; David's open-source port of PoP
It would be great if David would include some GUI for changing INI file (default mod startup). Though I've never really touched C language, I'm trying to figure out stuff myself. In C#, it wouldn't be a prob, but entire SDLPop takes about 1.5 Mbs, and downloading a whole bunch of .NET stuff for opening a dialog box with a dropdown on linux doesn't quite cut it
- yourantumayel69
- Calif
- Posts: 565
- Joined: November 12th, 2019, 9:53 am
- Location: Indonesia
- Contact:
Re: SDLPoP; David's open-source port of PoP
How to edit SDLPoP.ini file? I already put the mods The Shadow and the Flame Remake to SDLPoP/mods/ folder.
Pengkhotbah 3:1 (TB) Untuk segala sesuatu ada masanya, untuk apa pun di bawah langit ada waktunya.
- atrueprincefanfrom18
- Site Shah
- Posts: 1785
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: SDLPoP; David's open-source port of PoP
Add levelset = [MOD_FOLDER_NAME]yourantumayel69 wrote: ↑December 19th, 2020, 8:19 am How to edit SDLPoP.ini file? I already put the mods The Shadow and the Flame Remake to SDLPoP/mods/ folder.
- atrueprincefanfrom18
- Site Shah
- Posts: 1785
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: SDLPoP; David's open-source port of PoP
I noticed a weird bug. If you are in front of the mirror (with your reflection shown), if you use cheat (U, G, H, N), after the room is switched to the desired room, the mirror reflection doesn't vanish. It's good if it's fixed.
And also a button to come back to the room where you originally were (before using cheats) would be good. I don't know where that discussion is, but that would be helpful. Backspace button or Home is fine.
And also a button to come back to the room where you originally were (before using cheats) would be good. I don't know where that discussion is, but that would be helpful. Backspace button or Home is fine.
Re: SDLPoP; David's open-source port of PoP
Fixed: https://github.com/NagyD/SDLPoP/commit/ ... 322707796aatrueprincefanfrom18 wrote: ↑December 20th, 2020, 8:48 am I noticed a weird bug. If you are in front of the mirror (with your reflection shown), if you use cheat (U, G, H, N), after the room is switched to the desired room, the mirror reflection doesn't vanish. It's good if it's fixed.
The discussion is here: viewtopic.php?p=31460#p31460atrueprincefanfrom18 wrote: ↑December 20th, 2020, 8:48 am And also a button to come back to the room where you originally were (before using cheats) would be good. I don't know where that discussion is, but that would be helpful. Backspace button or Home is fine.
In SDLPoP, Backspace opens the menu, Home makes the prince jump left.
- atrueprincefanfrom18
- Site Shah
- Posts: 1785
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: SDLPoP; David's open-source port of PoP
Ah, yes, it's there.
Then maybe a CTRL + B to return where the Kid is?
((SHIFT + B) is taken, that's why CTRL, and B for back to screen?)
Re: SDLPoP; David's open-source port of PoP
Done: https://github.com/NagyD/SDLPoP/commit/ ... c00d70ddbcatrueprincefanfrom18 wrote: ↑December 20th, 2020, 4:13 pm Then maybe a CTRL + B to return where the Kid is?
((SHIFT + B) is taken, that's why CTRL, and B for back to screen?)
Re: SDLPoP; David's open-source port of PoP
There are inconsistencies in doc/Readme.txt when it comes to how keyboard shortcuts are presented to the reader.
Example:
- - - - -
* Ctrl-S: sound on/off
* mute -- Start the game with sound off. (You can still enable sound with Ctrl+S.)
- - - - -
Another (double) example:
- - - - -
* Shift-F (while viewing a replay): skip forward to the next level
While viewing a replay, you can press F to skip forward to the next room, or Shift+F to skip to the next level.
* shift+left/right: careful step
- - - - -
Yet another example:
- - - - -
* r: resurrect kid
* Ctrl-R: return to intro
- - - - -
Personally, I always do e.g. Ctrl+r (because plus indicates addition, and a capital r (R) would indicate Ctrl+Shift+r).
But I'm not sure whether that is also the best solution in this particular case/context.
Example:
- - - - -
* Ctrl-S: sound on/off
* mute -- Start the game with sound off. (You can still enable sound with Ctrl+S.)
- - - - -
Another (double) example:
- - - - -
* Shift-F (while viewing a replay): skip forward to the next level
While viewing a replay, you can press F to skip forward to the next room, or Shift+F to skip to the next level.
* shift+left/right: careful step
- - - - -
Yet another example:
- - - - -
* r: resurrect kid
* Ctrl-R: return to intro
- - - - -
Personally, I always do e.g. Ctrl+r (because plus indicates addition, and a capital r (R) would indicate Ctrl+Shift+r).
But I'm not sure whether that is also the best solution in this particular case/context.