summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/superqix.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* made pbillian plunger more authentic: just hold CTRL for an amount of time ↵ Michaël Banaan Ananas2011-08-251-2/+0
| | | | and let go
* Collapsed device_config and device_t into one class. Updated all Aaron Giles2011-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing modern devices and the legacy wrappers to work in this environment. This in general greatly simplifies writing a modern device. [Aaron Giles] General notes: * some more cleanup probably needs to happen behind this change, but I needed to get it in before the next device modernization or import from MESS :) * new template function device_creator which automatically defines the static function that creates the device; use this instead of creating a static_alloc_device_config function * added device_stop() method which is called at around the time the previous device_t's destructor was called; if you auto_free anything, do it here because the machine is gone when the destructor is called * changed the static_set_* calls to pass a device_t & instead of a device_config * * for many devices, the static config structure member names over- lapped the device's names for devcb_* functions; in these cases the members in the interface were renamed to have a _cb suffix * changed the driver_enumerator to only cache 100 machine_configs because caching them all took a ton of memory; fortunately this implementation detail is completely hidden behind the driver_enumerator interface * got rid of the macros for creating derived classes; doing it manually is now clean enough that it isn't worth hiding the details in a macro
* Final bulk rename for 0.142: ensure that all members of Aaron Giles2011-04-011-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Convert a number of drivers to use their own private spriteram instead Aaron Giles2011-03-131-0/+2
| | | | | | of the generic one. Only drivers needing buffered spriteram should use the shared generic version for now. [Atari Ace]
* Modified video update system. [Miodrag Milanovic] Miodrag Milanovic2011-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | Screen update function is now per screen device (it was before but was attached to machine driver) MCFG_VIDEO_UPDATE -> MCFG_SCREEN_UPDATE MCFG_VIDEO_EOF -> MCFG_SCREEN_EOF EOF is now executed for all screens, so for all existing it is defined just for one screen. This part will be updated in future. Note that there are now screen_update and screen_eof virtual functions for "modern" drivers which are called same as they did before. All drivers are updated and in places where update function was separated per screen I did name separate function. This change will enable us to put screen definition fully into device.
* From: Atari Ace Aaron Giles2011-02-031-4/+35
| | | | | | | | | | Hi mamedev, This patch eliminates global/static variables in a number of Taito/Irem drivers by introducing/using driver_device classes. ~aa
* Added include files for all remaining drivers with multiple source files. Aaron Giles2010-09-021-0/+16
[Atari Ace] ---------- Forwarded message ---------- From: Atari Ace <atari_ace@frontier.com> Date: Sun, Aug 29, 2010 at 10:35 PM Subject: [patch] Add missing include files for multi-file drivers To: submit@mamedev.org Cc: atariace@hotmail.com Hi mamdev, Converting a driver to use driver_data requires that multi-file drivers have a common include file to host the driver_data class. Thus this patch, which gets ahead of the curve and adds missing include files to all multi-file drivers (minus ones covered by my last driver_data patch). The first patch is include-related cleanup of the existing drivers. The second patch then adds ~100 files to mame/includes. ~aa