summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/d64_dsk.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-07-06 00:23:20 +1000
committer Vas Crabb <vas@vastheman.com>2019-07-06 00:23:20 +1000
commitc38a3395e94e38a37cf6b8efdf9f49a5c9d415df (patch)
tree8ad5f6ee37953b4d19241ce31d11da23a712cc3e /src/lib/formats/d64_dsk.h
parent7ee50ffec7afabd20a027f89e47f11b116301071 (diff)
Make layout format more flexible:
* There is no longer a concept of "layers" - there are only screens and elements. * Elements are now instantiated with <element ref="..."> * Screens and elements can have explicit blending mode specified with blend="..." * Default blending mode for screens is "add" and default for other elements is "alpha" * Other supported modes are "none" and "multiply" * This removes the options to enable/disable layers individually - use views instead * Legacy layouts can still be loaded, and support won't be removed for at least a year The current artwork model is over-stretched. It's based on a Space Invaders cabinet model, and isn't applicable to a lot of the systems MAME emulates now. The fact that MAME has to switch to an "alternate" mode to deal with games like Golly! Ghost! without requiring pre-matted bitmaps shows that the Space Invaders model wasn't even adequate for general arcade use. It shows in that for a lot of the systems that heavily depend on artwork, people just seem to randomly choose layers for elements until they get something that works. Also, the fact that MAME will switch to an alternate (Golly! Ghost!) mode depending on the combination of elements is a trap for people learning to make artwork. There are cases that the current approach of implying the blending mode from the layer doesn't work with. Examples include LEDs behind diffusers (requires additive blending for layout elements), and mutliple stacked LCD panels (requires RGB multiplication for screens). For configurability, it's now a lot easier to make multiple views using groups. For example, if you want to make it possible to hide the control panel section of your layout, you can put the control panel elements in a group and create views with and without it. I will gradually migrate the internal artwork to use the new approach. I have an XSLT stylesheet that helps with this, but I'm not comfortable adding it because it isn't a complete solution and it still requires manul steps. I wanted to get the re-worked pointer handling done sooner so I could push them both at the same time, but unfortunately various things have prevented me from progressing as quickly as I wanted to. Sorry guys, that stuff's going to have to wait.
Diffstat (limited to 'src/lib/formats/d64_dsk.h')
0 files changed, 0 insertions, 0 deletions
class='column1'>| | | | | | | Added menus for controlling toggle inputs, and showing recognised input devices and control state. Moved input menu options off main menu to a submenu, as there are a lot of them now. Moved menu heading drawing into base class, added headings to more menus, and made headings more consistent with the menu items used to reach them. Also made terminology more consistent. Changed the default names for buttons and hat switches/D-pads to use 1-based numbering. DirectInput still returns 0-based button numbers for some devices. Removed local copy of MinGW xaudio2.h as it’s now included in the MSYS2 package. Also fixed building the DirectSound sound output module with the SDL OSD on Windows - the Windows headers are sensitive to include order. Started adding documentation for menus, to hopefully help people find menus they remember seeing but can't recall how to access. For translators, this makes terminology more consistent. In particular: * "Settings" is preferred over "configuration" in a number of places, as the latter can be construed as referring specifically to settings stored in .cfg files in the cfg_directory folder. Also, references to saving machine configuration could be interpreted as relating to the settings on the "Machine Configuration" menu. * The controls on host input devices (e.g. keys, buttons, joystick axes) are referred to as "controls", while emulated inputs are referred to as "inputs". * The menus for assigning host controls to emulated inputs are called "input assignments" menus to distinguish them from other input settings menus. * Combinations of controls that can be assigned to emulated inputs are referred to as "combinations" rather than "sequences". * The potentially confusing term "ROM set" has been removed altogether. Use "short name" to refer to a device or system's identifier. * "System" is used in almost places to refer to a complete, runnable system rather than "Machine". * "Driver" is now only used to refer to source files where systems or devices are defined - it is no longer used to refer to individual systems. * A few more menus have message context for the messages. This makes it a bit easier to guess where the messages are used. It also means you can use different translations in different places if necessary (e.g. if the same English text should be translated differently as an item in one menu and as a heading in another). * Bump version to 0.244mame0244 Vas Crabb2022-05-241-2/+2 | * Bumped version to 0.243 Vas Crabb2022-04-281-2/+2 | * Bump version to 0.242mame0242 Vas Crabb2022-04-011-2/+2 | * Bump version to 0.241mame0241 Vas Crabb2022-02-231-2/+2 | * Bumped dates to 2022, bumped docs version to 0.240, fixed some license files ↵ Vas Crabb2022-01-291-3/+3 | | | | that had somehow been screwed up, cleaned up some metadata. * Refactor html docs build process to use new template and env variable Firehawke2021-12-041-0/+9 | * -frontend: Fixed crashes switching between favourites and other filters. Vas Crabb2021-11-231-3/+3 | | | | | | | * Also made the system and software selection menus a bit less eager to reselect the first item. -docs: Bumped documentation version to 0.238. * -docs: Started documenting plugins. Vas Crabb2021-10-241-2/+2 | | | | | | | | | * Also added a couple of missing command-line options, and added a local table of contents to the (rather long) command line options page. -Added a separate CI target for localisation updates that produces an artefact, and removed the message catalogs from the trigger paths for the Linux CI build. * Update "2020" text to "2021" (#7713) Stiletto2021-01-281-1/+1 | | | Update "2020" text to "2021". * version bump for 0.227, some documentation clean-upmame0227 Vas Crabb2020-12-311-2/+2 | * Finished adding new mechanism for allowing parts of views to be hidden. Vas Crabb2020-09-071-4/+5 | | | | | | | | | | | | | | | | | | | | | | Changed name of element to "collection" and initial visibility attribute to "visible", and added them to documentation. Also added them to complay.py. Fixed issue with collection inside group, and improved initial view selection behaviour. Updated some internal layouts to demonstrate new features, including et3400, irrmaze, ltcasino, mekd3/mekd4, seawolf and vgmplay. Removed all uses of cpanel, marquee and overlay from internal layouts and removed them from complay.py to actively discourage use. Also cleaned up view names in layouts that were using them in place of spaces, and removed some superfluous name attributes on elements that won't do anything useful with an output value anyway. Made vgmplay cycle visualiser modes when visualiser screen is clicked. Fixed a copy/paste error in bus/rs232/hlemouse.cpp while I'm at it. * formats: Get rid of more inappropriate use of emu_fatalerror (and fix some ↵ Vas Crabb2020-08-301-1/+1 | | | | spelling issues, etc. while I'm at it) * Fix smartquotes by disabling them: While smartquotes are somewhat ↵ Firehawke2020-04-211-0/+4 | | | | configurable, it's better if we don't use them at all. Makes sure there are no hidden pit traps for the users. (#6576) * Happy New Year 2020 (nw) (#6128) Stiletto2020-01-041-3/+3 | | | Happy New Year 2020 (nw) (#6128) * Update documentation (nw)