summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/ninjakd2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/ninjakd2.h')
-rw-r--r--src/mame/includes/ninjakd2.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mame/includes/ninjakd2.h b/src/mame/includes/ninjakd2.h
index a4317a54e26..0e0600d4f37 100644
--- a/src/mame/includes/ninjakd2.h
+++ b/src/mame/includes/ninjakd2.h
@@ -30,20 +30,20 @@ public:
required_device<cpu_device> m_soundcpu;
optional_device<samples_device> m_pcm;
optional_memory_region m_pcm_region;
- optional_shared_ptr<UINT8> m_bg_videoram;
- required_shared_ptr<UINT8> m_fg_videoram;
- required_shared_ptr<UINT8> m_spriteram;
+ optional_shared_ptr<uint8_t> m_bg_videoram;
+ required_shared_ptr<uint8_t> m_fg_videoram;
+ required_shared_ptr<uint8_t> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
- optional_shared_ptr<UINT8> m_decrypted_opcodes;
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes;
- const INT16* m_sampledata;
- UINT8 m_omegaf_io_protection[3];
- UINT8 m_omegaf_io_protection_input;
+ const int16_t* m_sampledata;
+ uint8_t m_omegaf_io_protection[3];
+ uint8_t m_omegaf_io_protection_input;
int m_omegaf_io_protection_tic;
int m_next_sprite_overdraw_enabled;
- int (*m_stencil_compare_function) (UINT16 pal);
+ int (*m_stencil_compare_function) (uint16_t pal);
int m_sprites_updated;
bitmap_ind16 m_sprites_bitmap;
int m_robokid_sprites;
@@ -52,19 +52,19 @@ public:
tilemap_t* m_bg0_tilemap;
tilemap_t* m_bg1_tilemap;
tilemap_t* m_bg2_tilemap;
- UINT8 m_vram_bank_mask;
- UINT8 m_robokid_bg0_bank;
- UINT8 m_robokid_bg1_bank;
- UINT8 m_robokid_bg2_bank;
- std::unique_ptr<UINT8[]> m_robokid_bg0_videoram;
- std::unique_ptr<UINT8[]> m_robokid_bg1_videoram;
- std::unique_ptr<UINT8[]> m_robokid_bg2_videoram;
- UINT8 m_rom_bank_mask;
+ uint8_t m_vram_bank_mask;
+ uint8_t m_robokid_bg0_bank;
+ uint8_t m_robokid_bg1_bank;
+ uint8_t m_robokid_bg2_bank;
+ std::unique_ptr<uint8_t[]> m_robokid_bg0_videoram;
+ std::unique_ptr<uint8_t[]> m_robokid_bg1_videoram;
+ std::unique_ptr<uint8_t[]> m_robokid_bg2_videoram;
+ uint8_t m_rom_bank_mask;
void omegaf_io_protection_start();
void omegaf_io_protection_reset();
- void robokid_motion_error_kludge(UINT16 offset);
- void video_init_common(UINT32 vram_alloc_size);
+ void robokid_motion_error_kludge(uint16_t offset);
+ void video_init_common(uint32_t vram_alloc_size);
DECLARE_WRITE8_MEMBER(ninjakd2_bankselect_w);
DECLARE_WRITE8_MEMBER(ninjakd2_soundreset_w);
@@ -111,12 +111,12 @@ public:
DECLARE_MACHINE_START(omegaf);
DECLARE_MACHINE_RESET(omegaf);
DECLARE_VIDEO_START(omegaf);
- UINT32 screen_update_ninjakd2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- UINT32 screen_update_robokid(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- UINT32 screen_update_omegaf(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_ninjakd2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_robokid(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_omegaf(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void screen_eof_ninjakd2(screen_device &screen, bool state);
INTERRUPT_GEN_MEMBER(ninjakd2_interrupt);
- void robokid_get_bg_tile_info( tile_data& tileinfo, tilemap_memory_index const tile_index, int const gfxnum, const UINT8* const videoram);
+ void robokid_get_bg_tile_info( tile_data& tileinfo, tilemap_memory_index const tile_index, int const gfxnum, const uint8_t* const videoram);
void bg_ctrl(int offset, int data, tilemap_t* tilemap);
void draw_sprites( bitmap_ind16 &bitmap);
void erase_sprites( bitmap_ind16 &bitmap);