mame/scripts
Vas Crabb 4f495994c4 -ui: Made zoom controls a bit more intuitive.
* The UI controls are described as zoom in/out, but they had the
  opposite effect on the palette and tile viewers.  That has been
  changed to make them consistent with the tilemap viewer.
* Made the default zoom key not act as a toggle.  People are familiar
  with the function of Ctrl+0/=/- in web browsers, so making them behave
  similarly in MAME should make it more approachable.  Also added the
  default zoom key to the relevant documentation page.
* Implemented the default zoom key for the palette and tile viewers.
* In the tilemap viewer, if the view is in default expand to fit mode,
  zoom in/out starting from the actual zoom ratio.  Once again, this
  behaves more like the zoom controls in a web browser displaying an
  image so it should be more intuitive.
* Made more messages from the tilemap viewer localisable.

-util/zippath.cpp: Fixed MT08074.

* There were multiple issues at play here.  After #8443 was applied,
  is_root was simply never returning true on Windows, as OSD_WINDOWS
  isn't actually defined outside libosd and libocore.  This caused
  phantom parent items to appear in disk roots on Windows, but it meant
  that the check in zippath_resolve would always fail so the trailing
  backslash would be trimmed.  Fixing the macro test in is_root meant
  the trailing backslash from C:\ would no longer be trimmed, which
  caused the stat in zippath_resolve to fail.

-bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost.

-Reduced tag map lookups in several drivers and devices.

-util/coretmpl.h: Removed an overload of bitswap that can be avoided
 using if constexpr.

-Added doxygen comments to some classes, and fixed several doxygen
 warnings.

-util, osd: Test for _WIN32 rather than WIN32.

* In C++17 mode, WIN32 is no longer a predefined macro, although various
  things in 3rdparty define it to maintain legacy support.  We're better
  off moving forward anyway for when WIN32 disappears entirely.  (WIN32
  is not a reserved name, while _WIN32 is, starting with an underscore
  follwed by an uppercase letter.)
2021-09-06 06:34:42 +10:00
..
build Fairly significant overhaul of Lua engine and some cleanup. 2020-11-25 19:18:26 +11:00
font srcclean and manual cleanups (nw) 2017-12-24 15:03:04 +11:00
minimaws -emu/devfind: More cleanup/consistency changes. 2020-11-13 15:26:31 +11:00
resources Tidy up loose ends: 2021-01-06 19:09:16 +11:00
src Decoupled RPK logic from TI-99 cartridge code. (#7880) 2021-09-06 03:48:30 +10:00
target -ui: Made zoom controls a bit more intuitive. 2021-09-06 06:34:42 +10:00
xslt remove references to "mame64" from comments 2021-03-29 15:26:38 +02:00
extlib.lua Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
genie.lua Revert "enable BGFX_CONFIG_DEBUG to get proper asserts" 2021-08-20 09:43:41 +02:00
toolchain.lua Fix compilation with Emscripten versions greater than 2.0.8 (#7794) [Sam Clegg] 2021-04-16 02:44:16 +00:00