663 Commits

Author SHA1 Message Date
Pieter Hulshoff
0ed34b0688 Pushing a collection should not trigger a menuEnter event for the scrolling
list. These events should be handled separately.
2016-06-10 15:46:02 +02:00
Pieter Hulshoff
6af237ebbf Removed all old layouts. The default is to be changed/updated, and all
other layouts will be updated, and made available via the forums.
2016-06-10 13:54:32 +02:00
Pieter Hulshoff
208fa0c23b Fixed remembering last selected game and playlist. 2016-06-10 13:31:39 +02:00
Pieter Hulshoff
a55fd84d58 Added animation types maxWidth, maxHeight, and nop (no-operation; do
nothing).
Fixed onHighlightEnter and onHighlightExit animations, which were not
started at all.
2016-06-10 12:10:36 +02:00
Pieter Hulshoff
537322f9c0 Added support for layouts per collection. When switching collections,
RetroFE will look for layout.xml and corresponding art in the
collections/<collection name>/layout/ subdirectory of your chosen layout,
and load that layout if it is available.
2016-06-10 08:58:41 +02:00
Pieter Hulshoff
1157096f55 Added mode attribute "layout" and "systemlayout" to allow art to be loaded
from the layout directory rather than the collections directory. Their
standard counter modes are no mode attribute, and mode="system".
Example:
  no mode:       load collections/MAME/medium_artwork/video/mslug.mp4
  mode "layout": load layouts/<layout name>/collections/MAME/medium_artwork/video/mslug.mp4
Example:
  mode "system":       load collections/MAME/system_artwork/device.png
  mode "systemlayout": load layouts/<layout name>/collections/MAME/system_artwork/device.png
2016-06-08 13:32:23 +02:00
Pieter Hulshoff
3f3a53e6c0 Removed cause for warnings regarding incorred initialization order. 2016-06-08 10:55:42 +02:00
Pieter Hulshoff
2c0d20f3bf Allow chaining of animations with the "from" attribute omitted. 2016-06-08 08:49:31 +02:00
Pieter Hulshoff
935a02dfd9 Removed playing of unload sound when switching game/collection selection. 2016-06-07 22:06:03 +02:00
Pieter Hulshoff
02cb0d584f Removed the use of NaN due to compiler issues. 2016-06-05 17:29:52 +02:00
Pieter Hulshoff
ccfc0325a9 Allow the omission of the "from" attribute from the animations in the
layout. This will start the animation from the current value rather than a
programmed one.
2016-06-05 11:37:46 +02:00
Pieter Hulshoff
9da55a844e Rewrote the animation activation functions and state machines to
remove/reduce the glitch behaviour.
WARNING: This will disable workarounds that have been used in the themes so
far; many if not all themes will need to be changed to work properly!
2016-06-05 09:32:48 +02:00
Pieter Hulshoff
4b05992a19 Windows time crashes were caused by unsupported %r parameter. Added
timeFormat attribute to the reloadableText layout element, with a default of
%H:%M (<24 hour>:<minutes>).
2016-06-03 10:07:10 +02:00
Pieter Hulshoff
382edc61f8 Changed time display code so it does not require C++11. 2016-06-01 10:29:02 +02:00
Pieter Hulshoff
064932c46f Added support for control type information:
- Use tag <ctrltype> in the meta XML.
- Use type "ctrlType" in the layout XML.
2016-06-01 09:55:00 +02:00
Pieter Hulshoff
2502607a04 Increased the size of the applicatoin name and current directory to 2K characters for Windows (KMetalMind). 2016-06-01 09:18:27 +02:00
Pieter Hulshoff
4107cd50e0 Added -std=c++11 to the C++ make flags. 2016-05-30 11:53:52 +02:00
Pieter Hulshoff
1226599489 Added support for time display. Use type="time" for the reloadableText. 2016-05-30 11:40:59 +02:00
Pieter Hulshoff
c250f28d37 Added support for adding the word Player or Players behind the number of players:
- Use type "numberPlayersPlayers" or "numberPlayersRangePlayers" in the layout XML.
- Examples:
  If number of players is 1:
  - type "numberPlayers" will print 1.
  - type "numberPlayersRange" will print 1.
  - type "numberPlayersPlayers" will print 1 Player.
  - type "numberPlayersRangePlayers" will print 1 Player.
  If number of players is 4:
  - type "numberPlayers" will print 4.
  - type "numberPlayersRange" will print 1-4.
  - type "numberPlayersPlayers" will print 4 Players.
  - type "numberPlayersRangePlayers" will print 1-4 Players.
2016-05-30 10:45:04 +02:00
Pieter Hulshoff
28e72b802b Added support for rating information:
- Use tag <rating> in the meta XML.
- Use type "rating" in the layout XML.
Added support for number of player information:
- Use tag <players> in the meta XML.
- Use type "numberPlayers" in the layout XML to get the #players.
- Use type "numberPlayersRange" in the layout XML to get the 1-#players range.
- Examples:
  If the number of players is 1:
  - type "numberPlayers will print 1.
  - type "numberPlayersRange will print 1.
  If the number of players is 4:
  - type "numberPlayers will print 4.
  - type "numberPlayersRange will print 1-4.
