diff options
Diffstat (limited to 'src/mame/includes/cosmic.h')
-rw-r--r-- | src/mame/includes/cosmic.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/includes/cosmic.h b/src/mame/includes/cosmic.h index 7a17da42b7d..81b5bd93339 100644 --- a/src/mame/includes/cosmic.h +++ b/src/mame/includes/cosmic.h @@ -30,11 +30,11 @@ public: m_palette(*this, "palette") { } /* memory pointers */ - required_shared_ptr<UINT8> m_videoram; - optional_shared_ptr<UINT8> m_spriteram; + required_shared_ptr<uint8_t> m_videoram; + optional_shared_ptr<uint8_t> m_spriteram; /* video-related */ - typedef pen_t (cosmic_state::*color_func)(UINT8 x, UINT8 y); + typedef pen_t (cosmic_state::*color_func)(uint8_t x, uint8_t y); color_func m_map_color; int m_color_registers[3]; int m_background_enable; @@ -47,7 +47,7 @@ public: int m_dive_bomb_b_select; /* misc */ - UINT32 m_pixel_clock; + uint32_t m_pixel_clock; int m_ic_state; // for 9980 optional_ioport_array<4> m_in_ports; optional_ioport m_dsw; @@ -90,20 +90,20 @@ public: DECLARE_PALETTE_INIT(cosmica); DECLARE_PALETTE_INIT(magspot); DECLARE_PALETTE_INIT(nomnlnd); - UINT32 screen_update_cosmicg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - UINT32 screen_update_panic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - UINT32 screen_update_cosmica(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - UINT32 screen_update_magspot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - UINT32 screen_update_devzone(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - UINT32 screen_update_nomnlnd(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_cosmicg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_panic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_cosmica(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_magspot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_devzone(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_nomnlnd(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_DEVICE_CALLBACK_MEMBER(panic_scanline); void draw_bitmap(bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int color_mask, int extra_sprites); void cosmica_draw_starfield(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void devzone_draw_grid(bitmap_ind16 &bitmap, const rectangle &cliprect); void nomnlnd_draw_background(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - pen_t panic_map_color(UINT8 x, UINT8 y); - pen_t cosmica_map_color(UINT8 x, UINT8 y); - pen_t cosmicg_map_color(UINT8 x, UINT8 y); - pen_t magspot_map_color(UINT8 x, UINT8 y); + pen_t panic_map_color(uint8_t x, uint8_t y); + pen_t cosmica_map_color(uint8_t x, uint8_t y); + pen_t cosmicg_map_color(uint8_t x, uint8_t y); + pen_t magspot_map_color(uint8_t x, uint8_t y); }; |