summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/firetrk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/firetrk.h')
-rw-r--r--src/mame/includes/firetrk.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mame/includes/firetrk.h b/src/mame/includes/firetrk.h
index 317f4648c77..27f6c20aaac 100644
--- a/src/mame/includes/firetrk.h
+++ b/src/mame/includes/firetrk.h
@@ -63,15 +63,15 @@ public:
required_device<cpu_device> m_maincpu;
required_device<watchdog_timer_device> m_watchdog;
required_device<discrete_device> m_discrete;
- required_shared_ptr<UINT8> m_alpha_num_ram;
- required_shared_ptr<UINT8> m_playfield_ram;
- required_shared_ptr<UINT8> m_scroll_y;
- required_shared_ptr<UINT8> m_scroll_x;
- required_shared_ptr<UINT8> m_car_rot;
- optional_shared_ptr<UINT8> m_blink;
- optional_shared_ptr<UINT8> m_drone_x;
- optional_shared_ptr<UINT8> m_drone_y;
- optional_shared_ptr<UINT8> m_drone_rot;
+ required_shared_ptr<uint8_t> m_alpha_num_ram;
+ required_shared_ptr<uint8_t> m_playfield_ram;
+ required_shared_ptr<uint8_t> m_scroll_y;
+ required_shared_ptr<uint8_t> m_scroll_x;
+ required_shared_ptr<uint8_t> m_car_rot;
+ optional_shared_ptr<uint8_t> m_blink;
+ optional_shared_ptr<uint8_t> m_drone_x;
+ optional_shared_ptr<uint8_t> m_drone_y;
+ optional_shared_ptr<uint8_t> m_drone_rot;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
@@ -82,19 +82,19 @@ public:
required_ioport_array<2> m_dips;
optional_ioport_array<2> m_steer;
- UINT8 m_in_service_mode;
- UINT32 m_dial[2];
- UINT8 m_steer_dir[2];
- UINT8 m_steer_flag[2];
- UINT8 m_gear;
+ uint8_t m_in_service_mode;
+ uint32_t m_dial[2];
+ uint8_t m_steer_dir[2];
+ uint8_t m_steer_flag[2];
+ uint8_t m_gear;
- UINT8 m_flash;
- UINT8 m_crash[2];
- UINT8 m_skid[2];
+ uint8_t m_flash;
+ uint8_t m_crash[2];
+ uint8_t m_skid[2];
bitmap_ind16 m_helper1;
bitmap_ind16 m_helper2;
- UINT32 m_color1_mask;
- UINT32 m_color2_mask;
+ uint32_t m_color1_mask;
+ uint32_t m_color2_mask;
tilemap_t *m_tilemap1;
tilemap_t *m_tilemap2;
@@ -131,9 +131,9 @@ public:
DECLARE_VIDEO_START(superbug);
DECLARE_VIDEO_START(montecar);
DECLARE_PALETTE_INIT(montecar);
- UINT32 screen_update_firetrk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- UINT32 screen_update_superbug(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- UINT32 screen_update_montecar(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_firetrk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_superbug(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_montecar(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(firetrk_scanline);
DECLARE_WRITE8_MEMBER(firetrk_skid_reset_w);
DECLARE_WRITE8_MEMBER(montecar_skid_reset_w);
@@ -142,13 +142,13 @@ public:
DECLARE_WRITE8_MEMBER(firetrk_motor_snd_w);
DECLARE_WRITE8_MEMBER(superbug_motor_snd_w);
DECLARE_WRITE8_MEMBER(firetrk_xtndply_w);
- void prom_to_palette(int number, UINT8 val);
+ void prom_to_palette(int number, uint8_t val);
void firetrk_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, int which, int flash);
void superbug_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, int flash);
void montecar_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, int which, int is_collision_detection);
void check_collision(int which);
void set_service_mode(int enable);
- void draw_text(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 *alpha_ram, int x, int count, int height);
+ void draw_text(bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t *alpha_ram, int x, int count, int height);
};