This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
ReC98
mirror of
https://github.com/nmlgc/ReC98.git
Watch
1
Star
1
Fork
You've already forked ReC98
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
th01_end_pic_optimize
ReC98
/
th04
/
op_main.cpp
4 lines
86 B
C++
Raw
Permalink
Normal View
History
Unescape
Escape
[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-25 15:46:57 +00:00
#
pragma option -zPop_01
#
include
"th04/formats/cfg.cpp"
[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-25 14:34:08 +00:00
#
include
"th04/op/m_main.cpp"