Commit Graph

80 Commits

Author SHA1 Message Date
Dankan1890
701df7fe9e Initial import of MEWUI to MAME [Dankan1890] 2016-02-04 15:14:24 +01:00
AJR
d3eecba525 Software list entries can now supply slot option defaults
This feature is enabled when executing 'mame driver software'. After the specified software is found in the software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options.

No software lists have been updated to use this feature at the moment.
2016-01-30 22:49:08 -05:00
AJR
115db95642 Return std::string objects by value rather than pass by reference
- strprintf is unaltered, but strformat now takes one fewer argument
- state_string_export still fills a buffer, but has been made const
- get_default_card_software now takes no arguments but returns a string
2016-01-10 16:36:18 -05:00
Jeffrey Clark
b0a2383cae add lua console support back in 2016-01-06 01:20:49 -06:00
Miodrag Milanovic
91605d3f4d clang-modernize part 1 (nw) 2015-12-03 18:17:25 +01:00
Miodrag Milanovic
b6707c3bb5 Removed mongoose due to restricted license and webserver wip till code is restructured (nw) 2015-11-04 18:55:36 +01:00
ImJezze
21b577483b Cleanup
- some renamings
- reverted one unwanted change in vector.fx
2015-10-26 19:49:17 +01:00
ImJezze
5f1f5d500a Experimental Dynamic Beam Width
- replace beam width by beam min. and beam max. width, this makes it
possible to create a linear dynamic beam width by the amount of
intensity of the beam
- added beam intensity weight, this adds an exponential factor to the
dynamic beam width (values greater than 0 will push larger intensities
more than smaller intensities)
- fixed displayed ratio of vector points (zero-length lines)
2015-10-25 20:54:00 +01:00
ImJezze
a7b8acbe3e Merge pull request #6 from mamedev/master
Sync to base master
2015-10-20 21:34:36 +02:00
ImJezze
81c15decf8 Smooth Borders
- enabled smooth border effect and added option, its amount is limited
by the amount of rounded corners
- added raster.ini to parse_standard_inis()
- merged vector and raster bloom options, use vector.ini or raster.ini
to distinguish
2015-10-09 18:49:39 +02:00
Wilbert Pol
99353dc95f coleco.c: Reduce tagmap lookups and added support for 31in1 and 63in1 multicarts (nw) 2015-08-10 13:10:14 +02:00
Wilbert Pol
e9d2bf218b bebox.c: reduce tagmap lookups (nw) 2015-08-02 21:25:53 +02:00
Wilbert Pol
6f68656e05 Some more tagmap lookup reduction work (nw) 2015-08-01 12:46:21 +02:00
Ariane Fugmann
e14de8c687 Core - Added emulation options for comm settings 2015-06-06 23:37:57 +02:00
Miodrag Milanovic
54f8b3ae5d moved all to std::string (nw) 2015-04-22 11:30:45 +02:00
Oliver Stöneberg
442aedc911 made -[no]dummywrite DEBUG only and removed it from the official documentation (nw) 2015-03-24 10:37:17 +01:00
Alex W. Jackson
e9aaed8b86 Fix performance regression from -dummywrite addition (nw) 2015-03-20 03:06:17 -04:00
Oliver Stöneberg
27460ff717 added command-line option -[no]dummywrite to create snaphots of each frame without writing them to a file [Oliver Stöneberg]
this is a dummy implementation of -aviwrite/-mngwrite and is used in
testruns to detect e.g. palette issues. the dummy implementation greatly
speed up testrun since it avoids the snapshot to file format conversions
as well as the I/O operations
2015-03-17 14:10:24 +01:00
Miodrag Milanovic
26e7a17b63 Cleanups and version bump 2015-01-28 09:20:10 +01:00
etabeta78
840460c828 ui: fixed bug where slot options set via internal UI did not properly
create their sub-options. [Fabio Priuli]

