summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gameplan.h
diff options
context:
space:
mode:
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
commit8409f7d3233f0dd5d211f68e564ca4ebb662f8bf (patch)
tree3edea78fc971015d4b0799f6c5999657685df573 /src/mame/includes/gameplan.h
parent86afc9b913dd13338a8888f27bb13d1548ef8f33 (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/gameplan.h')
-rw-r--r--src/mame/includes/gameplan.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/includes/gameplan.h b/src/mame/includes/gameplan.h
index f83d4bca17e..59fd5e9bed1 100644
--- a/src/mame/includes/gameplan.h
+++ b/src/mame/includes/gameplan.h
@@ -26,30 +26,30 @@ class gameplan_state : public driver_device
public:
gameplan_state(running_machine &machine, const driver_device_config_base &config)
: driver_device(machine, config),
- via_0(*this, "via6522_0"),
- via_1(*this, "via6522_1"),
- via_2(*this, "via6522_2") { }
+ m_via_0(*this, "via6522_0"),
+ m_via_1(*this, "via6522_1"),
+ m_via_2(*this, "via6522_2") { }
/* machine state */
- UINT8 current_port;
- UINT8 *trvquest_question;
+ UINT8 m_current_port;
+ UINT8 *m_trvquest_question;
/* video state */
- UINT8 *videoram;
- size_t videoram_size;
- UINT8 video_x;
- UINT8 video_y;
- UINT8 video_command;
- UINT8 video_data;
- emu_timer *via_0_ca1_timer;
+ UINT8 *m_videoram;
+ size_t m_videoram_size;
+ UINT8 m_video_x;
+ UINT8 m_video_y;
+ UINT8 m_video_command;
+ UINT8 m_video_data;
+ emu_timer *m_via_0_ca1_timer;
/* devices */
- device_t *maincpu;
- device_t *audiocpu;
- device_t *riot;
- required_device<via6522_device> via_0;
- required_device<via6522_device> via_1;
- required_device<via6522_device> via_2;
+ device_t *m_maincpu;
+ device_t *m_audiocpu;
+ device_t *m_riot;
+ required_device<via6522_device> m_via_0;
+ required_device<via6522_device> m_via_1;
+ required_device<via6522_device> m_via_2;
};