ReC98/th04
nmlgc 944a66cf77 [Maintenance] [th04/th05] Bosses: Single-file, multi-segment code structure
As implied in adffa1c, a single segment-switching translation unit for
both rendering functions and game logic is the most straightforward
solution for those two games. Especially once you look at TH04, and
realize that the wildly chaotic order of the *_fg_render() functions in
the first code segment exactly matches the order of the *_update()
functions in the third.

Part of P0225, funded by Enderwolf, Blue Bolt, 32th System, and Yanga.
2022-11-30 22:46:22 +01:00
..
end [Maintenance] [th03/th04/th05] Cutscenes: Move into a separate subdirectory 2022-11-30 17:02:34 +01:00
formats [Maintenance] master.hpp: Pass element counts to the hmem_allocbyte() wrapper 2022-11-30 16:59:09 +01:00
gaiji [Decompilation] [th03/th04/th05] Cutscenes: Main script parsing loop 2022-11-30 22:46:22 +01:00
hardware [Reverse-engineering] graph_putsa_fx(): Weight function cutoffs and glitches 2022-11-30 22:46:22 +01:00
hiscore
main [Maintenance] [th04/th05] Bosses: Single-file, multi-segment code structure 2022-11-30 22:46:22 +01:00
math [Separate translation units] [th04/th05] vector2_near (undecompilable) 2022-05-01 00:22:04 +02:00
op [Maintenance] Move the contents of `music/` subdirectories under `op/` 2022-03-25 14:10:59 +01:00
shiftjis [Maintenance] Introduce proper Shift-JIS and JIS X 0208 types 2022-08-11 15:53:13 +02:00
snd [Maintenance] master.hpp: Centrally define packfile filename length 2022-11-30 16:58:30 +01:00
sprites [Decompilation] [th04/th05] Bosses: Defeat sequence 2022-03-27 01:35:37 +01:00
bgimage.cpp
bgimager.asm
boss.cpp [Decompilation] [th04/th05] Bosses: Defeat sequence 2022-03-27 01:35:37 +01:00
boss_4m.cpp [Decompilation] [th04] Stage 4 Marisa: Point-reflected movement 2022-04-17 00:00:35 +02:00
boss_4r.cpp [Reverse-engineering] [th04] Stage 4 Reimu: Data segment variables 2022-03-27 00:48:06 +01:00
boss_bd.cpp [Decompilation] [th04/th05] Bosses: Backdrop rendering 2022-05-01 00:22:03 +02:00
boss_x2.cpp [Reverse-engineering] [th04] Gengetsu: Wave teleport amplitude 2022-03-27 00:43:03 +01:00
bullet_a.cpp [Maintenance] [th04/th05] Bullets: Move pellet rendering to its own header 2022-04-30 14:37:46 +02:00
bullet_u.cpp [Maintenance] [th04/th05] Move bullet code into dedicated segments 2022-03-05 15:31:50 +01:00
cdg_load.asm
cdg_p_na.cpp
cdg_p_nc.asm
cdg_p_pl.asm [Separate translation units] [th04] cdg_put_plane() (undecompilable) 2021-05-11 18:48:00 +02:00
cdg_p_pr.asm
cdg_put.asm
cfg_lres.cpp [Decompilation] [th03/th04/th05] cfg_load_resident_ptr() 2021-07-21 00:34:59 +02:00
chars.inc
common.h
cutscene.cpp [Decompilation] [th03/th04/th05] Cutscenes: Script loading and freeing 2022-11-30 19:08:28 +01:00
demo.cpp [Decompilation] [th04/th05] Demo Play: Reading the replay file 2022-05-01 00:22:04 +02:00
dialog.cpp [Decompilation] [th04] EMS / Dialog: Loading the remaining images 2021-11-29 02:01:10 +01:00
egcrect.cpp
ems.cpp [Decompilation] [th04/th05] EMS: Allocation + Preloading the eyecatch image 2021-11-29 01:53:43 +01:00
exit.c
f_dialog.cpp [Decompilation] [th04/th05] Dialog: Script loading functions 2022-03-27 00:39:04 +01:00
frmdely2.c
gather.cpp [Decompilation] [th04/th05] Gather circle rendering 2021-07-21 00:35:02 +02:00
grcg_3.cpp [Decompilation] [th04/th05] GRCG mode/color setting functions in segment #3 2022-05-01 00:22:03 +02:00
hud_hp.cpp [Decompilation] [th04/th05] HUD: High-level HP bar rendering 2022-05-01 00:22:03 +02:00
hud_ovrl.cpp [Maintenance] [th04/th05] Text popups: Move to a new "text overlay" module 2022-03-27 00:33:51 +01:00
initmain.cpp
initop.cpp
input_s.asm
input_w.cpp
it_spl_u.cpp [Decompilation] [th04/th05] Items: Splash circle spawn/update functions 2022-03-05 15:31:50 +01:00
m_char.cpp [Maintenance] [th02/th03/th04/th05] Define a constant for a white VRAM color 2022-11-30 17:00:42 +01:00
mb_dft.cpp [Decompilation] [th04/th05] Midbosses: Defeat animation update function 2022-03-05 17:50:33 +01:00
mb_inv.cpp [Decompilation] [th04/th05] Midbosses: Sprite area invalidation 2022-05-01 00:22:03 +02:00
mem.h [Reverse-engineering] [th04/th05] EMS: Cache area layout 2021-11-29 01:53:13 +01:00
mem.inc [Decompilation] [th04/th05] EMS: Allocation + Preloading the eyecatch image 2021-11-29 01:53:43 +01:00
mem[bss].asm
midboss.cpp [Decompilation] [th04/th05] Midbosses: Activation and reset functions 2022-05-01 00:22:03 +02:00
motion_3.asm [Separate translation units] [th04/th05] motion_update_seg3() (undecompilable) 2021-07-21 00:35:02 +02:00
mpn_free.cpp
mpn_l_i.cpp
playchar.h [Maintenance] [th03/th04/th05] Rename `playchars_t` to `playchar_t` 2021-12-27 00:52:20 +01:00
player_p.cpp [Decompilation] [th04/th05] Player position clamping 2021-07-21 00:35:03 +02:00
playfld.cpp [Decompilation] [th04/th05] Playfield shaking 2022-03-05 17:50:33 +01:00
res_huma.cpp [Maintenance] Declare the optimization_barrier() a single time 2022-07-10 13:45:18 +02:00
resident.hpp [Maintenance] Review any redundancies and label them as ZUN bloat 2022-08-16 01:43:14 +02:00
score.h [Decompilation] [th04/th05] Bosses: Defeat sequence 2022-03-27 01:35:37 +01:00
score[data].asm
scoreupd.asm [Decompilation] [th01] Stage bonus: Main function 2022-08-11 23:18:29 +02:00
scoreupd[data].asm
scrolly3.cpp [Decompilation] [th04/th05] Applying VRAM scrolling to Y coordinates (segment 3) 2021-07-21 00:35:02 +02:00
setup.asm [Maintenance] [th02/th03/th04/th05] Define a constant for a white VRAM color 2022-11-30 17:00:42 +01:00
setup.cpp
setup[bss].asm
setup[data].asm
shared.inc [Maintenance] [th04/th05] Text popups: Move to a new "text overlay" module 2022-03-27 00:33:51 +01:00
slowdown.cpp [Decompilation] [th04/th05] Turbo/Slow Mode slowdown 2021-07-31 20:19:33 +02:00
snd_dlym.cpp
snd_kaja.cpp
snd_load.cpp [Decompilation] [th04] snd_load() 2021-05-12 14:31:03 +02:00
snd_mmdr.c
snd_mode.cpp [Decompilation] [th04/th05] snd_determine_modes() 2021-05-11 18:47:59 +02:00
snd_pmdr.c
snd_se.cpp
snd_se_r.cpp
spark_a.asm [Separate translation units] [th04/th05] Spark sprite spawning (undecompilable) 2022-05-01 00:22:04 +02:00
th04.inc [Maintenance] [th02/th03/th04/th05] Define a constant for a white VRAM color 2022-11-30 17:00:42 +01:00
vector.cpp
vector2n.asm [Separate translation units] [th04/th05] vector2_near (undecompilable) 2022-05-01 00:22:04 +02:00
zunsoft.asm
zunsoft.h
zunsoft[bss].asm
zunsoft[data].asm