ReC98/th04
nmlgc 0e19e52572 [Maintenance] Templatize RGB and palette types for 4- and 8-bit components
Right, PC-98 hardware only supports 4 bits per RGB component, for a
total of 4,096 possible colors. The 8-bit RGB color values we've been
seeing throughout the later games are a master.lib extension, to allow
for more toning precision. Which TH01, with all its NIH syndrome,
doesn't use.

And yup, that means templates in the most basic header files… Since
that would have meant renaming *everything* to compile as C++, I simply
made these types exclusive to C++ code, thcrap style.

Part of P0066, funded by Keyblade Wiedling Neko and Splashman.
2020-01-05 19:06:32 +01:00
..
boss [Decompilation] [th05] Resetting boss-related variables 2019-09-21 13:01:30 +02:00
end [Reverse-engineering] [th04/th05] End sequence constants 2019-12-29 20:59:24 +01:00
formats [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
gaiji [Reverse-engineering] [th04/th05] Stage display in the High Score menu 2019-12-29 21:15:44 +01:00
hardware [Reverse-engineering] [th04/th05] EGC-powered page 1→0 region copies 2019-12-17 23:26:58 +01:00
hiscore [Reverse-engineering] [th04/th05] Stage display in the High Score menu 2019-12-29 21:15:44 +01:00
hud [Reverse-engineering] [th04/th05] HUD bar display 2019-09-21 14:01:50 +02:00
item [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
math [Maintenance] [th05] Minimize #includes for the shot type translation units 2019-12-22 15:32:44 +01:00
midboss [Decompilation] [th05] Stage setup 2019-09-15 20:35:15 +02:00
music [C decompilation] [th02/op] Music Room 2015-02-24 22:38:44 +01:00
player [Reverse-engineering] [th03/th04/th05] Frame counters 2020-01-03 21:30:02 +01:00
snd [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
strings [Reverse-engineering] [th04/th05] Text popups 2019-03-06 19:57:23 +01:00
bgimage.asm [Reverse-engineering] [th04/th05] Music Room / ending background image buffers 2019-12-17 23:26:56 +01:00
bgimage.h [Reverse-engineering] [th04/th05] Music Room / ending background image buffers 2019-12-17 23:26:56 +01:00
bgimage[data].asm [Reverse-engineering] [th04/th05] Music Room / ending background image buffers 2019-12-17 23:26:56 +01:00
bgimage_put_rect.asm [Reverse-engineering] [th04/th05] Music Room / ending background image buffers 2019-12-17 23:26:56 +01:00
bullet_clear[bss].asm [Reverse-engineering] [th04/th05] Bullet clear trigger and time 2018-12-16 01:49:55 +01:00
circles.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
circles[bss].asm [Reverse-engineering] [th04/th05] Growing and shrinking circles 2018-12-06 23:29:45 +01:00
circles_color[bss].asm [Reverse-engineering] [th04/th05] Growing and shrinking circles 2018-12-06 23:29:45 +01:00
demo.h [Naming] [th02/th04/th05] Demo loading and playback 2019-11-24 14:14:13 +01:00
drawpoint[bss].asm [Reverse-engineering] [th04/th05] Player sprite area invalidation 2019-09-24 22:04:26 +02:00
dream_score[data].asm [Reverse-engineering] [th04] Dream item number and score 2018-09-02 21:06:47 +02:00
ems.h [Decompilation] Add a separate segment type 2019-12-17 23:26:59 +01:00
ems[bss].asm [Naming] [th04/th05] EMS area setup 2019-11-24 16:02:43 +01:00
frames.h [Reverse-engineering] [th03/th04/th05] Frame counters 2020-01-03 21:30:02 +01:00
frames[bss].asm [Reverse-engineering] [th03/th04/th05] Frame counters 2020-01-03 21:30:02 +01:00
frames[data].asm [Reverse-engineering] [th03/th04/th05] Frame counters 2020-01-03 21:30:02 +01:00
homing_target[bss].asm [Reverse-engineering] [th04/th05] Target position for homing shots 2018-12-30 15:31:26 +01:00
mem.h [Decompilation] Finally declare <stdint.h> types 2019-12-17 23:26:58 +01:00
mem.inc [Naming] [th04/th05] EMS area setup 2019-11-24 16:02:43 +01:00
mem[bss].asm [Reverse-engineering] [th02/th03/th04/th05] DOS memory assignment sizes 2019-11-24 14:04:34 +01:00
op_01.cpp [Reverse-engineering] [th04] Extra Stage selectability 2019-12-29 21:15:43 +01:00
op_02.c [C decompilation] [th02/op] [th03/op] [th04/op] Frame delay #1 2015-03-04 02:47:16 +01:00
pause.asm [Reverse-engineering] [th04/th05] Pause menu 2019-11-30 19:36:07 +01:00
pause.h [Reverse-engineering] [th04/th05] Pause menu 2019-11-30 19:36:07 +01:00
pause[data].asm [Reverse-engineering] [th04/th05] Pause menu 2019-11-30 19:36:07 +01:00
phase.h [Reverse-engineering] [th04/th05] Midboss / boss explosion phase constants 2019-11-14 00:57:38 +01:00
phase.inc [Reverse-engineering] [th04/th05] Midboss / boss explosion phase constants 2019-11-14 00:57:38 +01:00
playperf.asm [Reverse-engineering] [th04/th05] Player performance ("rank") management 2018-12-10 21:00:19 +01:00
playperf[bss].asm [Reverse-engineering] [th04/th05] Player performance ("rank") management 2018-12-10 21:00:19 +01:00
resident.hpp [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
score.h [Maintenance] [th04/th05] Declare a little-endian BCD score type 2020-01-03 21:33:30 +01:00
score[bss].asm [Reverse-engineering] [th02/th04/th05] Score update and display 2019-09-21 14:01:47 +02:00
score[data].asm [Reverse-engineering] [th04/th05] Item collection counters 2020-01-03 21:31:25 +01:00
scoreupd.asm [Reverse-engineering] [th02/th04/th05] Score update and display 2019-09-21 14:01:47 +02:00
scoreupd[data].asm [Reverse-engineering] [th02/th04/th05] Score update and display 2019-09-21 14:01:47 +02:00
scroll[bss].asm [Reverse-engineering] [th04/th05] Scrolling-related variables 2018-12-29 18:34:51 +01:00
scroll_y_1.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
scroll_y_3.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
select_for_rank.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
setup.asm [Reverse-engineering] [th04] BGM/SE mode setup window rendering 2019-12-29 21:15:43 +01:00
setup.cpp [Reverse-engineering] [th04] BGM/SE mode setup window rendering 2019-12-29 21:15:43 +01:00
setup[bss].asm [Maintenance] [th04/th05] Unused setup and Music Room data 2019-12-29 21:15:43 +01:00
setup[data].asm [Reverse-engineering] [th04/th05] BGM/SE mode setup strings 2019-12-22 15:37:45 +01:00
shared.hpp [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
shared.inc [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
spark_render.asm [Reverse-engineering] [th02/th04/th05] Hardcoded spark sprites 2019-02-28 17:43:15 +01:00
sparks.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
sparks[bss].asm [Reverse-engineering] [th04/th05] Spark animation 2019-02-28 17:43:15 +01:00
sparks_add.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
sparks_add[bss].asm [Reverse-engineering] [th04/th05] Spark animation 2019-02-28 17:43:15 +01:00
stage_funcs[bss].asm [Reverse-engineering] [th04/th05] Stage-specific invalidate/render functions 2019-02-28 17:56:26 +01:00
th04.hpp [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
th04.inc [Reverse-engineering] [th04/th05] Resident structure 2020-01-03 21:43:43 +01:00
tiles[bss].asm [Maintenance] Clean up the confusion between "tiles" and .STD tile sections 2018-12-30 02:30:16 +01:00
tiles_invalidate.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
tiles_invalidate[bss].asm [Reverse-engineering] [th04/th05] Player sprite area invalidation 2019-09-24 22:04:26 +02:00
tiles_invalidate_all.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
tiles_redraw.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
tiles_render_all.asm [Maintenance] Export all pascal functions with their proper uppercase names 2019-09-15 20:29:47 +02:00
zunsoft.asm [Reverse-engineering] [th04/th05] ZUN Soft logo 2019-12-17 23:26:57 +01:00
zunsoft.h [Maintenance] Templatize RGB and palette types for 4- and 8-bit components 2020-01-05 19:06:32 +01:00
zunsoft[bss].asm [Position independence] [th02/th03/th04/th05] Color palettes 2019-11-28 23:23:29 +01:00
zunsoft[data].asm [Reverse-engineering] [th04/th05] ZUN Soft logo 2019-12-17 23:26:57 +01:00