out of whatsnew: to see the bug, try to manually set from the UI "com" in a PC ISA port or "multitap" in
the SMS driver in an old build, then reset (to apply changes) and re-enter the Slot Options menu just
to see that the sub-options (the com serial ports and the multitap joypads) are not configurable because
the core was not "informed" of their addition. no bug was present if the options were set from command
line or from QMC2, so it was not so easy to spot the issue...
2015-01-17 10:30:03 +01:00
couriersud
e216457fcd Untangled options inheritance. Previously code locked in osd_options
locking any potential future OSD to these.
Options inheritance now is

core_options
emu_options
cli_options
osd_options
[sdl|win]_osd_options

This required a number of minor changes to other code as well. 
Tested on linux-sdl, windows-sdl, windows-mainline, osx-sdl
2015-01-13 20:23:00 +01:00
Oliver Stöneberg
98c4b826c3 added command-line option -[no]drc_log_native to control DRC native diassembly logging [Oliver Stöneberg]
allows logging of DRC native disassembly without re-compiling / removes
DRCUML_OPTION_LOG_NATIVE and all the core-specific LOG_NATIVE defines /
added logging() to drcbe_interface / added logging_native() to
drcuml_state
2014-11-07 21:24:35 +01:00
Oliver Stöneberg
b4e8437573 added command-line option -[no]drc_log_uml to control DRC UML disassembly logging [Oliver Stöneberg]
allows logging of DRC UML disassembly without re-compiling / removes
DRCUML_OPTION_LOG_UML and all the core-specific LOG_UML defines
2014-11-07 11:20:27 +01:00
Oliver Stöneberg
4f9db1e734 added command-line option -[no]snapbilinear to control binlinear filtering for snapshots (enabled by default) [Oliver Stöneberg]
this is mainly for making testruns and debugging faster - could also be
used to speed up -aviwrite usage though
2014-10-25 18:14:16 +02:00
Miodrag Milanovic
991212c069 -Created machine_manager as singleton class that contains (for now) one running machine [Miodrag Milanovic]
-Updated LUA engine to run in machine_manager instead of being initialized per machine
-Added "-console" option so emulator can be started with LUA enabled console
-Update LUA to version 5.2.3 
-Enabled SQLite3 to be compiled and added LUA module for it
2014-06-06 10:11:31 +00:00
Miodrag Milanovic
1f20547472 no need for this it's in main class now (nw) 2014-05-09 09:10:29 +00:00
Miodrag Milanovic
69faaf3aeb -Reorganized OSD, handling more sound output systems and debuggers, defaults left same as before [Miodrag Milanovic]
-Created osd_options as base option class for non-system specific options
2014-05-08 07:39:04 +00:00
David Haywood
40e8f47f3f use the flag set by the GAME/CONS/COMP/SYST macro to parse additional optional ini files
GAME = GAME_TYPE_ARCADE -> arcade.ini
CONS = GAME_TYPE_CONSOLE -> console.ini
COMP = GAME_TYPE_COMPUTER -> computer.ini
SYST = GAME_TYPE_OTHER -> othersys.ini

