Commit Graph

4 Commits

Author SHA1 Message Date
nmlgc b61e612fdf [Maintenance] #include each header's dependencies within the header itself
OK, this is the big one. We still keep using `#include` guards only
where we absolutely need to, but with each header now being valid in
isolation, this can now actually help *minimize* the length of each
translation unit's `#include` list. Turns out that after removing all
the duplicates, we only *actually* need to guard 29 headers across all
5 games.

Part of P0285, funded by [Anonymous] and iruleatgames.
2024-07-09 08:46:42 +02:00
nmlgc cf44223d80 [Decompilation] [th04/th05] Setup menu: Entry point
Part of P0263, funded by [Anonymous].
2023-11-30 20:28:27 +01:00
nmlgc 7aa0459306 [Decompilation] [th04/th05] Setup menu: BGM and SE mode menus
I think this is the first time that function pointers as `inline`
function parameters actually inlined perfectly?

Part of P0263, funded by [Anonymous].
2023-11-30 20:27:19 +01:00
nmlgc 449aa37343 [Decompilation] [th04/th05] Setup menu: Text blitting
Been a while since I abused string constants for temporary alignment
hacks! Almost forgot about that technique. This time around though, I'm
using `$` to address the extra string in C land, which only *slightly*
breaks position independence.

Part of P0263, funded by [Anonymous].
2023-11-30 20:25:50 +01:00