Commit Graph

7 Commits

Author SHA1 Message Date
nmlgc 6f2881f056 [Maintenance] Remove `extern "C"` from more areas of code
The .PTN functions, vector functions, and egc_copy_rect_1_to_0_1()
(finally!) from TH01, as well as playfld.hpp from all games(finally!),
together with a bunch of other functions in their vicinity.

Part of P0201, funded by Ember2528 and Yanga.
2022-06-24 23:28:19 +02:00
nmlgc 00d4b4ab30 [Maintenance] Define a VRAM byte mask constant
Less visual noise.

Part of P0198, funded by Lmocinemod and Ember2528.
2022-06-16 22:50:43 +02:00
nmlgc 27c7ffaaa3 [Maintenance] [th01] Fix the type of CShootoutLaser::spawn()'s `col` parameter
Similarly to cb6367a, you also can't tell from a function's ASM whether
a parameter that's assigned to an 8-bit destination is actually an 8-bit
parameter, or a narrowed 16-bit parameter. That can really only be
gleaned from looking at all call sites…

Part of P0155, funded by Ember2528.
2021-08-22 18:50:20 +02:00
nmlgc 0ce869c30a [Maintenance] Complete the master.hpp transition
Part of P0133, funded by [Anonymous].
2021-01-30 19:22:29 +01:00
nmlgc 60c1031d31 [Decompilation] [th01] Shootout lasers: Update/collision/render function
A public interface of two functions… nice.

Part of P0122, funded by Yanga.
2020-10-06 18:35:27 +02:00
nmlgc 243dbf8d0d [Decompilation] [th01] Shootout lasers: Rendering and collision detection
Part of P0122, funded by Yanga.
2020-10-06 18:35:24 +02:00
nmlgc 61559859e3 [Decompilation] [th01] Shootout lasers: Spawn function
Part of P0122, funded by Yanga.
2020-10-06 14:16:40 +02:00