summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/galastrm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/galastrm.h')
-rw-r--r--src/mame/includes/galastrm.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/includes/galastrm.h b/src/mame/includes/galastrm.h
index 6c7e4654d2a..ebdd626e48b 100644
--- a/src/mame/includes/galastrm.h
+++ b/src/mame/includes/galastrm.h
@@ -28,7 +28,7 @@ class galastrm_renderer : public poly_manager<float, gs_poly_data, 2, 10000>
public:
galastrm_renderer(galastrm_state &state);
- void tc0610_draw_scanline(int32_t scanline, const extent_t& extent, const gs_poly_data& object, int threadid);
+ void tc0610_draw_scanline(s32 scanline, const extent_t& extent, const gs_poly_data& object, int threadid);
void tc0610_rotate_draw(bitmap_ind16 &srcbitmap, const rectangle &clip);
bitmap_ind16 &screenbits() { return m_screenbits; }
@@ -63,9 +63,9 @@ protected:
virtual void video_start() override;
private:
- required_shared_ptr<uint32_t> m_spriteram;
+ required_shared_ptr<u32> m_spriteram;
- required_region_ptr<uint16_t> m_spritemap_rom;
+ required_region_ptr<u16> m_spritemap_rom;
required_device<cpu_device> m_maincpu;
required_device<eeprom_serial_93cxx_device> m_eeprom;
@@ -77,17 +77,17 @@ private:
struct gs_tempsprite
{
- int gfx;
- int code,color;
- int flipx,flipy;
+ u8 gfx;
+ u32 code,color;
+ bool flipx,flipy;
int x,y;
int zoomx,zoomy;
- int primask;
+ u32 primask;
};
- uint16_t m_frame_counter;
+ u16 m_frame_counter;
int m_tc0610_addr[2];
- int16_t m_tc0610_ctrl_reg[2][8];
+ s16 m_tc0610_ctrl_reg[2][8];
std::unique_ptr<gs_tempsprite[]> m_spritelist;
struct gs_tempsprite *m_sprite_ptr_pre;
bitmap_ind16 m_tmpbitmaps;
@@ -98,12 +98,12 @@ private:
int m_rsxoffs;
int m_rsyoffs;
- template<int Chip> DECLARE_WRITE16_MEMBER(tc0610_w);
- DECLARE_WRITE8_MEMBER(coin_word_w);
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ template<int Chip> void tc0610_w(offs_t offset, u16 data);
+ void coin_word_w(u8 data);
+ u32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(interrupt);
void draw_sprites_pre(int x_offs, int y_offs);
- void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, const int *primasks, int priority);
+ void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, const u32 *primasks, int priority);
void main_map(address_map &map);
};