Page 1 of 1
Norbert's SDLPoP dev log
Posted: October 22nd, 2021, 4:33 am
by Norbert
I will use this thread to document my (
announced) attempt to add local 'multiplayer' to SDLPoP.
Some days I may add multiple posts, some weeks none.
Re: Norbert's SDLPoP dev log
Posted: October 22nd, 2021, 4:38 am
by Norbert
So far, I don't think I've seen any functions that start with descriptions of what they do, so I'm slowing trying to figure this out, and documenting it myself along the way.
I already find myself reformatting functions completely, to make sense of them. Adding Hungarian notations.
In do_startpos(), x seems to be a randomly picked character, used for different things. Rewriting this too.
Re: Norbert's SDLPoP dev log
Posted: October 23rd, 2021, 11:50 am
by Norbert
I've restarted. Instead of rewriting everything, I'm trying to work with all the uglyness.
Also, instead of giving the struct level_type sbyte start_dir[8] etc, I'm using p8_start_dir etc, and use a separate start_dir[8] (for looping etc), so I don't need to shuffle MP bytes around after the program runs load_from_opendats_to_area() in load_level().
Re: Norbert's SDLPoP dev log
Posted: January 19th, 2022, 12:08 pm
by Norbert
This didn't work out, I'm locking this thread.