summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/liberatr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/liberatr.h')
-rw-r--r--src/mame/includes/liberatr.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mame/includes/liberatr.h b/src/mame/includes/liberatr.h
index e046fcb035b..54b8d91f59b 100644
--- a/src/mame/includes/liberatr.h
+++ b/src/mame/includes/liberatr.h
@@ -38,7 +38,7 @@ public:
DECLARE_READ8_MEMBER( bitmap_xy_r );
DECLARE_WRITE8_MEMBER( bitmap_xy_w );
- UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
// early raster EAROM interface
DECLARE_READ8_MEMBER( earom_r );
@@ -52,28 +52,28 @@ protected:
// vector and early raster EAROM interface
required_device<er2055_device> m_earom;
- UINT8 m_earom_data;
- UINT8 m_earom_control;
+ uint8_t m_earom_data;
+ uint8_t m_earom_control;
struct planet;
- void init_planet(planet &liberatr_planet, UINT8 *planet_rom);
+ void init_planet(planet &liberatr_planet, uint8_t *planet_rom);
void get_pens(pen_t *pens);
void draw_planet(bitmap_rgb32 &bitmap, pen_t *pens);
void draw_bitmap(bitmap_rgb32 &bitmap, pen_t *pens);
required_device<screen_device> m_screen;
- required_shared_ptr<UINT8> m_base_ram;
- required_shared_ptr<UINT8> m_planet_frame;
- required_shared_ptr<UINT8> m_planet_select;
- required_shared_ptr<UINT8> m_xcoord;
- required_shared_ptr<UINT8> m_ycoord;
- required_shared_ptr<UINT8> m_bitmapram;
- required_shared_ptr<UINT8> m_colorram;
-
- UINT8 m_trackball_offset;
- UINT8 m_ctrld;
- UINT8 m_videoram[0x10000];
+ required_shared_ptr<uint8_t> m_base_ram;
+ required_shared_ptr<uint8_t> m_planet_frame;
+ required_shared_ptr<uint8_t> m_planet_select;
+ required_shared_ptr<uint8_t> m_xcoord;
+ required_shared_ptr<uint8_t> m_ycoord;
+ required_shared_ptr<uint8_t> m_bitmapram;
+ required_shared_ptr<uint8_t> m_colorram;
+
+ uint8_t m_trackball_offset;
+ uint8_t m_ctrld;
+ uint8_t m_videoram[0x10000];
// The following structure describes the (up to 32) line segments
// that make up one horizontal line (latitude) for one display frame of the planet.
@@ -81,10 +81,10 @@ protected:
// data before it is packed for actual use.
struct planet_frame_line
{
- UINT8 segment_count; // the number of segments on this line
- UINT8 max_x; // the maximum value of x_array for this line
- UINT8 color_array[32]; // the color values
- UINT8 x_array[32]; // and maximum x values for each segment
+ uint8_t segment_count; // the number of segments on this line
+ uint8_t max_x; // the maximum value of x_array for this line
+ uint8_t color_array[32]; // the color values
+ uint8_t x_array[32]; // and maximum x values for each segment
};
// The following structure describes the lines (latitudes)
@@ -103,7 +103,7 @@ protected:
// for the 128 lines.
struct planet
{
- UINT8 *frames[256];
+ uint8_t *frames[256];
};
// The following array collects the 2 different planet