I've had a few requests to do this and it seems simple enough to leverage the flags we already have.
2014-05-01 07:54:09 +00:00
Miodrag Milanovic
9a978e9be5 Removed not used option (nw) 2014-04-17 13:17:47 +00:00
Miodrag Milanovic
7712d5e841 reverting r28187, if menus are unusable at that size user should make window bigger (nw) 2014-04-15 13:54:20 +00:00
Nathan Woods
4b7c39ba40 Adding minimum width/height options; defaulting to '0' so there is no change in behavior (the menubar branch will have different defualts) 2014-03-02 13:21:32 +00:00
Aaron Giles
5d0ce54f9e Bulk convert files that already had standard BSD license in my name
to new license tagged form.
2013-10-16 08:14:49 +00:00
Miodrag Milanovic
96aa5e1c08 Cleanups and version bump 2013-09-17 06:47:03 +00:00
Miodrag Milanovic
0b59be30bb Added command line option to force DRC C backend [Miodrag Milanovic] 2013-08-27 13:27:39 +00:00
Miodrag Milanovic
e72ada1fbd Made both DRC and Non-DRC compile for MIPS, RSP and SH2 core and added option to enable/disable DRC from command line (-drc -nodrc by default it's on) [Miodrag Milanovic] 2013-08-27 12:12:55 +00:00
Miodrag Milanovic
f1b81c7e98 Initial commit of internal web server, mostly to check compiling on various platforms (nw) 2013-08-07 07:20:01 +00:00
Fabio Priuli
8d7e236c83 emuopts.c: Added a new option -statename which allows to specify the location of state saving,
relative to -state_directory (whose usage remains unchanged). Syntax is basically the same 
as snapname, allowing for the  / character as path separator, %g as the driver name, and 
%d_[media] as the image name mounted in the "media" device. 

For example, using -statename foo/%g when running "mame wrally" will store save states into 
the folder sta/foo/wrally/ ; using -statename %g/%d_cart when running "mess nes -cart smb" 
will store save states into the folder sta/nes/smb/ ; using -statename %g/%d_cdrm when
running "mess pce -cart cdsys -cdrm draculax" will store save states into sta/pce/draculax/
Specifying a media switch which is not available (e.g. %d_cdrm in a c64) or a media switch
where no image is mounted (e.g. %d_cdrm in pce while playing a hucard game) will revert
the option to its default value %g and save states will be stored in sta/*gamename*/ as in
previous versions. [Fabio Priuli]

Needless to say, this option is very useful with home computers and consoles in MESS since it
allows to have 36 save slots for each game instead of 36 for the whole system library

Notice that a clean compile is required, due to the addition to the running_machine class
2013-05-28 05:12:28 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Miodrag Milanovic
4a09e17523 LUA 5.2.2 added to libraries, did basic hookup of LUA VM into running machine [Miodrag Milanovic]
added -script (or -autoboot_script) command to execute LUA script after driver startup
2013-05-09 13:57:44 +00:00
Miodrag Milanovic
715ac716d5 Autoboot command support added [Ben Geeves,Miodrag Milanovic] 2013-05-06 17:14:13 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Miodrag Milanovic
913ee29d76 Made core able to use bios selection per slot device [Miodrag Milanovic]
Sample of usage :
  mess kc85_4 -exp d004gide,bios=v31

Will need to cleanup handling of sub options to make it more robust and able to validate
2012-09-05 10:30:30 +00:00
Michaël Banaan Ananas
cd5541a157 make ui_active a user option 2012-08-28 17:20:13 +00:00
Miodrag Milanovic
f54800c1f3 Clean-ups and version bump 2012-08-20 06:39:53 +00:00
Miodrag Milanovic
10294b81ab Made UI mouse cursor optional (default is off for now), in games with clickable artwork cursor is visible, application is not taking mouse control anymore (no whatsnew) 2012-08-17 13:42:21 +00:00
Miodrag Milanovic
465ff2d360 Fixed handling slot/image options so it's possible to override slot setting by softlist (no whatsnew) 2011-11-23 08:57:45 +00:00
Miodrag Milanovic
8e1dbbb003 Validation of drivers require absence of slot and image options (no whatsnew) 2011-11-16 09:40:33 +00:00
Angelo Salese
43a482c6eb Made some fixes/additions to the input system [kanikani]
* Added the possibility to press contradictory direction digital
joystick input at the same time (i.e. up-down, left-right);
* Added the possibility to set an arbitrary value for coin impulses;
* fixed a bug with loop lever routine
* fixed a bug with analog joystick routine


Various fixes in tnzs.c driver [kanikani]
* Plump Pop
  - update DIPSW item (collision between each players' child)
  - added DIPLOCATION
* Extermination
* Arkanoid Revenge of DOH
* Dr.Toppel
* Kageki
* Chuka Taisen
* The Newzealand Story
  - added DIPLOCATION
* Kabuki Z
  - fixed difficulty DIPSW (EASY and MEDIUM is reversed)
  - added DIPLOCATION
* Insector X
  - fixed difficulty DIPSW (based on manual)
  - added DIPLOCATION
  

Various fixes in tmnt.c driver [kanikani]
* T.M.N.T.
  - fixed visible area (garbage on each side is correct (verified on PCB))
  - fixed DIPSW
  - added DIPLOCATION
* Golfing Greats
  - fixed inputs
  - fixed DIPSW
  - added DIPLOCATION
* Trigon
* Cuebrick
* M.I.A.
* Punk Shot
  - fixed DIPSW
  - added DIPLOCATION
* Premiere Soccer
  - added DIPLOCATION


Various fixes in ninjaw.c driver [kanikani]
* Ninja Warriors
  - added DIPSW notes
* Darius II
  - fixed DIPSW
  - fixed game description


Various fixes in twin16.c driver [kanikani]
* Majuu no Oukoku
  - fixed inputs
  - fixed DIPSW
  - added DIPLOCATION
* Gradius II
* Hard Puncher
* M.I.A.
* Cuebrick
  - fixed DIPSW
  - added DIPLOCATION


Fixed DIPSW in Darius II [kanikani]

Fixed DIPSW in Ninja Ryuukenden / Ninja Gaiden [kanikani]

Fixed inputs and DIPSW in toaplan1.c, toaplan2.c, twincobr.c, wardner.c drivers [kanikani]


Various fixes in galaga.c driver [kanikani]
* Bosconian
  - fixed DIPSW
  - fixed DIPLOCATION
* Galaga
* Xevious
* DigDug
  - fixed DIPLOCATION


Fixed DIPSW and DIPLOCATION in segas24.c driver [kanikani]


Fixed DIPSW and DIPLOCATION in segas18.c driver [kanikani]


Fixed DIPSW in segag80r.c driver [kanikani]


Fixed DIPSW in segag80v.c driver [kanikani]


Fixed DIPSW in segald.c driver [kanikani]


Fixed DIPSW in Ninjakun and Penguin-Kun Wars [kanikani]


Various fixes in dec0.c driver [kanikani]
* Heavy Barrel
  - fixed DIPSW
  - fixed DIPLOCATION
* Birdie Try
* Dragon Ninja
* Fighting Fantasy
* Midnight Resistance
  - fixed DIPSW
* Robocop
  - fixed DIPLOCATION


Fixed coinage DIPSW using Sega common setting in segaybd.c,
segaorun.c, segaxbd.c, segahang.c, segae.c, segac2.c, segas16a.c
and segas16b.c drivers [kanikani]


Fixed coinage DIPSW using Konami common setting in chqflag.c, pooyan.c
and rockrage.c drivers [kanikani]

Various fixes in sega16b.c driver [kanikani]
* Ace Attacker
  - added I/O board read routine
* Dunk Shot
  - fixed DIPLOCATION
* Sukeban Janshi Ryuko
  - added DIPSW
* Time Scanner
  - fixed DIPSW

Various fixes in sega16a.c driver [kanikani]
* Ace Attacker
  - changed to use analog device
* Sukeban Janshi Ryuko
  - added DIPSW
* Time Scanner
  - fixed DIPSW


Fixed / added comments in ninjakd2.c driver [kanikani]


Made some video optimizations in toypop.c driver [kanikani]


Fixed inputs and DIPSW in djmain.c driver [kanikani]


Fixed DIPLOCATION in Pop'n Stage [kanikani]
2011-10-23 13:29:16 +00:00
Miodrag Milanovic
4add4516fe Made quicklaunch work for slot/image devices (no whatsnew) 2011-07-03 18:21:07 +00:00
Miodrag Milanovic
ba15f08a16 Added support for multi level slot devices [Miodrag Milanovic]
Now it is possible to attach slot device to other slot device, also
containing multiple image devices under it.
2011-06-27 12:37:56 +00:00