nmlgc
ff42470c8d
[Maintenance] [th01] REIIDEN.EXE: Merge the first two translation units
...
Yup, code generation details force us to merge these as soon as we can.
Part of P0214, funded by Ember2528.
2022-08-14 23:20:11 +02:00
nmlgc
d4140adb6e
[Decompilation] [th01] REIIDEN.EXE: Move already referenced literals to C land
...
Part of P0214, funded by Ember2528.
2022-08-14 23:17:46 +02:00
nmlgc
8877c66b24
[Maintenance] [th01] Add functions for blitting default player and Orb sprites
...
Part of P0214, funded by Ember2528.
2022-08-14 23:05:08 +02:00
nmlgc
3f8c0f4685
[Maintenance] [th01] Rename the `test_*()` functions to `debug_*()`
...
Conceptually, we can lump both "test" and "debug" modes under a single
"debug" umbrella.
Part of P0214, funded by Ember2528.
2022-08-14 23:04:21 +02:00
nmlgc
cf95cc8717
[Maintenance] [th01] Remove `extern "C"` from all remaining areas of code
...
Nothing says "we're getting things done" quite as much as this.
Part of P0214, funded by Ember2528.
2022-08-14 23:03:15 +02:00
nmlgc
36930a2604
[Decompilation] REYHI*.DAT: Loading only the high score
...
Still finding more obscure Turbo C++ code generation details.
Part of P0213, funded by Ember2528 and GhostRiderCog.
2022-08-11 23:21:22 +02:00
nmlgc
60a7e44b53
[Maintenance] Introduce proper Shift-JIS and JIS X 0208 types
...
Much more semantic than that twobyte_t abomination.
Part of P0212, funded by GhostRiderCog, Lmocinemod, and LeyDud.
2022-08-11 15:53:13 +02:00
nmlgc
e4124ca004
[Maintenance] [th01] Move REYHI*.DAT declarations to the formats/ subdirectory
...
Part of P0212, funded by GhostRiderCog, Lmocinemod, and LeyDud.
2022-08-11 15:52:41 +02:00
nmlgc
3e79deeb3a
[Contributing] Define function brace placement rules
...
I've been following them pretty consistently for a while now, time to
finally write them down.
Part of P0204, funded by [Anonymous] and Yanga.
2022-07-10 13:45:18 +02:00
nmlgc
39da5da2ea
[Decompilation] [th01] Bomb animation
...
And that's 50% of all PC-98 Touhou game code RE'd! 🎉
Also, 70 functions remaining in TH01.
Part of P0204, funded by [Anonymous] and Yanga.
2022-07-10 13:36:35 +02:00
nmlgc
001033d15a
[Maintenance] [th01] Remove `extern "C"` from more areas of code
...
The .GRC and .GRP functions, to be specific.
Part of P0203, funded by [Anonymous] and GhostRiderCog.
2022-07-10 13:09:12 +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
7bdf35a22b
[Maintenance] [th01] Remove `extern "C"` from more areas of code
...
The .BOS freeing funtions, others that are close to them in the typical
#include order, and the ending picture functions.
Part of P0198, funded by Lmocinemod and Ember2528.
2022-06-16 22:51:07 +02:00
nmlgc
b4033b5fe4
[Research] [th01] Document potential HP bar heap corruption in debug mode
...
Turns out that Konngara is also affected.
Part of P0197, funded by Yanga and Ember2528.
2022-05-31 23:29:26 +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
6058395372
[Maintenance] Change the inline assembly keyword to `_asm`
...
The single underscore version is actually slightly more supported among
the compilers I've seen so far. Also added the exact list now.
Part of P0183, funded by Yanga and [Anonymous].
2022-02-18 09:36:34 +01:00
nmlgc
61091c31cc
[Decompilation] [th01] Stage opening animation
...
Macro-free, compile-time conversion from Shift-JIS to JIS is entirely
possible in this 1994 C++ compiler, even when using an inlined
function! Awesome.
Really though, how often can you needlessly re-blit the same thing?
Part of P0167, funded by Ember2528.
2021-11-07 23:29:37 +01:00
nmlgc
6e7ab07659
[Decompilation] [th01] Loading and initializing common data used in all stages
...
Stupid one-off functions deserve stupid names, Part 2. If it only
loaded sprites, I might have given it a somewhat better name.
Part of P0167, funded by Ember2528.
2021-11-07 23:22:10 +01:00
nmlgc
c4a0eb6aff
[Maintenance] [th01] Change the left/right input flags to an enum
...
The big player control function uses a separate variable of this type.
Part of P0162, funded by Ember2528.
2021-10-20 00:06:16 +02:00
nmlgc
2f9304781f
[Maintenance] [th01] Split segment #1 before the pellet speed modification code
...
There might only be three functions between the second and new third
split, but these seem to depend on the entire rest of the code for
card-flipping stages…
Part of P0160, funded by Yanga.
2021-10-08 18:39:04 +02:00