summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* hiscore.dat: Updates [Leezer] cracyc2021-07-201-157/+229
|
* Strip CRs from history.xml (#8115) Julian Sikorski2021-05-301-0/+1
|
* srcclean for release Vas Crabb2021-05-231-5/+5
|
* Mostly revert "Create console history file in homepath (#8026)" Vas Crabb2021-05-0710-79/+11
| | | | | | The change to make the console plugin work is preserved. This reverts commit 25137717c9392d142650fcd679b09c400a2f5c4a.
* Create console history file in homepath (#8026) Szunti2021-05-0310-13/+81
| | | | | | | | | | | * Fix console history path, homepath is a core option * Create missing directories recursively in lua plugins. * Add lfs to global environment in a less magical way. require normally doesn't bind the name globally just returns the module, mame sets a preloader that does bind lfs globally, but maybe it's less surprising to do it explicitly
* init.lua: Change "historypath" (only supposed to be used for DATs) to ↵ AJR2021-05-021-2/+2
| | | | "homepath" (where plugin data should reside)
* Save line history for the console and other minor fixes Szunti2021-04-251-12/+42
| | | | | | | Changed a loadstring to load, since lua 5.3 loadstring is not available. Made sure the linenoise thread returns a string. After Ctrl+D stop reading lines.
* plugins/cheat: fix regions in xml cheats too cracyc2021-04-231-1/+0
|
* Fix XML cheats which use multiple spaces. (#7998) Szunti2021-04-231-1/+0
|
* plugins/cheat: fix getting arbitrary screen cracyc2021-04-041-1/+2
|
* plugins/data: properly clear history data when loading new file cracyc2021-04-031-0/+2
|
* plugins/cheat: removed spurious print etabeta2021-04-011-1/+0
|
* plugins/cheat: fix XML cheat loading when emulation is launched with an ↵ Priuli2021-04-011-9/+6
| | | | image option specified (e.g. mame nes -cart smb) or by loading directly one part of the software (e.g. mame a600 amigaocs_flop:lslarry2:flop1)
* hiscore.dat: Updates [Leezer] cracyc2021-03-231-152/+229
|
* plugins/cheat: fix selection cracyc2021-03-171-1/+1
|
* plugins: another leftover cracyc2021-03-071-2/+2
|
* plugins: fix missed lua api changes cracyc2021-03-062-3/+3
|
* plugins/cheatfind: fix watch and write cracyc2021-02-191-2/+5
|
* hiscore.dat: rename changed sets cracyc2021-02-141-80/+82
|
* plugins/discord: fix softlist longname cracyc2021-02-131-2/+2
|
* srcclean in preparation for branching release Vas Crabb2021-01-242-3/+3
|
* plugins/data: more hiscore improvements cracyc2021-01-021-73/+487
|
* plugins/data: better hiscore parsing cracyc2021-01-011-35/+57
|
* plugins/data: remove logging and fix query cracyc2020-12-311-4/+2
|
* plugins/data: use history.xml and add xml parser for it cracyc2020-12-314-8/+581
|
* plugins/cheat: Migrate remaining XML cheat code for Lua API changes. Vas Crabb2021-01-011-7/+8
|
* Expose a couple more things to Lua so the plugins can show the actual key ↵ Vas Crabb2020-12-272-5/+8
| | | | mapped to UI clear.
* More Lua interface cleanup - it's simpler with cleaner underlyng APIs. Vas Crabb2020-12-2719-136/+136
| | | | | | | | | | | Made the sound manager mute controls readable, and got rid of system enable since it just controls system mute anyway. This was causing confusion: phantom2 was trying to use both independentlyt casuing the mute bit to be ignored. THe Lua interface changes are mostly changing methods to properties, some renames to make things clearer, and some additional properties for better control over snapshots.
* More Lua engine clean-up and documentation, resulting in core cleanup. Vas Crabb2020-12-182-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More Lua interface cleanup, additional properties and methods, and documentation migration/expansion. Emulated switch inputs can have "not" codes applied to host input axis directions. It works the same way as host switch inputs - push twice for a "not" prefix. Input polling helpers no longer need to store state in the input device items. There’s less leakage, and less chance of things interfering with each other. Allow snapshot view options to be configured through the internal UI via the video options menu. Made video options menus place initial focus on the currently selected view item. Removed some crud from the menu base class. Fixed the description of the "snapview" option. The value to get raw screen pixels was changed to "native" a long time ago but the description was never updated. Re-arranged the Golden Poker button lamps so that the 6-button layouts for Jolli Witch and Wild Witch make sense. In 6-button mode, the hold buttons double as bonus game and bet buttons, but the lamp outputs don't change. The simplest way to deal with this without requiring the user to switch views or using layout scripting is to place the dedicated buttons directly below the hold buttons that correspond to them. Removed some software list data that was redundantly copied into device_image_interface (m_supported was never even set, so it didn't even work), and made crc() work better (previously it wasn't recalculuated after unloading and loading another image). Made strformat.h and devcb.h play nicer with C++17 and pre-standard C++20. Format precision now correctly limits the length of string views. Confirmed that strformat.{h,cpp} works with pre-standard C++20 support in GCC 9. Removed an auto_alloc from cpu/arm7.
* -Lua cleanup and documentation migration checkpoint. Vas Crabb2020-12-164-24/+31
| | | | | | | | | | | | | | | | | | | | * Cleaned up some more of the Lua inteface. Mostly replacing methods with properties, some consistency fixes, a few renames, some more exposed functionality, and a couple of properties that have no business being set from scripts made read-only. * Moved a lot more Lua documentation out of source comments into the documentation, and expanded on it in the process. * Got more UI code out of the input manager. * Changed input sequence poller to a polymorphic class where you specify your intention upfront. * Changed the cheat plugin to use UI Clear to clear hotkey assignments and leave them unchanged if the user starts assignment but doesn't press any switches. * Ported AJR's fix for over-eager double-click recognition from SDL to Windows OSD. -goldnpkr.cpp: Cleaned up inputs, using standard keyout and payout types and key assignments.
* plugins/portname: Use emu.subst_env AJR2020-12-081-1/+1
|
* plugins: Replace environment variable substitution function with core version AJR2020-12-0811-36/+16
|
* -Lua engine cleanup, input edition: Vas Crabb2020-12-093-15/+18
| | | | | | | | | | | | | | | | | | | * Modernised and cleaned up Lua bindings for input classes. * Exposed the input_sequence_poller class to Lua and updated the autofire and cheat plugins to use it, rather than continuing to pretend it's part of the input manager. * Exposed more of the natural keyboard manager, including the ability to enable/disable individual keyboard and keypad devices like you can from the keyboard mode menu. * Exposed a few more things on ioport_port and input_device. -plugins/cheat: Fixed menu item not updating visually when disabling a cheat with UI Left. -plugins/cheatfind: Fixed not finding the first screen after screen enumerator was exposed as an object rather than using a table. -bwidow.cpp, pacman.cpp: Minor cleanup to recent changes.
* Expose enough of the layout system to Lua to allow position and colour to be ↵ Vas Crabb2020-12-051-0/+7
| | | | animated.
* frontend: Lua engine improvements. Vas Crabb2020-11-302-6/+6
| | | | | | | | | | | | | | Added methods for enabling and disabling breakpoints and watchpoints, and made debugger views update when breakpoints/watchpoints are manipulated from Lua. Made breakpoints and watchpoints objects rather than tables. (It’s not possible to enable/disable a breakpoint or watchpoint from the object itself, you have to go through its owners' debug interface.) Exposed more device_t members for dealing with child/sibling tags and devices. Also provided a way to get regions/shares/banks from a device using relative tags rather than going through the memory manager with absolute tags.
* Fairly significant overhaul of Lua engine and some cleanup. Vas Crabb2020-11-252-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The things that were previously called device iterators are not iterators in the C++ sense of the word. This is confusing for newcomers. These have been renamed to be device enumerators. Several Lua methods and properties that previously returned tables now return lightweight wrappers for the underlying objects. This means creating them is a lot faster, but you can't modify them, and the performance characteristics of different operations varies. The render manager's target list uses 1-based indexing to be more like idiomatic Lua. It's now possible to create a device enumerator on any device, and then get subdevices (or sibling devices) using a relative tag. Much more render/layout functionality has been exposed to Lua. Layout scripts now have access to the layout file and can directly set the state of an item with no bindings, or register callbacks to obtain state. Some things that were previously methods are now read-only properties. Layout files are no longer required to supply a "name". This was problematic because the same layout file could be loaded for multiple instances of the same device, and each instance of the layout file should use the correct inputs (and in the future outputs) for the device instance it's associated with. This should also fix video output with MSVC builds by avoiding delegates that return things that don't fit in a register.
* hiscore.dat: fix stdragon cracyc2020-11-231-1/+1
|
* hiscore.dat: updates [Leezer] cracyc2020-11-221-150/+184
|
* hiscore.dat: update with changed sets cracyc2020-10-221-2/+1
|
* Disable SOUND_DEBUG for non-debug builds, and srcclean Vas Crabb2020-09-271-1/+1
|
* hiscore.dat: fix set names cracyc2020-09-221-12/+12
|
* Fixing a cheat plugin bug npwoods2020-09-191-0/+1
|
* plugins/cheat: small simplification cracyc2020-09-151-21/+20
|
* plugins/cheat: copy the cheat table to not expose internal state (#7238) cracyc2020-09-151-4/+42
|
* plugin/cheat: subtract min before dividing cracyc2020-09-131-1/+1
|
* plugin/cheat: check value is a mulitple of step cracyc2020-09-131-1/+5
|
* plugin/cheat: flesh out the exported interface a bit more cracyc2020-09-131-91/+107
|
* plugins: add emu.plugin table to contain plugin exported interfaces cracyc2020-09-133-5/+5
|
* cheat_simple: with game genie codes try 32k nes banks then fall back to 8k ↵ cracyc2020-09-081-2/+9
| | | | and warn with 6 char codes and banked prg
* hiscore.dat: gauntlet high scores are in the nvram, these cause more ↵ cracyc2020-09-031-20/+0
| | | | problems then they are worth