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 7c0f05f735 [Maintenance] Hidden #include dependency removal: Rank
Part of P0284, funded by [Anonymous] and Blue Bolt.
2024-07-09 08:42:13 +02:00
nmlgc 6629d7cb8a [Maintenance] [th04/th05] Turn the SFT2.CDG sanity check into a `static_assert`
Borland's C preprocessor does not track enum values, so this check
always failed when running the code through just `CPP.EXE`.

Part of P0284, funded by [Anonymous] and Blue Bolt.
2024-07-09 08:40:39 +02:00
nmlgc 49c1cda526 [Decompilation] [th05] OP.EXE: .CDG loading and freeing
It's absolutely not worth decompiling the TH04 counterpart right now.

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