Commit Graph

11 Commits

Author SHA1 Message Date
nmlgc 61cd04c103 [Maintenance] [th02] Score: Define a single type for score values
No unsigned score values in this game. Yet…

Part of P0278, funded by Yanga.
2024-04-12 00:29:09 +02:00
nmlgc 26926080bc [Maintenance] Remove `extern "C"` from more areas of code
This commit covers
• TH02/TH03/TH04/TH05's frame_delay() and frame_delay_2() (finally!)
• TH02/TH03/TH04/TH05's game_init_main()
• TH02's graph_copy_rect_1_to_0_16()
• TH03/TH04/TH05's cfg_load_resident_ptr()
• TH05's piano_setup_and_put_initial() and piano_render()

Part of P0264, funded by [Anonymous] and Blue Bolt.
2024-02-02 23:59:34 +01:00
nmlgc 0ab7359c88 [Decompilation] [th02] Text overlay: Stage transitions
That #pragma proves this to have been a separate translation unit… but
it at least sort of fits into `hud.cpp`. Could have gone either way.

Part of P0245, funded by [Anonymous], Blue Bolt, Ember2528, and Yanga.
2023-07-01 05:22:22 +02:00
nmlgc dfa758da89 [Decompilation] [th02] Gaiji loading and freeing
Completes P0242, funded by Yanga.
2023-06-07 15:34:37 +02:00
nmlgc fefeb1859d [Decompilation] [th02] HUD: Full rendering
Part of P0242, funded by Yanga.
2023-06-07 01:32:45 +02:00
nmlgc b38db78441 [Decompilation] [th02] HUD: Score rendering
Part of P0242, funded by Yanga.
2023-06-07 01:18:32 +02:00
nmlgc 6763b44dd0 [Decompilation] [th02] Score: Turning the current delta into a bonus
By leaving out just the one `score_delta = 0;` assignment, ZUN created
a function with semantics so complex that it already required naming
all other score-related functions just to make sense of it.

Part of P0242, funded by Yanga.
2023-06-07 00:40:27 +02:00
nmlgc 7e64c1cc06 [Decompilation] [th02] HUD: Life and bomb display
Part of P0242, funded by Yanga.
2023-06-06 21:38:27 +02:00
nmlgc 0d28c116c0 [Decompilation] [th02] HUD: Power bar rendering
Which also commits power changes to the shot level…

Part of P0242, funded by Yanga.
2023-06-06 21:37:07 +02:00
nmlgc 7bd0ac3f17 [Reverse-engineering] [th02] Score deltas
Part of P0242, funded by Yanga.
2023-06-06 21:20:57 +02:00
nmlgc 71c010855d [Maintenance] [th02/th04/th05] Properly declare shot power-related variables
Part of P0237, funded by Yanga.
2023-03-29 18:03:05 +02:00