Commit Graph

18 Commits

Author SHA1 Message Date
nmlgc ab7dbf0462 [Decompilation] [th01] OP.EXE: Move the final pieces of data to C land
100%.

Part of P0216, funded by JonathKane.
2022-08-16 01:54:03 +02:00
nmlgc 201722d25a [Maintenance] [th01] Finally add a BGM mode type
And name the FM state in a way that already prepares modded PMD
support. That's the number 1 TH01 mod idea, after all.

Part of P0216, funded by JonathKane.
2022-08-16 01:42:29 +02:00
nmlgc c4302b4ab7 [Maintenance] [th01] #include common.h from the resident structure header
Part of P0216, funded by JonathKane.
2022-08-16 01:41:14 +02:00
nmlgc 6a3c1e0f8d [Maintenance] [th01] REIIDEN.EXE: Fix the last remaining type mismatches
Part of P0215, funded by Ember2528 and Yanga.
2022-08-14 23:27:32 +02:00
nmlgc 191a3497d8 [Decompilation] [th01] Pause menu
Part of P0214, funded by Ember2528.
2022-08-14 23:21:16 +02:00
nmlgc c26f885502 [Naming] [th01] Fix stage ID vs. stage number confusion
Part of P0214, funded by Ember2528.
2022-08-14 23:16:40 +02:00
nmlgc 96e18b33be [Decompilation] [th01] FUUIN.EXE: main()
The final secret of this executable: With a loaded MDRV2, enter

	fuuin t1

on the DOS prompt to view the 魔界/Makai Good Ending, or

	fuuin t

for the 地獄/Jigoku Good Ending.

(Bad Endings can only be accessed by pre-allocating the TH01 resident
structure and setting one of the `continues_per_scene` array members to
a nonzero value.)

Part of P0213, funded by Ember2528 and GhostRiderCog.
2022-08-11 23:21:23 +02:00
nmlgc 738964a451 [Decompilation] [th01] Random resident structure stuff: Move all data to C land
Part of P0213, funded by Ember2528 and GhostRiderCog.
2022-08-11 23:21:23 +02:00
nmlgc 156c2455e7 [Decompilation] [th01] TOTLE screen: Main function
Where we learn that "MIKOsan" is just a fancy term for the current
lives and bombs. Same as "Bomb&Player", just with higher
multipliers.
Also, continuing the trend of ugly numeral rendering code.

Part of P0213, funded by Ember2528 and GhostRiderCog.
2022-08-11 23:21:02 +02:00
nmlgc 2863a69836 [Decompilation] [th01] Verdict screen: Main function
Part of P0197, funded by Yanga and Ember2528.
2022-06-01 02:27:52 +02:00
nmlgc efff8d61bb [Maintenance] Change line endings in old C/C++ files to LF
Yup, even a DOS compiler from 1994 considered CRLF line endings as
stupid.

Part of P0172, funded by [Anonymous] and Blue Bolt.
2021-12-27 01:06:32 +01:00
nmlgc be29850887 [Maintenance] [th01] Rename the resident debug flags
MODE_REGULAR is an awfully generic name for a global constant.

Part of P0162, funded by Ember2528.
2021-10-20 00:06:16 +02:00
nmlgc b6e07e301a [Decompilation] [th01] HUD: Background snapping and initial rendering
Part of P0160, funded by Yanga.
2021-10-09 23:23:46 +02:00
nmlgc c1ae914b99 [Decompilation] [th01] Stage timer: Initial values
Hardcoded for every one of the 35 stages.

Part of P0160, funded by Yanga.
2021-10-09 23:20:04 +02:00
nmlgc ea0997ab38 [Decompilation] [th01] Pellet speed modification
Category: Function comment spells out entire function code because its
effects are impossible to summarize

Part of P0160, funded by Yanga.
2021-10-09 23:20:02 +02:00
nmlgc 6160a9c93f [Decompilation] [th01] Point items: Collision handling
Part of P0159, funded by Yanga.
2021-09-28 18:05:25 +02:00
nmlgc 9f9d27554b [Decompilation] [th01] Stage objects: STAGE?.DAT loading
Final set of file loading calls in TH01!

Part of P0129, funded by Yanga.
2020-12-01 00:34:20 +01:00
nmlgc 9c36df72e5 [Maintenance] [th01] Get rid of th01.h
Part of P0126, funded by [Anonymous] and Blue Bolt.
2020-11-15 21:27:41 +01:00