Commit Graph

373 Commits

Author SHA1 Message Date
Jordi Mallach
3d5c53d11e Typo fix: threshhold → threshold 2016-04-01 02:28:16 +02:00
Jordi Mallach
94ad873787 Typo fix: softwares → software
Software is uncountable. At most, we can use "pieces of software" or so.
2016-04-01 02:28:16 +02: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
dankan1890
d13aba424f fixed crash when displaying external DATs file in some circumstances. (nw) 2016-03-06 21:37:53 +01:00
Vas Crabb
73b44c9429 Turn core_file into a proper class that gets cleaned up safely using unique_ptr
Subverted somewhat by chd_file class
2016-03-06 21:49:56 +11:00
dankan1890
74a1dab64a Merge branch 'master' of https://github.com/mamedev/mame 2016-03-06 03:42:59 +01:00
dankan1890
b35ea6e4a6 Fixed MT06152: "Show mouse pointer" option stays off. (nw) 2016-03-06 03:42:41 +01:00
Vas Crabb
04a6b500c3 Don't bother to localise error log for now 2016-03-06 13:18:09 +11:00
dankan1890
16aa806e6d fix more unlocalisable stuff and resync translations. nw 2016-03-06 03:06:25 +01:00
Vas Crabb
4e25da61c7 Fix up some bad English, fix more unlocalisable stuff 2016-03-06 12:12:25 +11:00
dankan1890
02d24565dc menu: added handling of mouse button held down on arrows in the machine list. (nw) 2016-03-05 15:38:22 +01:00
Vas Crabb
af2c95ebe3 Fix some more unlocalisable crap 2016-03-05 23:26:21 +11:00
dankan1890
b7bbfe1897 selsoft: fixed failure to load software from the BIOS menu selection. (nw) 2016-03-05 13:13:49 +01:00
dankan1890
9f3cd785b2 optsmenu: fixed recently introduced bug. (nw) 2016-03-04 13:56:15 +01:00
Vas Crabb
0942111794 Change %d to %u to correct ARGB settings display 2016-03-04 19:09:30 +11:00
dankan1890
6d4f627035 menu: fixed top line computation. (nw) 2016-03-03 01:52:34 +01:00
dankan1890
1914702e6f dirmenu: proper removal of the folder from the path. (nw) 2016-03-02 20:39:20 +01:00
dankan1890
dbe46f8a52 selgame: test code elimination. (nw) 2016-03-01 03:02:20 +01:00
dankan1890
8c294708eb selgame: improved ROM-less and availability checking at startup. (nw) 2016-03-01 02:17:48 +01:00
Vas Crabb
a830ea7627 * Support *n conversion in stream_format/string_format
* Make stream_format return characters printed
* Add iostreams with std::vector storage
* Move to type-safe templates for logerror and popmessage
* Remove now-unnecessary I64FMT from calls to logerror/popmessage
* Put some lib/util stuff in util:: namespace
* Some fixes to Japanese translation
2016-03-01 06:52:36 +11:00
dankan1890
d5ce1264a5 ui: changed filter label from "Originals" to "Parents" (MT06143) 2016-02-29 10:22:58 +01:00
dankan1890
20f8eb021b some strings internationalization. (nw) 2016-02-28 22:57:47 +01:00
Vas Crabb
63f0a918de Clean up a bit more legacy code 2016-02-29 01:53:08 +11:00
Vas Crabb
06a4d861f8 Clean up Japanese translations a little
- be more consistent spacing/punctuation
- remove some bad translations that are worse than nothing
- add/update a few translations
2016-02-28 20:23:41 +11:00
Vas Crabb
aec01e7407 Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format
Update MAME to use new function
Instantiate ODR-used static constant members
Make some of the UI code more localisable
Remove use of retired functions in tools
2016-02-28 13:36:19 +11:00
dankan1890
d38c1610b8 ui: Moved options "Configure Directories" and "Save Configuration" into "Configure Options" menu.
Removed unnecessary icons from the toolbar (performed the same actions of entries already in the menu).
Proper handling the export of the list.
Updated the .po files.
2016-02-27 21:33:39 +01:00
dankan1890
04d1948ee8 ui various changes:
* extended keyboard navigation in the UI on the right side.
* added the skeleton for a configuration menu for single machine.
* fixed bug in building the search path for images.
2016-02-27 03:31:08 +01:00
Robbbert
4a3926b1eb ui: use appname instead of hard-coded MAME for main title. 2016-02-26 21:53:50 +11:00
dankan1890
b793ccd98e ui: key handler fix. (nw) 2016-02-25 21:36:55 +01:00
dankan1890
67d422298a removed unused code. (nw) 2016-02-25 20:48:34 +01:00
dankan1890
08d84121d4 more UI internationalization. (nw) 2016-02-25 16:38:55 +01:00
dankan1890
d7ca0361dc menu: fixed missing mouseover highlight for in-game menu. (nw) 2016-02-25 16:29:37 +01:00
dankan1890
d43bf65b16 ui: Enabled user interface navigation through UI_CONFIGURE button (tab key by default). [Maurizio Petrarota] 2016-02-25 16:25:22 +01:00
dankan1890
8241b6c0ba dirmenu: fixed DATs file reloading. 2016-02-25 15:49:38 +01:00
Miodrag Milanović
e934aa93db Revert "New driver specifiers; modify -listclones, -listsource; add -listtree" 2016-02-25 14:04:13 +01:00
Miodrag Milanović
1e7debe9a1 Merge pull request #650 from ajrhacker/listclones
New driver specifiers; modify -listclones, -listsource; add -listtree
2016-02-25 08:22:23 +01:00
AJR
3fc0787fa8 New driver specifiers; changes to -listclones, -listsource; add -listtree
Five new specifiers for driver enumeration and all commands depending thereon:
- @source.cpp matches all drivers in source.cpp
- ^driver matches driver and all its clones
- :drivbios matches drivbios and all drivers having it as their BIOS
- ^ matches all drivers excluding clone sets
- : matches all BIOS roots

Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names.

