Commit Graph

338 Commits

Author SHA1 Message Date
therealmogminer@gmail.com
dd9c9a0fb3 Make OSDs return ui_menu_item lists, not slider_state lists 2016-04-10 19:22:31 +02:00
therealmogminer@gmail.com
fa92550ddb Add dividing line to bgfx slider list where applicable, nw 2016-04-10 13:13:10 +02:00
therealmogminer@gmail.com
8719535cbc Make sliders use an std::vector instead of a linked list, nw 2016-04-10 02:38:08 +02:00
dankan1890
74a8e5d1dd menu: fixed scrolling with the mouse wheel. (nw) 2016-04-10 02:28:27 +02:00
therealmogminer@gmail.com
19d51345a1 Add runtime screen chain selection, nw 2016-04-09 19:15:47 +02:00
cracyc
cd243bd4aa (nw) 2016-04-09 09:10:03 -05:00
cracyc
cf8c7fb206 luaengine: make flags explicit (nw) 2016-04-09 09:02:07 -05:00
dankan1890
b10ffebf58 Fixed the key handler for the error "roms or missing CHD."
Removed the delay in showing the description in the Advanced menu.
Synchronized the translation files.
2016-04-07 12:36:30 +02:00
cracyc
389e05a300 luaengine: direct and region accessors [Carl] 2016-04-05 21:10:13 -05:00
Miodrag Milanović
f9f2be3e43 Merge pull request #789 from ajrhacker/emuopts_drc
Revert software-installed slot/image options when changing software [AJR]
Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files.
MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
2016-04-05 08:57:37 +02:00
AJR
ee12b7d2f7 Revert software-installed slot/image options when changing software
- Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files.
- MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
2016-04-04 23:46:44 -04:00
cracyc
817f19fcc1 luaengine: add plugin options menu [Carl] 2016-04-04 18:17:18 -05:00
dankan1890
37f39ecf3c Small changes. (nw) 2016-04-03 18:45:34 +02:00
Jeffrey Clark
69eae891ad submenu lang and cosmetic (nw) 2016-04-03 16:02:16 +00:00
Miodrag Milanovic
d322c23ead make it translate (nw) 2016-04-03 16:00:30 +02:00
Miodrag Milanovic
945d1d5646 Prevent crashing when compiling with mingw (nw) 2016-04-03 15:47:04 +02:00
Jeffrey Clark
ca3e65e35f refactor miscmenu and add adv menu (nw) 2016-04-03 07:02:38 +00:00
AJR
a7e393b36b Iterate over core classes C++11 style
C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.)

device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config.

memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
2016-03-31 09:43:53 -04:00
Miodrag Milanovic
913ab1e140 Cleanups and version bump 2016-03-30 08:35:21 +02:00
Miodrag Milanovic
8e41d3105b added -plugins / -noplugins (to enable or disable plugins in total) [Miodrag Milanovic]
and -plugin highscore (will enable just that plugin)
and -noplugin highscore (will disable just that plugin)
plugin/noplugin use comma separated list of plugins
2016-03-29 14:40:40 +02:00
dankan1890
6cb951b7c4 ui: icons rendering fix with bgfx. (nw) 2016-03-29 05:21:15 +02:00
Miodrag Milanovic
4dfeec15c6 removed disclaimer since it was not shown anyway and it is known fact (nw) 2016-03-28 08:58:18 +02:00
Miodrag Milanovic
775777e70b relaxed warning screen by allowing pressing of any button instead of specific combination (nw) 2016-03-28 08:46:50 +02:00
hap
337f659072 moved emu/ui/util render_load_jpeg to emu/rendutil
This also adds simple support for loading JPG in external artwork
2016-03-27 22:29:08 +02:00
therealmogminer@gmail.com
e950cfa163 sliders.cpp: Made Alt+Arrow minimize or maximize value. [MooglyGuy] 2016-03-27 19:56:49 +02:00
Vas Crabb
249f412689 Fix silly behaviour of image creation through file manager (thanks to BIOS-D for reporting) 2016-03-26 18:01:46 +11:00
dankan1890
6e79c7fa3c Added support to "gameinit.dat".
Disabled Configure Machine menu.
2016-03-25 23:59:34 +01:00
Miodrag Milanovic
3c039af763 Made menu for plugins (nw) 2016-03-25 09:59:48 +01:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
dankan1890
fe09ef0a6f ui: reverted to old code due to an issue with icons. (nw) 2016-03-21 19:24:52 +01:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
Antonio Giner
57b1c6ab77 Merge remote-tracking branch 'refs/remotes/mamedev/master' into integer_scaling_v2 2016-03-20 22:14:39 +01:00
dankan1890
1174225fcb ui: Fixed image sizing in right panel to vertical orientation. (nw) 2016-03-20 19:25:01 +01:00
dankan1890
fff33e90f8 ui: reducing the code for managing icons. (nw) 2016-03-20 17:33:08 +01:00
dankan1890
5314fc0b00 Proper drawing of the panels arrows for vertical orientation. (nw) 2016-03-20 15:48:15 +01:00
dankan1890
54b153ed68 Fixed unwanted games unpauses when loading External DATs view. (nw) 2016-03-19 22:56:28 +01:00
Antonio Giner
e39daaf5bd Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-03-18 22:41:17 +01:00
dankan1890
25bc1007af Added support and configuration for the image collection "covers".
Slightly modernized and simplified the code.
2016-03-18 22:00:47 +01:00
Vas Crabb
100fa28671 * Remove confusing method from vectorstreams that hide base_ios method (fixes disassembly view)
* Allow std::string to pass through core_file unmolested (reduces temporary allocations)
* Make zip/7z instances of same class with uniform interface
* zippath browsing is broken at the moment

This is another step towards transparent archive support.  It's now
possible to access zip and 7z archives with the same code.  Nothing is
taking advantage of it yet.  There's now some very similar code in
fileio.cpp and clifront.cpp that could be folded at some point.
2016-03-18 19:32:10 +11:00
Antonio Giner
421656e108 Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-03-17 22:50:29 +01:00
therealmogminer@gmail.com
d7dc173df9 Fix scrolling in slider list, nw 2016-03-17 15:48:32 +01:00
Katsuhiko Kagami
3c2a55cbfc fix translation issue on miscmenu 2016-03-17 23:33:09 +09:00
Vas Crabb
a3b35f8bc6 Move font enumeration to OSD, separate font name from display name as needed for OSX 2016-03-17 00:04:52 +11:00
therealmogminer@gmail.com
e1883e3090 Remove -mt, nw 2016-03-15 05:33:23 +01:00
Antonio Giner
da18057256 Implement integer scaling in core renderer [Calamity] 2016-03-15 01:04:37 +01:00
dankan1890
f5fccc5c83 ui: further improvement of the layout for viewing in vertical orientation. (nw - WIP) 2016-03-14 21:57:14 +01:00
Vas Crabb
42fbb9c396 Make osd_file a polymorphic class that's held with smart pointers
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module

7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
dankan1890
434cb751f4 ui: some improvements with vertical orientation view. (nw - WIP) 2016-03-14 01:38:35 +01:00
therealmogminer@gmail.com
3172371fcd More work on bgfx data-driven shaders, nw 2016-03-13 15:51:15 +01:00
dankan1890
d69da8fef9 Removed localized error log. (nw) 2016-03-08 01:19:26 +01:00