Commit Graph

67106 Commits

Author SHA1 Message Date
npwoods de21499137 Typo fix 2019-07-05 20:25:59 -04:00
npwoods 7d76dfbac3 Changing LUA code to get mame_ui_manager by dynamic cast rather than
mame_machine_manager::instance()->ui()

Dynamic casts are never one's first choice, but this is superior to
grabbing a global singleton.  Upon merging more worker_ui changes, it
will be possible for machine().ui() to be an implementation of
ui_manager distinct from mame_ui_manager, so this code is being changed
to gracefully handle this scenario.  Plus, global singletons like
mame_machine_manager::instance are just plain ugly.

Lastly, I would like someone familiar with the LUA integration to look
at this, not just for correctness, but to validate my approach of
keeping LUA's mame_machine_manager::ui() equivalent returning the
mame_ui_manager while changing how it is implemented.  Even if getting
rid of mame_machine_manager::ui() is the right way to go, there is an
argument to be made that we should change the LUA integration even if it
breaks compatibility with existing scripts (though obviously I did not
take that approach).
2019-07-01 08:16:12 -04:00
AJR 2c298ab197 pockstat.cpp: Workaround for build error caused by C++14's failure to inline constexpr variables (nw) 2019-07-01 00:07:23 -04:00
hap 85228e6f91 hh*: deglobal speaker levels (nw) 2019-07-01 02:45:39 +02:00
arbee 27e2f0bc15 Merge branch 'master' of https://github.com/mamedev/mame 2019-06-30 19:49:28 -04:00
arbee ec9fc21415 apple2gs: fixed game port regression [R. Belmont] 2019-06-30 19:48:39 -04:00
MetalliC b0b76620c8 new NOT_WORKING game
--------------------
Kodai Oujya Kyouryuu King - Mesameyo! Aratanaru-ryoku!! (Japan, Ver 4.000) (MDA-C0061) [SauraphaganaxRex, MetalliC]
2019-07-01 02:48:20 +03:00
hap d859ebc22f savant: add buttons to layout (nw) 2019-07-01 00:56:28 +02:00
Olivier Galibert def5ea3da1 floppy: First stab at weak zones handling [O. Galibert] 2019-07-01 00:01:31 +02:00
hap 4acf604089 sforte: improve lcd_data_w (nw) 2019-06-30 20:39:52 +02:00
Robbbert 2826bee8c9 (nw) cassette: last lot of wave changes 2019-07-01 03:01:22 +10:00
R. Belmont 5edd49b910
Merge pull request #5297 from AmatCoder/AmatCoder-tzx_fix-1
tzx_cass.cpp: Fix loading of Generalized Data blocks
2019-06-30 12:19:41 -04:00
Hydreigon 0cde4ce675 zr107, gticlub, nwk-tr, hornet: Greatly improve inputs (among other things) (#5296)
* Greatly improve inputs

* Add an extra line at the end.

* gticlub restore "PORT_PLAYER()"

* hornet.cpp restore "PORT_PLAYER()"
2019-06-30 12:19:03 -04:00
R. Belmont 82875bf5f6
Merge pull request #5295 from rzero9/fmt_softlist
fmtowns_cd.xml: additions, replacements and cleanups
2019-06-30 12:18:36 -04:00
R. Belmont 83a01527de
Merge pull request #5293 from FakeShemp/gba_upd
gba.xml - Add cart info from No-Intro
2019-06-30 12:18:14 -04:00
R. Belmont 80b8947ec7
Merge pull request #5292 from cam900/pgm_meta
pgm.cpp : Add notes, Version infos, Fix metadatas, Reduce unnecessary…
2019-06-30 12:17:06 -04:00
npwoods 1047b8cafe Refactored UI font metrics (#5291)
* Changed the various usages of UI_*COLOR to be calls to
src/frontend/mame/ui/moptions.h

The various UI_*COLOR macros were implemented as calls to
decode_ui_color, which cached the values for the various options in a
static array, which was obviously a gross hack.

This refactoring is strategic because I am trying to confine awareness
of mame_ui_manager to code in src/frontend/mame/ui, and the
implementation of decode_ui_color() relied on the ability to access
mame_ui_manager as a singleton from outside this code.

* Created a ui_colors object, so that queries for UI RGB values would not
always require parsing strings

* Replaced UI_TARGET_FONT_[ROWS|HEIGHT] and UI_BOX_[LR|TD]_BORDER macros with
property calls

These macros were implemented with a call to a function
(get_font_rows()) that opportunistically stashed the results of option
accesses in static variables; in other words, a gross hack

Because get_font_rows() attempted to access mame_ui_manager as a
singleton, it was an obstactle to providing an alternative
implementation of ui_manager

* Remove stray debugging cruft that found a way into the other PR
2019-06-30 12:16:44 -04:00
AmatCoder 84f9bd799c
tzx_cass.cpp: Fix loading of Generalized Data blocks 2019-06-30 16:52:10 +02:00
Robbbert 66939696f1 (nw) more cassette wav sound 2019-06-30 23:54:38 +10:00
MooglyGuy 51c6e698d7 Missed a file, nw 2019-06-30 15:08:18 +02:00
mooglyguy fa9fe1a904 -imagedev/harddriv: Removed MCFG macros. [Ryan Holtz]
-generic/slot: Removed MCFG macros. [Ryan Holtz]
2019-06-30 15:08:18 +02:00
MooglyGuy de808fdacb -snapquik: Modernized delegate and removed MCFG macros. [Ryan Holtz] 2019-06-30 15:08:18 +02:00
Robbbert 779b26ebc3 (nw) more cassette wave 2019-06-30 22:48:22 +10:00
hap 5916c9a300 sb30: does not have multiple queens, pawn promotion is set up in software (nw) 2019-06-30 13:33:06 +02:00
hap 6d4a81795e tascr30: add gideon bios (nw) 2019-06-30 11:23:09 +02:00
Robbbert 983cd20411 (nw) more cassette wave sound 2019-06-30 16:57:02 +10:00
Justin Kerk 49a3f61f23 New working software list additions
---------------------------------------
ibm5150: SimEarth: The Living Planet (Europe, 3.5", v1.0), SimEarth: The Living Planet (5.25", v1.1), SimEarth: The Living Planet (3.5", v1.1), SimEarth: The Living Planet (3.5", v1.3) [Justin Kerk]
odyssey2: AMOK!, Calculator!, Pong for Videopac and Odyssey²! [Justin Kerk]
2019-06-29 22:24:12 -07:00
hap d8c845b7d8 sboard: ctrl/shift+click no effect for inductive (nw) 2019-06-30 01:33:37 +02:00
hap 203ef23e6f tasc: 1 minute now matches realworld 1 minute, and it also says 30mhz instead of 31mhz in system info. assume same for risc2500 (nw) 2019-06-30 00:38:11 +02:00
hap ff2f21c660 diablo/sexpert: add chesspieces (nw) 2019-06-30 00:19:16 +02:00
Sandro Ronco 1bc2b04728 tascr30: add display, inputs and SmartBoard. [Sandro Ronco]
Machines promoted to working
----------------------------
Tasc ChessSystem R30 [Sandro Ronco]
2019-06-29 23:44:25 +02:00
hap 804fc3d188 gamemachine, boris: use pwm_display (nw) 2019-06-29 20:44:27 +02:00
MooglyGuy 86b0229ba2 -dpb_brushstore: Finished implementing functionality, needs testing. [Ryan Holtz] 2019-06-29 17:49:55 +02:00
MooglyGuy 35f7b6de84 -pockstat: Switched to use logmacro, eliminated legacy MCFG, fixed spacing, de-globalized scope. [Ryan Holtz] 2019-06-29 17:49:55 +02:00
hap 6a3800e36c k28: use pwm_display (nw) 2019-06-29 16:47:35 +02:00
r09 9999104b38 fmtowns_cd.xml: additions, replacements and cleanups
- Added new items from the redump.org database:

Cat's Part-1
DOR Best Selection Gekan
Gokko Vol. 1 - Doctor
Professional Mahjong Goku
Scavenger 4 (1993-11-11)
Taiken Shiyou! Marty Channel

- Replaced the following items with images that match the redump.org
database. In many cases the existing images had no offset correction
(which leads to small chunks of audio data at the start/end of the disc
being missing) and no proper pregaps, so these should be better.

The 4th Unit 5 - D-Again
The 4th Unit 7 - Wyatt
Genocide Square
Gunship - The Helicopter Simulation
The Legend of Kyrandia (promoted to working due to this change)
Kyrandia II - The Hand of Fate
Last Armageddon CD Special
Mahjong de Pon!
Misty - Meitantei Toujou
Puyo Puyo
Schwarzschild IV - The Cradle End
Silent Möbius
Splatterhouse
Ultima Underworld II - Labyrinth of Worlds
Wing Commander
Wizardry V - Heart of the Maelstrom

- Added alt_titles and release dates for almost everything

- Miscellaneous metadata fixes
2019-06-29 16:46:49 +02:00
algestam 01c9502213 New working machine added (#5294)
* New working machine added
----------
Game & Watch: Gold Cliff [algestam, hydef, Ryan Holtz]

* hh_sm510: Remove ambigious comment from gnw_gcliff (nw)
2019-06-29 15:55:47 +02:00
hap 106c63c749 mk1: use pwm_display (nw) 2019-06-29 14:41:24 +02:00
Robbbert 4064f2ba82 (nw) nascom1/2: cassette fixed ; added more cassette wav sounds 2019-06-29 22:34:42 +10:00
FakeShemp cc97180e40 gba.xml - Add cart info from No-Intro 2019-06-29 12:56:44 +02:00
cam900 7343a92203 pgm.cpp : Add notes, Version infos, Fix metadatas, Reduce unnecessary lines
Correct game name (ddpdojblk sets are says 'Black Label' at official)
2019-06-29 16:03:29 +09:00
hap 7a3eb11ab1 remove novagbase class (nw) 2019-06-29 04:57:19 +02:00
hap fe0db6545c cforte: add chesspieces (nw) 2019-06-29 01:34:14 +02:00
npwoods 697ff7bd71 Changed the various usages of UI_*COLOR to be calls to src/frontend/mame/ui/moptions.h (#5282)
* Changed the various usages of UI_*COLOR to be calls to
src/frontend/mame/ui/moptions.h

The various UI_*COLOR macros were implemented as calls to
decode_ui_color, which cached the values for the various options in a
static array, which was obviously a gross hack.

This refactoring is strategic because I am trying to confine awareness
of mame_ui_manager to code in src/frontend/mame/ui, and the
implementation of decode_ui_color() relied on the ability to access
mame_ui_manager as a singleton from outside this code.

* Created a ui_colors object, so that queries for UI RGB values would not
always require parsing strings

* Converted a few more options().zyx_color() to colors().zyx_color()

* A few more misses from earlier
2019-06-28 17:30:09 -04:00
cam900 cec557538d pgm.cpp, pgmprot_igs027a_type*.cpp : Updates (nw) (#5286)
* pgm.cpp, pgmprot_igs027a_type*.cpp : Updates (nw)
Add configs related to ARM7 speed and on-board XTALs, Reduce duplicates, Add notes

* pgm.cpp : Fix regression
2019-06-28 17:29:48 -04:00
David Haywood 807371e9b6 spectrum_cass.xml - various changes [see credit list] (#5290)
* spectrum_cass.xml - various changes [see credit list]

added some more images to the 'unsorted' section, moved some images to 'sorted' section, identyfing and replacing several bad dumps along the way

Credit for this stuff should be
 Steve Brown, Andrew Barker, Paul Hurd, Tony Barnett, Claus Jahn, Donald Graham,
 Guy Bearman, Jose Luis Soler, Krasimir Hristov, Andrew Blood, Dave Stevens,
 John Wilson, Edwina Brown, Walter Pooley, Tomaz Kac, Martijn van der Heide,
 Ramsoft, Dunny, Woody, Mikie and many many others.

* restore clone relationship (nw)

* fix validation (nw)

* details (nw)

* typo (nw)

* filling in some details (nw)

* filling in some details (nw)

* another compilation (nw)

* move more (nw)

* compilation details (nw)

* typo (nw)

* mention set name (nw)

* more (nw)

* move movement (nw)

* a few more (nw)

* more (nw)

* move more (nw)

* more (nw)

* move more (nw)

* more (nw)

* more (nw)

* a few more (nw)

* (nw)
2019-06-28 17:29:21 -04:00
hap 4989fc4fbf chesstrv: add chesspieces (nw) 2019-06-28 22:43:54 +02:00
Robbbert 6fb3031995 New Working sorcerer_cart : System Software Basic v1.1 2019-06-29 02:11:46 +10:00
Robbbert 7f1a02d861 (nw) removed unneccesary casting of cassette_state; 2019-06-29 01:26:27 +10:00
hap 9e84835983 savant: add screen overlay (nw) 2019-06-28 16:59:54 +02:00