Added support for number of buttons information:
- Use tag <buttons> in the meta XML.
- Use type "numberButtons" in the layout XML.
Added support for number of joystick ways information:
- Use tag <joyways> in the meta XML.
- Use type "numberJoyWays" in the layout XML.
2016-05-30 10:16:57 +02:00
Pieter Hulshoff
c649ee0c13 Cancel idle animations when switching collections (KMetalMind). 2016-05-29 21:10:57 +02:00
Pieter Hulshoff
42ffacb1f9 Added support for flexible collection information printing. If the type of
the reloadableText matches the name tag in the collection's settings.conf it
will be printed.
2016-05-29 21:09:44 +02:00
Pieter Hulshoff
1ab7d129d0 Dead zone of analogue control has been made programmable by KMetalMind.
The parameter is in %, and is defined by deadZone in controls.conf, with a default value of 3 (current RetroFE behavior).
2016-05-28 18:47:27 +02:00
Pieter Hulshoff
bf24f6cba2 Fixed vertical alignment for text wider than the maximum width. 2016-05-28 08:55:24 +02:00
Pieter Hulshoff
7cc78a56bb Merged develop into default for release 0.7.1. 2016-05-25 08:42:40 +02:00
Pieter Hulshoff
bead1312f8 Fixed font color settings for menu items. 2016-05-20 10:03:26 +02:00
Pieter Hulshoff
a3bcc1b5e1 README.md edited online with Bitbucket 2016-05-14 11:34:53 +00:00
Pieter Hulshoff
338658e4ba Merged develop into default for release 0.7.1 beta. 2016-05-14 13:28:27 +02:00
Pieter Hulshoff
1061205d4f Fixed Windows compile errors. 2016-05-14 08:20:46 +02:00
Pieter Hulshoff
11c04d6fbc Fixed issues with playlists directory, and added warning messages. 2016-05-11 14:22:54 +02:00
Pieter Hulshoff
4e2cc30cc0 Added layer check when drawing components.
Increased maximum number of layers to 20.
2016-05-11 13:37:48 +02:00
Pieter Hulshoff
9150ec2079 Only draw scrollinglist at the requested layer index. 2016-05-11 12:54:50 +02:00
Pieter Hulshoff
784dfdca16 Added support for manufacturer's graphics for collections. 2016-05-11 12:06:43 +02:00
Pieter Hulshoff
5bd357c78a Do not switch to an empty favorites list. 2016-05-11 11:53:59 +02:00
Pieter Hulshoff
725e340d41 Standard directory access should be 755 in stead of 744. 2016-05-11 09:02:07 +02:00
Pieter Hulshoff
9c47adc9cc Corrected switching to favorites list by adding a separate function for that purpose.
Restricted playlist add/remove to games for now.
Fixed not writing playlist if the playlists directory does not exist; directory is now created.
2016-05-11 09:00:55 +02:00
Pieter Hulshoff
84d301dd5a Added random seed initialisation for proper random game selection. 2016-05-10 08:12:23 +02:00
Pieter Hulshoff
6189ba6d05 Added autoFavorites switch in main settings.conf to automaticaly switch to the favorites playlist if it is available. 2016-05-04 10:33:02 +02:00
Pieter Hulshoff
9ead070052 Added support for genre/manufacturer/year for collections, drawing the information from fields of the same name in the collection's settings.conf. 2016-05-04 10:22:01 +02:00
Pieter Hulshoff
93f6b65c1e Fixed letter up/down selection. 2016-05-04 10:01:28 +02:00
Pieter Hulshoff
11afa1dad4 Removed backslashes from Sega Genesys XML file. 2016-05-03 16:03:13 +02:00
Pieter Hulshoff
6aa0a452b5 Fixed font color bug, as implemented by KMetalMind. 2016-05-03 16:00:36 +02:00
emb
ba7a5ebfb9 Reverted ITEM_COLLECTION_NAME, yet again, caused bugs when preloading. 2015-10-28 22:52:44 -05:00
emb
2d188fd2b2 Support for checking for new keypresses. Fix playlist updating bug. 2015-10-27 22:42:15 -05:00
emb
6ff4acbd30 Added selectedOffset tag to support preloading and rendering of items not selected 2015-10-23 23:00:30 -05:00
emb
a5ef2bdcbc ReloadableText support for collectionName, collectionSize, and collectionIndex 2015-10-22 22:04:28 -05:00
emb
c19669e381 Suport new mame xml format (changed "game" to "machine"). 2015-10-22 20:55:32 -05:00
emb
8f2f1d5839 Random button press now sends notification to all components. 2015-10-21 21:53:36 -05:00
emb
cdba6f5df7 Playlist save support 2015-10-21 21:29:39 -05:00
emb
d1a45e650e Fixed another ScrollinList copy constructor issue (selecting wrong item) 2015-10-21 20:56:13 -05:00