The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output.

The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers.

The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots.

The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands.

Fix include_all counting error causing assert to fail in find_approximate_matches (nw)

Relax dependencies on drivenum.h in UI headers (nw)
2016-02-24 18:47:37 -05:00
dankan1890
bc2a4317ca selsoft: fixed search for software list. (nw) 2016-02-24 23:28:16 +01:00
Katsuhiko Kagami
095341ff52 When i change the HIDE_MENU on the customize UI by cursor key, LANGUAGE_MENU also would be changed .fixed it. 2016-02-24 16:47:19 +09:00
Miodrag Milanovic
3abcaee63f Cleanups and version bump 2016-02-24 07:46:57 +01:00
Miodrag Milanović
25dca0c671 Merge pull request #633 from motoschifo/master
Fix reset of cheats when entering autofire menu
2016-02-22 09:52:47 +01:00
Miodrag Milanovic
b2a230cd15 placing back UI related settings to emu_options on popular demand (nw) 2016-02-22 09:14:49 +01:00
dankan1890
f72bba93fd oops. (nw) 2016-02-21 20:22:09 +01:00
dankan1890
2b90f54c4b compile fix. (nw) 2016-02-21 20:12:13 +01:00
dankan1890
d45335ec05 ui: more localization and code fix. (nw) 2016-02-21 19:55:38 +01:00
Michele Fochi
118abc08ef Fix reset of cheats when entering autofire menu 2016-02-21 18:44:20 +01:00
dankan1890
859cec4603 ui: localization part1. (nw) 2016-02-21 16:38:05 +01:00
Miodrag Milanovic
fafa333e3f Ubuntu is having issues if braces are in path (nw) 2016-02-21 13:17:59 +01:00
Miodrag Milanovic
bcaaa956e0 Generate mo files if po are updated, added _ instead of space char due to makefile restrictions (nw) 2016-02-21 11:34:22 +01:00
Miodrag Milanovic
f3ce55e924 Added ability to work with static text translation (nw) 2016-02-21 10:04:57 +01:00
Miodrag Milanovic
f8b5ed3621 Fixed language selection and marked it for saving (nw) 2016-02-21 09:19:57 +01:00
Miodrag Milanovic
9527a89b2c cleanup (nw) 2016-02-21 08:52:18 +01:00
dankan1890
c890643fd5 cleanup. (nw) 2016-02-21 05:03:06 +01:00
dankan1890
526d56d359 Added option in the "Customize UI" menu for selecting the language. (nw) 2016-02-21 04:59:39 +01:00
therealmogminer@gmail.com
bf033cfe00 Final fixups, get sliders working again, nw 2016-02-21 03:03:29 +01:00
therealmogminer@gmail.com
9a47a870df First take on render API reorg, nw 2016-02-21 03:03:23 +01:00
Miodrag Milanovic
7ea2c6b58e fix compile (nw) 2016-02-20 22:38:02 +01:00
Miodrag Milanovic
0bc4173bd3 Added multi-language support for MAME [Miodrag Milanovic]
Added sample language to show display in cyrillic use
mame -lang "Serbian (Cyrillic)"
2016-02-20 22:31:41 +01:00
Miodrag Milanovic
2041d88978 Remove redundant defines, in order to make translation easier (nw) 2016-02-20 17:40:05 +01:00
Miodrag Milanovic
82683676ad rename (nw) 2016-02-20 11:38:20 +01:00
Miodrag Milanovic
f481b60978 limit internationalization to UI where it belongs (nw) 2016-02-20 10:10:35 +01:00
dankan1890
4dc5884c97 ui: search fixed in filesel, dirmenu and swlist. 2016-02-20 02:52:00 +01:00
Miodrag Milanovic
cc1ca5eb93 Doing some preps for internationalization (nw) 2016-02-19 15:58:46 +01:00
Miodrag Milanovic
a09493eb20 Fix for UI crash at start (nw) 2016-02-18 08:35:05 +01:00
Miodrag Milanovic
d9299cb64a fix compile, unused variables (nw) 2016-02-17 13:22:36 +01:00
dankan1890
32630f09aa menu: allocate and draw icons only if available. nw 2016-02-17 11:32:06 +01:00
dankan1890
3f04c5f932 dsplmenu: fixed display options. nw 2016-02-15 20:29:40 +01:00
therealmogminer@gmail.com
b0a7bcd346 Significant speed improvements to the BGFX renderer. [MooglyGuy] 2016-02-15 17:57:28 +01:00