summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/triplhnt.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-02-28 07:58:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-02-28 07:58:42 +0000
commitb7aa7df5617aa3a82aeae7ea036b45b76d063c17 (patch)
treef457e80ee11b4cea23a5db5d7bb24a26fe871721 /src/mame/includes/triplhnt.h
parent0668334f2721aadd498b43939e3fce4123f516e1 (diff)
This patch revisits archive files I've already patched to remove
statics and globals and handles some drivers and variables I missed or couldn't yet apply in my earlier pass. [Atari Ace]
Diffstat (limited to 'src/mame/includes/triplhnt.h')
-rw-r--r--src/mame/includes/triplhnt.h30
1 files changed, 23 insertions, 7 deletions
diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h
index b3983289c7c..2743bd2b2bd 100644
--- a/src/mame/includes/triplhnt.h
+++ b/src/mame/includes/triplhnt.h
@@ -16,6 +16,29 @@
#define TRIPLHNT_LAMP_EN NODE_05
+class triplhnt_state : public driver_device
+{
+public:
+ triplhnt_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
+
+ UINT8 cmos[16];
+ UINT8 da_latch;
+ UINT8 misc_flags;
+ UINT8 cmos_latch;
+ UINT8 hit_code;
+ UINT8* playfield_ram;
+ UINT8* vpos_ram;
+ UINT8* hpos_ram;
+ UINT8* code_ram;
+ UINT8* orga_ram;
+ int sprite_zoom;
+ int sprite_bank;
+ bitmap_t* helper;
+ tilemap_t* bg_tilemap;
+};
+
+
/*----------- defined in drivers/triplhnt.c -----------*/
void triplhnt_set_collision(running_machine *machine, int data);
@@ -32,11 +55,4 @@ extern const samples_interface triplhnt_samples_interface;
VIDEO_START( triplhnt );
SCREEN_UPDATE( triplhnt );
-extern UINT8* triplhnt_playfield_ram;
-extern UINT8* triplhnt_vpos_ram;
-extern UINT8* triplhnt_hpos_ram;
-extern UINT8* triplhnt_code_ram;
-extern UINT8* triplhnt_orga_ram;
-extern int triplhnt_sprite_zoom;
-extern int triplhnt_sprite_bank;