Commit Graph

7 Commits

Author SHA1 Message Date
nmlgc fa46d71f2e [Decompilation] [th01] Merge segment 32 into a single translation unit
Part of P0206, funded by Yanga and [Anonymous].
2022-07-17 20:46:02 +02:00
nmlgc 4568bf7383 [Decompilation] [th01] Particles / HUD HP / Missiles: Move data to C land
…including those.

Completes P0202, funded by [Anonymous] and Yanga.
2022-06-25 18:21:09 +02:00
nmlgc 988cf64bf3 [Decompilation] [th01] Missiles: Spawn function + Sprite selection by angle
The latter being the dumbest, most decadent piece of FPU abuse in this
game. But it works 🤷

Part of P0202, funded by [Anonymous] and Yanga.
2022-06-25 18:21:08 +02:00
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 a2358bef47 [Maintenance] Remove `extern "C"` from `x86real.h` and `decomp.hpp`
One of those per delivery now, eh?

Part of P0189, funded by Arandui and Lmocinemod.
2022-04-16 23:53:46 +02:00
nmlgc e39e5cd73e [Decompilation] [th01] Bombs: Damage condition
Frame 100 in the overall animation, frame 40 during the damaging part.

Part of P0165, funded by Ember2528.
2021-11-07 22:42:41 +01:00
nmlgc 42ba4a5725 [Decompilation] [th01] Particle system
Only seen in Mima's fight, but initialized for all non-final boss
fights. Also with explicit support for all 8 origin edges, not just the
top-right one used in Mima's fight… and an off-by-one error?!

Completes P0160, funded by Yanga.
2021-10-09 23:25:59 +02:00