diff --git a/ReC98.inc b/ReC98.inc index 7d140650..7458f163 100644 --- a/ReC98.inc +++ b/ReC98.inc @@ -26,6 +26,7 @@ include libs/master.lib/clip.inc include libs/master.lib/macros.inc include libs/kaja/kaja.inc include th01/hardware/egc.inc +include th02/playfld.inc include th02/formats/pi_slots.inc include th03/formats/cdg.inc @@ -71,22 +72,6 @@ RES_Y = 400 GAIJI_TRAM_W = 2 -PLAYFIELD_X = 32 -PLAYFIELD_Y = 16 -PLAYFIELD_W = 384 -PLAYFIELD_H = 368 - -PLAYFIELD_LEFT = PLAYFIELD_X -PLAYFIELD_TOP = PLAYFIELD_Y -PLAYFIELD_RIGHT = PLAYFIELD_X + PLAYFIELD_W -PLAYFIELD_BOTTOM = PLAYFIELD_Y + PLAYFIELD_H - -PLAYFIELD_VRAM_X = PLAYFIELD_X / 8 -PLAYFIELD_VRAM_W = PLAYFIELD_W / 8 - -PLAYFIELD_TRAM_X = PLAYFIELD_X / 8 -PLAYFIELD_TRAM_W = PLAYFIELD_W / 8 - ROW_SIZE = (RES_X / 8) TILE_W = 16 diff --git a/th02/playfld.inc b/th02/playfld.inc new file mode 100644 index 00000000..440b1861 --- /dev/null +++ b/th02/playfld.inc @@ -0,0 +1,15 @@ +PLAYFIELD_X = 32 +PLAYFIELD_Y = 16 +PLAYFIELD_W = 384 +PLAYFIELD_H = 368 + +PLAYFIELD_LEFT = PLAYFIELD_X +PLAYFIELD_TOP = PLAYFIELD_Y +PLAYFIELD_RIGHT = PLAYFIELD_X + PLAYFIELD_W +PLAYFIELD_BOTTOM = PLAYFIELD_Y + PLAYFIELD_H + +PLAYFIELD_VRAM_X = PLAYFIELD_X / 8 +PLAYFIELD_VRAM_W = PLAYFIELD_W / 8 + +PLAYFIELD_TRAM_X = PLAYFIELD_X / 8 +PLAYFIELD_TRAM_W = PLAYFIELD_W / 8