summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/copsnrob.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/copsnrob.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/copsnrob.h')
-rw-r--r--src/mame/includes/copsnrob.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/includes/copsnrob.h b/src/mame/includes/copsnrob.h
index cf7f86d8a4e..e76cd39cad5 100644
--- a/src/mame/includes/copsnrob.h
+++ b/src/mame/includes/copsnrob.h
@@ -14,17 +14,17 @@ public:
: driver_device(machine, config) { }
/* memory pointers */
- UINT8 * videoram;
- UINT8 * trucky;
- UINT8 * truckram;
- UINT8 * bulletsram;
- UINT8 * cary;
- UINT8 * carimage;
- size_t videoram_size;
+ UINT8 * m_videoram;
+ UINT8 * m_trucky;
+ UINT8 * m_truckram;
+ UINT8 * m_bulletsram;
+ UINT8 * m_cary;
+ UINT8 * m_carimage;
+ size_t m_videoram_size;
/* misc */
- UINT8 misc;
- UINT8 ic_h3_data;
+ UINT8 m_misc;
+ UINT8 m_ic_h3_data;
};