ReC98/th02
nmlgc ba29539fc7 [Maintenance] Declare a distinct type for VRAM offsets
… and this one, while I'm at it. I've been using pretty much every
possible type for VRAM offset variables, depending on my mood that day,
since signedness apparently never matters for those.
Except that it does. And so, just like with most of our high-level
types, we also have to account for ZUN's little signedness
inconsistencies here. Oh well, at least it's now only one of two types,
and there's no need to choose between `int` or `unsigned int` or
`short` or `unsigned short` or `int16_t` or `uint16_t` or `size_t` or…

Part of P0111, funded by [Anonymous] and Blue Bolt.
2020-08-28 14:53:33 +02:00
..
formats [Maintenance] Declare distinct types for pixel and VRAM sizes 2020-08-28 14:53:33 +02:00
gaiji [Position independence] [th02/th03/th04/th05] References to known gaiji 2020-08-19 20:12:02 +02:00
hardware [Maintenance] Declare distinct types for pixel and VRAM sizes 2020-08-28 14:53:33 +02:00
main [Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates 2020-08-28 14:53:30 +02:00
math [Decompilation] [th05] Bosses: Smooth random movement 2020-08-16 21:41:34 +02:00
music [Maintenance] Compile all VRAM-accessing translation units as C++ 2020-08-12 16:16:09 +02:00
snd [Maintenance] Compile all VRAM-accessing translation units as C++ 2020-08-12 16:16:09 +02:00
sprites [Build] Convert all known hardcoded sprites during the 32-bit build part 2020-07-09 22:28:15 +02:00
strings [Position independence] master.lib graph_* function calls 2019-12-29 21:15:38 +01:00
exit.asm [Reduction] [th03/th04/th05] game_exit 2019-11-24 12:45:17 +01:00
exit.c [Reduction] [th03/th04/th05] game_exit 2019-11-24 12:45:17 +01:00
exit_dos.asm [Reduction] [th03/th04/th05] game_exit_to_dos 2019-11-24 12:45:25 +01:00
exit_dos.c [C decompilation] [th02] Code segment #2 of all three executables 2015-03-14 23:25:50 +01:00
initexit.h [Reduction] [th03/th04/th05] game_init_main 2019-11-24 14:14:13 +01:00
initmain.asm [Reduction] [th03/th04/th05] game_init_main 2019-11-24 14:14:13 +01:00
initmain.c [Maintenance] Move DOS memory assignment sizes to separate files 2019-11-24 14:04:36 +01:00
initop.asm [Reduction] [th03/th04/th05] game_init_op 2019-11-24 14:04:36 +01:00
initop.c [Reduction] [th03/th04/th05] game_init_op 2019-11-24 14:04:36 +01:00
main02_1.cpp [Maintenance] Fix vector creation function declarations and calls 2020-07-12 15:22:50 +02:00
main02_2.c [Maintenance] Move TH02's sound functions to a separate header 2020-02-23 16:51:45 +01:00
main_03.cpp [Maintenance] Move all features exclusive to MAIN.EXE to a main/ subdirectory 2020-04-15 20:58:01 +02:00
maine021.cpp [Maintenance] Use inline functions for all VRAM offset calculations 2020-08-12 16:16:18 +02:00
maine022.c [Maintenance] Move TH02's sound functions to a separate header 2020-02-23 16:51:45 +01:00
maine_03.c [Maintenance] Consistently use forward slashes in #include paths 2020-04-15 21:34:32 +02:00
maine_04.c [Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates 2020-08-28 14:53:30 +02:00
maine_05.cpp [Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates 2020-08-28 14:53:30 +02:00
mem.h [Naming] [th02/th04/th05] Demo loading and playback 2019-11-24 14:14:13 +01:00
mem.inc [Naming] [th02/th04/th05] Demo loading and playback 2019-11-24 14:14:13 +01:00
op_01.c [Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates 2020-08-28 14:53:30 +02:00
op_02_1.cpp [Maintenance] Declare a distinct type for VRAM offsets 2020-08-28 14:53:33 +02:00
op_02_2.c [Maintenance] Move TH02's sound functions to a separate header 2020-02-23 16:51:45 +01:00
op_03.c [Maintenance] Consistently use forward slashes in #include paths 2020-04-15 21:34:32 +02:00
op_04.c [Maintenance] Declare distinct types for screen, VRAM, and TRAM coordinates 2020-08-28 14:53:30 +02:00
op_05.cpp [Maintenance] Declare a distinct type for VRAM offsets 2020-08-28 14:53:33 +02:00
op_06.cpp [Maintenance] Declare a distinct type for VRAM offsets 2020-08-28 14:53:33 +02:00
res_init.c [Decompilation] [th05] RES_KSO.COM 2020-02-23 17:53:17 +01:00
score.c [Maintenance] Improve score data file-related type and function names 2019-12-28 12:14:02 +01:00
score.h [Reverse-engineering] [th04/th05] GENSOU.SCR structure 2019-12-28 12:18:43 +01:00
score.inc [Maintenance] Move a few more ASM definitions to their own .inc files 2019-09-21 13:05:54 +02:00
scoreenc.c [Maintenance] Improve score data file-related type and function names 2019-12-28 12:14:02 +01:00
scorelod.c [Maintenance] Improve score data file-related type and function names 2019-12-28 12:14:02 +01:00
th02.h [Maintenance] Declare distinct types for pixel and VRAM sizes 2020-08-28 14:53:33 +02:00
th02.inc [Position independence] [th02/th03/th04/th05] References to known gaiji 2020-08-19 20:12:02 +02:00
zun_res1.c [Build] Don't word-align everything by default 2020-04-03 17:35:57 +02:00
zun_res2.c [Maintenance] Decide on __asm as the keyword for inline assembly 2020-06-21 22:18:00 +02:00
zun_res3.c [Maintenance] Decide on __asm as the keyword for inline assembly 2020-06-21 22:18:00 +02:00
zunerror.c [Maintenance] Decide on __asm as the keyword for inline assembly 2020-06-21 22:18:00 +02:00