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/starshp1.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/starshp1.h')
-rw-r--r-- | src/mame/includes/starshp1.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h index cc7006c07a3..f27010b0331 100644 --- a/src/mame/includes/starshp1.h +++ b/src/mame/includes/starshp1.h @@ -36,30 +36,30 @@ public: starshp1_state(running_machine &machine, const driver_device_config_base &config) : driver_device(machine, config) { } - int analog_in_select; - int attract; - UINT8 *playfield_ram; - UINT8 *hpos_ram; - UINT8 *vpos_ram; - UINT8 *obj_ram; - int ship_explode; - int ship_picture; - int ship_hoffset; - int ship_voffset; - int ship_size; - int circle_hpos; - int circle_vpos; - int circle_size; - int circle_mod; - int circle_kill; - int phasor; - int collision_latch; - int starfield_kill; - int mux; - int inverse; - UINT16 *LSFR; - bitmap_t *helper; - tilemap_t *bg_tilemap; + int m_analog_in_select; + int m_attract; + UINT8 *m_playfield_ram; + UINT8 *m_hpos_ram; + UINT8 *m_vpos_ram; + UINT8 *m_obj_ram; + int m_ship_explode; + int m_ship_picture; + int m_ship_hoffset; + int m_ship_voffset; + int m_ship_size; + int m_circle_hpos; + int m_circle_vpos; + int m_circle_size; + int m_circle_mod; + int m_circle_kill; + int m_phasor; + int m_collision_latch; + int m_starfield_kill; + int m_mux; + int m_inverse; + UINT16 *m_LSFR; + bitmap_t *m_helper; + tilemap_t *m_bg_tilemap; }; |