Commit Graph

4 Commits

Author SHA1 Message Date
nmlgc aeb7fb48aa [Decompilation] [th01] Elis: Sprite loading
In which all the declarations expand the C++ code to take up more lines
than the previous compressed ASM representation.

Part of P0166, funded by Ember2528.
2021-11-07 23:14:13 +01:00
nmlgc aaa0ebec92 [Decompilation] [th01] Missiles: Reset function
Due to mixed float/double arithmetic in both of the two remaining
functions, this is all missile code we can meaningfully decompile
right now.

Part of P0165, funded by Ember2528.
2021-11-07 22:54:12 +01:00
nmlgc b4a64324fe [Decompilation] [th01] Missiles: Unput/update/render function
And that's why these feel so awful in-game: Interlaced rendering, and
an unfair 46×46 hitbox around Reimu's center point.

Part of P0165, funded by Ember2528.
2021-11-07 22:52:43 +01:00
nmlgc bce77062c9 [Reverse-engineering] [th01] Missiles: Structure
Another 150 bytes wasted on unused structure members… and if you
already use a SoA layout, you could have also squeezed the flags into 2
bits per entity rather than 8, which would have saved another 37 bytes.

Part of P0165, funded by Ember2528.
2021-11-07 22:51:24 +01:00