ReC98/th04/main
nmlgc 110d0534ed [Maintenance] Move `extern "C"` into the headers it applies to
The translation units were probably a better place back when most of
the codebase was still compiled in C mode, we only had a few C++ TUs,
almost everything needed to be declared as `extern "C"`, and moving
these declarations into the headers would have been really noisy with
all the `#ifdef __cplusplus` / `#endif` required. Nowadays though,
we've greatly reduced that surface area. And given that headers will
include even more headers as part of the upcoming `#include` cleanup,
it makes sense to make the jump now.

Part of P0284, funded by [Anonymous] and Blue Bolt.
2024-07-09 08:40:49 +02:00
..
boss [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
bullet [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
dialog [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
enemy [Maintenance] Review any redundancies and label them as ZUN bloat 2022-08-16 01:43:14 +02:00
hud [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
item [Decompilation] [th02] Items: Spawning the 5 items when losing a life 2023-06-07 17:00:35 +02:00
midboss [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
player [Maintenance] Remove `extern "C"` from more areas of code 2024-07-09 08:40:43 +02:00
pointnum [Maintenance] Fix another bunch of accumulated typos and dead code 2023-04-28 22:21:21 +02:00
stage [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
tile [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
bg.hpp [Decompilation] [th04/th05] Bosses: Defeat sequence 2022-03-27 01:35:37 +01:00
bullets_gather_inv.asm [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
checkerb.cpp [Decompilation] [th04] Scrolling checkerboard background 2023-05-30 01:25:20 +02:00
checkerb.hpp [Decompilation] [th04] Scrolling checkerboard background 2023-05-30 01:25:20 +02:00
circle.asm [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
circle.cpp [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
circle.hpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
circles[bss].asm
circles_color[bss].asm
custom.hpp [Reverse-engineering] [th04] Custom entities: Structure 2023-05-30 01:26:02 +02:00
custom[bss].asm [Maintenance] [th04/th05] Custom entities: Move declarations to TH04 2023-05-25 15:11:50 +02:00
demo.cpp [Maintenance] [th05] #include `common.h` directly inside `resident.hpp` 2023-11-30 19:55:18 +01:00
demo.hpp [Decompilation] [th04/th05] Dialog: Blocking main function 2023-11-01 23:17:51 +01:00
demo[data].asm [Maintenance] [th04/th05] Demo Play: Move OP return code into the header 2023-10-31 22:33:19 +01:00
drawp.hpp
drawpoint[bss].asm
ems.cpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
ems.hpp [Maintenance] Add a `nullptr` polyfill to platform.h 2022-07-10 13:02:51 +02:00
ems[bss].asm
end.hpp [Decompilation] [th04/th05] Bosses: Defeat sequence 2022-03-27 01:35:37 +01:00
frames.h
frames[bss].asm [Decompilation] [th04/th05] Turbo/Slow Mode slowdown 2021-07-31 20:19:33 +02:00
frames[data].asm
gather.cpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
gather.hpp [Decompilation] [th04/th05] Gather circles: Spawn functions 2023-07-01 05:22:23 +02:00
gather.inc [Decompilation] [th04/th05] Gather circles: Update function 2022-04-16 23:53:47 +02:00
gather[bss].asm [Maintenance] [th04/th05] Move ASM land gather declarations to their own file 2021-07-31 20:19:33 +02:00
gather_point_render.asm [Maintenance] [th02/th04/th05] Remove `extern "C"` from more areas of code 2023-01-16 10:16:12 +01:00
homing.hpp
homing_target[bss].asm
null.asm
null.hpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
pattern.hpp [Decompilation] [th05] Shinki: Pattern 6/11 2022-05-01 00:22:02 +02:00
pause.asm [Maintenance] Remove `extern "C"` from more areas of code 2024-04-11 23:17:45 +02:00
pause.h
pause[data].asm
phase.hpp [Decompilation] [th05] Stage 1 midboss: Main function 2022-05-01 00:22:03 +02:00
phase.inc [Naming] [th04/th05] Bosses: HP fill and .BB tile animation phase constants 2022-04-16 23:53:47 +02:00
play[bss].asm
playfld.cpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
playfld.hpp [Reverse-engineering] [th04/th05] Bosses: Clarify background rendering details 2022-04-16 23:53:47 +02:00
playfld[bss].asm [Decompilation] [th04/th05] Playfield shaking 2022-03-05 17:50:33 +01:00
playfld[data].asm [Decompilation] [th04/th05] Playfield shaking 2022-03-05 17:50:33 +01:00
playperf.asm
playperf.hpp
quit.hpp [Reverse-engineering] [th04/th05] Game quit flag 2022-03-27 00:39:04 +01:00
quit[bss].asm [Reverse-engineering] [th04/th05] Game quit flag 2022-03-27 00:39:04 +01:00
rank.hpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
score.hpp [Maintenance] Remove `extern "C"` from more areas of code 2024-07-09 08:40:43 +02:00
score[bss].asm [Maintenance] [th03/th04/th05] Drop the `_lebcd` suffix from score variables 2022-03-27 01:29:03 +01:00
scoreupd.asm [Maintenance] Remove `extern "C"` from more areas of code 2024-07-09 08:40:43 +02:00
scoreupd[data].asm [Build] [th05] Use a separate translation unit for `scoreupd.asm` 2024-06-30 05:53:13 +02:00
scroll.hpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
scroll_y_1.asm
scrolly3.cpp [Maintenance] Move `extern "C"` into the headers it applies to 2024-07-09 08:40:49 +02:00
select_for_rank.asm
slowdown.cpp [Maintenance] Remove `extern "C"` from more areas of code 2024-07-09 08:40:43 +02:00
slowdown.hpp [Decompilation] [th04/th05] Turbo/Slow Mode slowdown 2021-07-31 20:19:33 +02:00
slowdown[bss].asm [Decompilation] [th04/th05] Turbo/Slow Mode slowdown 2021-07-31 20:19:33 +02:00
spark.hpp [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
spark.inc [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
spark_a.asm [Maintenance] Random number ring buffer: Remove `extern "C"` 2023-06-06 21:07:08 +02:00
spark_render.asm [Maintenance] Fix another bunch of accumulated typos and dead code 2023-04-28 22:21:21 +02:00
sparks.asm [Maintenance] Introduce a generic entity flag enum 2023-03-29 12:36:55 +02:00
sparks[bss].asm [Separate translation units] [th04/th05] Spark sprite spawning (undecompilable) 2022-05-01 00:22:04 +02:00
sparks_add[bss].asm [Separate translation units] [th04/th05] Spark sprite spawning (undecompilable) 2022-05-01 00:22:04 +02:00