Commit Graph

15 Commits

Author SHA1 Message Date
Aaron Giles
861db1eb49 Cleanups and version bump. 2010-06-17 06:55:54 +00:00
Angelo Salese
76c4e4e40b Increased number of coinslots to 12, and tilt inputs to 4, required by in-progress gambling driver [David Haywood] 2010-05-27 19:40:31 +00:00
Fabio Priuli
8e22365b5c Added a new input type IPT_KEYPAD for MESS, to distinguish between fully featured keyboards and keypad controllers [Fabio Priuli] 2010-04-05 15:30:00 +00:00
Miodrag Milanovic
0a6b13608d - Moved natural keyboard support from MESS to MAME
- Moved OSD file functions and clipboard access functions into OSD core
2010-02-12 15:40:11 +00:00
Aaron Giles
214379d953 > From: Pugsy [mailto:pugsy@gmx.net]
> Sent: Sunday, August 30, 2009 6:00 PM
> To: submit@mamedev.org
> Cc: upstephh_wip@yahoo.com
> Subject: Added display of cheat comments
> 
> Hi
> 
> One more cheat engine related change. This diff was made against u3
> with the last two diffs I sent
> already applied.
> 
> This patch reintroduces the display of the individual cheat comments,
> in the old cheat engine this
> worked by showing SET,ON or OFF in reverse video to show there was a
> comment available which could
> be displayed by pressing Shift + Enter. I've done things slightly
> different though as I've added a
> display comment key of SPACE along with a different way of showing that
> a comment is available.
> 
> It now works automatically as soon as you move over a cheat with a
> comment it uses popmessage to
> display the comment. As soon as you move or press any key (other than
> space) it nulls the
> popmessage, and by pressing space it will redisplay the comment which
> is handy if the comment is a
> lengthy one.
> 
> To see it in action look at the bottom two cheats in mslug (or any
> neogeo game for that matter).
> 
> Martin 'Pugsy' Pugh
> 
> 
> MAME Cheat File Maintainer http://mamecheat.co.uk
> Gamebase64 Team Member http://www.gamebase64.com
>
2009-09-03 09:15:18 +00:00
Roberto Fresca
267d560d67 Added a POKER_BET general input definition.
This is needed to mantain the standard inputs layout in the poker games.
You'll need a clean compile after this addition.
2009-08-22 16:57:12 +00:00
Fabio Priuli
e39c0d0680 Forgot to make P2 hanafuda input descriptions as complete as P1 ones 2009-08-04 10:16:18 +00:00
Fabio Priuli
549dc697c2 Added default input mappings for Hanafuda games. Updated most of the Hanafuda games to use them.
Like for Mahjong games, keys A->H are used. "Yes" is mapped to M, "No" is mapped to N.
2009-08-04 00:13:25 +00:00
Fabio Priuli
0c25ea26ad Added a stop4 input to slot default and remapped slot default keys to better suit Amcoe games. 2009-08-04 00:00:06 +00:00
Fabio Priuli
645ea861e0 Changed default key for Mahjong P1 Bet to '3', because '2' was conflicting with P2 Start in 2 players Mahjong games.
This may be worth of mention in the whatsnew, to warn users about the new behavior.
2009-08-02 22:50:46 +00:00
Fabio Priuli
bfd3937587 Added default input mappings for gambling / poker / slot games. Converted many drivers to use the new mappings. 2009-08-02 02:05:26 +00:00
Derrick Renaud
01962d4fc5 Crosshair update
* Added Crosshair Options menu
  - ability to individually enable/disable crosshairs
  - ability for them to automatically disappear after a set amount of time
  - ability to select crosshair graphic
  - all settings are saved in the cfg file
 * Removed F1 toggle for crosshairs
 * Added new command option -crsshairpath
  - store all selectable graphics here
  - see config.txt for further info

OSD NOTE: render_load_png() has been changed to no longer force usage of the artwork directory.
Do a search for "render_load_png(" and replace with "render_load_png(OPTION_ARTPATH, " if needed.

----------------------------
F1 is now free to use for something new.  I was thinking it would be perfect for a context sensitive help file.  Each menu item could have a help tag, that it would look up and display info from an HTML file.
2009-03-28 22:55:34 +00:00
stephh
fc54f63a09 Removed unneeded keys by removing the constants.
Readded UI_ON_SCREEN_DISPLAY to be changed again in the "Inputs" menu as per Aaron's request.

A clean build is required and cfg/default.cfg has to be deleted !
2008-10-03 04:00:41 +00:00
stephh
e8896b0416 Removed unneeded keys :
- UI_ON_SCREEN_DISPLAY (there is now a "Slider Controls" menu)
  - UI_ADD_CHEAT, UI_DELETE_CHEAT, UI_SAVE_CHEAT, UI_WATCH_VALUE, UI_EDIT_CHEAT, UI_RELOAD_CHEAT (these keys belonged to the old cheat engine)

A clean build is required and cfg/default.cfg has to be deleted !
2008-09-28 14:56:17 +00:00
Aaron Giles
096331c856 Restructured input port internals and cleaned up inptport.c:
* Input ports are now maintained hierarchically. At the top
level are input ports, which contain a list of fields. Each
field represents one or more bits of the port. Certain fields
such as DIP switches and configuration switches contain a
list of settings, which can be selected. DIP switch fields
can also contain a list of DIP switch locations.

* Normalized behavior of port overrides (via PORT_INCLUDE or
by defining multiple overlapping bits). All fields within a
port are kept in strict increasing bit order, so altered DIP
switches are now kept in the appropriate order. This addresses
MAMETesters bug 01671.

* Live port state is now fully separate from configured 
state. This is manifested in a similar way to devices, where
a const list of ports can be managed either offline or live.
Each port has a pointer to an opaque set of live state which
is NULL when offline or valid when live. Each port also has
a running_machine * which is also NULL when offline.

* Because of this new arrangement, the conversion from tokens
to a list of ports now requires reasonably complex memory
allocation, so these port lists must be explicitly allocated
and freed (they are not mantained by automatic resource
allocation).

* Custom and changed callbacks now take a pointer to a field
config instead of a running machine. This provides more
information about what field triggered the change notification.
The machine can be found by referenced field->port->machine.

* The inptport.c module has been cleaned up and many 
ambiguities resolved. Most of this is internal, though it did
result in osd_customize_inputport_list() being changed to
osd_customize_input_type_list(). The parameter to this function
is now a linked list instead of an array, and the structures
referenced have been reorganized somewhat.

* Updated config.c to pass machine parameters to its callbacks.

* Updated validity checks, XML output, and UI system to handle
the new structures.

* Moved large table of default input settings to a separate
include file inpttype.h.

* Removed gross hacks in trackfld and hyperspt NVRAM. These
may be broken as a result.
2008-05-15 16:25:03 +00:00