summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/suprnova.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/suprnova.h')
-rw-r--r--src/mame/includes/suprnova.h45
1 files changed, 24 insertions, 21 deletions
diff --git a/src/mame/includes/suprnova.h b/src/mame/includes/suprnova.h
index 672ceb3efd5..a9eddacfe30 100644
--- a/src/mame/includes/suprnova.h
+++ b/src/mame/includes/suprnova.h
@@ -59,7 +59,6 @@ public:
required_shared_ptr<UINT32> m_cache_ram;
hit_t m_hit;
- UINT32 m_timer_0_temp[4];
bitmap_ind16 m_sprite_bitmap;
bitmap_ind16 m_tilemap_bitmap_lower;
bitmap_ind8 m_tilemap_bitmapflags_lower;
@@ -88,14 +87,20 @@ public:
int m_alt_enable_sprites;
tilemap_t *m_tilemap_A;
tilemap_t *m_tilemap_B;
-
+ UINT8 *m_btiles;
UINT8 m_region;
- DECLARE_WRITE32_MEMBER(skns_hit_w);
- DECLARE_WRITE32_MEMBER(skns_hit2_w);
- DECLARE_READ32_MEMBER(skns_hit_r);
- DECLARE_WRITE32_MEMBER(skns_io_w);
- DECLARE_WRITE32_MEMBER(skns_v3t_w);
+ DECLARE_WRITE32_MEMBER(hit_w);
+ DECLARE_WRITE32_MEMBER(hit2_w);
+ DECLARE_READ32_MEMBER(hit_r);
+ DECLARE_WRITE32_MEMBER(io_w);
+ DECLARE_WRITE32_MEMBER(v3t_w);
+ DECLARE_WRITE32_MEMBER(pal_regs_w);
+ DECLARE_WRITE32_MEMBER(palette_ram_w);
+ DECLARE_WRITE32_MEMBER(tilemapA_w);
+ DECLARE_WRITE32_MEMBER(tilemapB_w);
+ DECLARE_WRITE32_MEMBER(v3_regs_w);
+
DECLARE_READ32_MEMBER(gutsn_speedup_r);
DECLARE_READ32_MEMBER(cyvern_speedup_r);
DECLARE_READ32_MEMBER(puzzloopj_speedup_r);
@@ -111,12 +116,9 @@ public:
DECLARE_READ32_MEMBER(panicstr_speedup_r);
DECLARE_READ32_MEMBER(sengekis_speedup_r);
DECLARE_READ32_MEMBER(sengekij_speedup_r);
- DECLARE_WRITE32_MEMBER(skns_pal_regs_w);
- DECLARE_WRITE32_MEMBER(skns_palette_ram_w);
- DECLARE_WRITE32_MEMBER(skns_tilemapA_w);
- DECLARE_WRITE32_MEMBER(skns_tilemapB_w);
- DECLARE_WRITE32_MEMBER(skns_v3_regs_w);
+
DECLARE_CUSTOM_INPUT_MEMBER(paddle_r);
+
DECLARE_DRIVER_INIT(sengekis);
DECLARE_DRIVER_INIT(cyvern);
DECLARE_DRIVER_INIT(puzzloopa);
@@ -136,8 +138,7 @@ public:
DECLARE_DRIVER_INIT(senknow);
DECLARE_DRIVER_INIT(galpani4);
DECLARE_DRIVER_INIT(ryouran);
- TILE_GET_INFO_MEMBER(get_tilemap_A_tile_info);
- TILE_GET_INFO_MEMBER(get_tilemap_B_tile_info);
+ virtual void machine_start() override;
virtual void machine_reset() override;
virtual void video_start() override;
virtual void video_reset() override;
@@ -146,16 +147,18 @@ public:
DECLARE_MACHINE_RESET(sknsu);
DECLARE_MACHINE_RESET(sknse);
DECLARE_MACHINE_RESET(sknsk);
- UINT32 screen_update_skns(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
- void screen_eof_skns(screen_device &screen, bool state);
+
+ TILE_GET_INFO_MEMBER(get_tilemap_A_tile_info);
+ TILE_GET_INFO_MEMBER(get_tilemap_B_tile_info);
+ UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(interrupt_callback);
- TIMER_DEVICE_CALLBACK_MEMBER(skns_irq);
- void suprnova_draw_roz(bitmap_ind16 &bitmap, bitmap_ind8& bitmapflags, const rectangle &cliprect, tilemap_t *tmap, UINT32 startx, UINT32 starty, int incxx, int incxy, int incyx, int incyy, int wraparound, int columnscroll, UINT32* scrollram);
+ TIMER_DEVICE_CALLBACK_MEMBER(irq);
+ void draw_roz(bitmap_ind16 &bitmap, bitmap_ind8& bitmapflags, const rectangle &cliprect, tilemap_t *tmap, UINT32 startx, UINT32 starty, int incxx, int incxy, int incyx, int incyy, int wraparound, int columnscroll, UINT32* scrollram);
void palette_set_rgb_brightness (int offset, UINT8 brightness_r, UINT8 brightness_g, UINT8 brightness_b);
void palette_update();
- void supernova_draw_a( bitmap_ind16 &bitmap, bitmap_ind8 &bitmap_flags, const rectangle &cliprect, int tran );
- void supernova_draw_b( bitmap_ind16 &bitmap, bitmap_ind8 &bitmap_flags, const rectangle &cliprect, int tran );
+ void draw_a( bitmap_ind16 &bitmap, bitmap_ind8 &bitmap_flags, const rectangle &cliprect, int tran );
+ void draw_b( bitmap_ind16 &bitmap, bitmap_ind8 &bitmap_flags, const rectangle &cliprect, int tran );
void hit_recalc();
- void init_skns();
+ void init_drc();
void set_drc_pcflush(UINT32 addr);
};