2019-11-08 20:03:03 +00:00
|
|
|
; ReC98
|
|
|
|
; -----
|
|
|
|
; PC-98 hardware constants not covered by master.lib
|
|
|
|
|
2019-11-26 11:51:08 +00:00
|
|
|
; Text
|
|
|
|
; ====
|
2019-12-28 20:20:48 +00:00
|
|
|
GAIJI_W = 16
|
|
|
|
GAIJI_TRAM_W = (GAIJI_W / 8)
|
2020-01-13 21:52:19 +00:00
|
|
|
GLYPH_HALF_W = 8
|
|
|
|
GLYPH_FULL_W = 16
|
|
|
|
GLYPH_H = 16
|
2019-11-26 11:51:08 +00:00
|
|
|
; ====
|
|
|
|
|
2019-11-08 20:03:03 +00:00
|
|
|
; Graphics
|
|
|
|
; ========
|
|
|
|
RES_X = 640
|
|
|
|
RES_Y = 400
|
|
|
|
ROW_SIZE = (RES_X / 8)
|
|
|
|
; Collides with master.lib's bfnt_entry_pat.asm
|
|
|
|
; PLANE_SIZE = (ROW_SIZE * RES_Y)
|
[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 11:05:42 +00:00
|
|
|
COLOR_COUNT = 16
|
2019-11-08 20:03:03 +00:00
|
|
|
; ========
|