Commit Graph

2 Commits

Author SHA1 Message Date
nmlgc dfb48561d6 [Maintenance] [th04] Move MIKO.CFG code into the main menu translation unit
Wait, *what*, the alignment issues even stretch up to those functions?
And since TH05's version of the MIKO.CFG code lies much further down,
we now end up with this horrible #include placement asymmetry between
the two games. At least we now don't need a cross-TU workaround for
TH04's "MIKO.CFG" string either.

Part of P0262, funded by [Anonymous] and Blue Bolt.
2023-11-30 19:30:17 +01:00
nmlgc 86f1f44522 [Maintenance] [th04/th05] #include game start code from a shared source file
Once again, word alignment of a `switch` jump table forces us to put
both the game start and main menu code into the same translation unit,
despite the former being fundamentally different between the two games.
Oh well, this also avoids the need for a cross-TU workaround for the
"main" and "deb" binary filename strings.

Part of P0262, funded by [Anonymous] and Blue Bolt.
2023-11-30 19:22:42 +01:00