diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-04-01 06:50:56 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-04-01 06:50:56 +0000 |
commit | 8409f7d3233f0dd5d211f68e564ca4ebb662f8bf (patch) | |
tree | 3edea78fc971015d4b0799f6c5999657685df573 /src/mame/includes/superqix.h | |
parent | 86afc9b913dd13338a8888f27bb13d1548ef8f33 (diff) |
Final bulk rename for 0.142: ensure that all members of
driver_device classes have an m_ prefix on them. When we
eventually move functions using these into member functions,
we will be able to remove the state-> pointers, and having
the member variables prefixed will allow them to be
distinguished from local variables.
Some regex'es used (plus manually fixing the remaining stuff):
In src/mame/...
state->([a-zA-Z_][^_][a-zA-Z0-9_]*)
state->m_\1
state->([^m]_[a-zA-Z0-9_]*)
state->m_\1
state->m_save_item
state->save_item
state->m_save_pointer
state->save_pointer
(AM_BASE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_])
\1m_\2
(AM_BASE_SIZE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_][a-zA-Z0-9_]* *, *)([a-zA-Z_][^_])
\1m_\2m_\3
(AM_SIZE_MEMBER *\( *[a-zA-Z0-9_]+ *, *)([a-zA-Z_][^_])
\1m_\2
m__
m_
In src/mame/includes/...
(\t[a-zA-Z0-9_<>]+[ \t]+[&*]*[ \t]*)([a-zA-Z_][^_][][a-zA-Z0-9_]*;)$
\1m_\2
(\t[a-zA-Z0-9_<>]+[ \t]*[&*]*[ \t]+)([a-zA-Z_][^_][][a-zA-Z0-9_]*;)$
\1m_\2
Diffstat (limited to 'src/mame/includes/superqix.h')
-rw-r--r-- | src/mame/includes/superqix.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/mame/includes/superqix.h b/src/mame/includes/superqix.h index 28e52f45d2c..8c47ca312bd 100644 --- a/src/mame/includes/superqix.h +++ b/src/mame/includes/superqix.h @@ -4,34 +4,34 @@ public: superqix_state(running_machine &machine, const driver_device_config_base &config) : driver_device(machine, config) { } - INT16 *samplebuf; - UINT8 port1; - UINT8 port2; - UINT8 port3; - UINT8 port3_latch; - UINT8 from_mcu; - UINT8 from_z80; - UINT8 portb; - int from_mcu_pending; - int from_z80_pending; - int invert_coin_lockout; - int oldpos[2]; - int sign[2]; - UINT8 portA_in; - UINT8 portB_out; - UINT8 portC; - int curr_player; - UINT8 *videoram; - UINT8 *bitmapram; - UINT8 *bitmapram2; - int pbillian_show_power; - int gfxbank; - bitmap_t *fg_bitmap[2]; - int show_bitmap; - tilemap_t *bg_tilemap; - int last_power[2]; - UINT8 *spriteram; - size_t spriteram_size; + INT16 *m_samplebuf; + UINT8 m_port1; + UINT8 m_port2; + UINT8 m_port3; + UINT8 m_port3_latch; + UINT8 m_from_mcu; + UINT8 m_from_z80; + UINT8 m_portb; + int m_from_mcu_pending; + int m_from_z80_pending; + int m_invert_coin_lockout; + int m_oldpos[2]; + int m_sign[2]; + UINT8 m_portA_in; + UINT8 m_portB_out; + UINT8 m_portC; + int m_curr_player; + UINT8 *m_videoram; + UINT8 *m_bitmapram; + UINT8 *m_bitmapram2; + int m_pbillian_show_power; + int m_gfxbank; + bitmap_t *m_fg_bitmap[2]; + int m_show_bitmap; + tilemap_t *m_bg_tilemap; + int m_last_power[2]; + UINT8 *m_spriteram; + size_t m_spriteram_size; }; |