Commit graph

  • 7250d0b00b Added a "MAME name to real name" translator. Uses the latest version of MAME for names. Hopefully will be replaced by emulator scripting in the future... Aloshi 2014-05-28 09:34:25 -0500
  • 2342521316 "Fade" transition style now affects system list extra transition style. Aloshi 2014-05-27 17:12:08 -0500
  • 1122476de6 Added "ignore" plaform. If <platform> is set to "ignore", the system will not show up in the "SCRAPE NOW" systems list, and the "SCRAPE" button will be missing in the "EDIT METADATA" screen. Useful for single-game systems, systems made up of shortcuts, and pre-configured systems in distributions. Aloshi 2014-05-26 20:17:17 -0500
  • d102ef1485 Add missing #include to fix building on Linux. Aloshi 2014-05-26 19:51:07 -0500
  • 67e266338e Fixed assert being triggered due to divide by zero in HelpComponent::updateGrid due to SVG textures being deinitialized when closing ES with a menu open. Aloshi 2014-05-26 17:52:55 -0500
  • cb54d8ae6d Changed "platform IDs" to just "platform", and now names are used instead of numerical IDs. Check src/PlatformIds.cpp for a complete list. Aloshi 2014-05-26 17:31:16 -0500
  • b221ecdd94 Fix for empty paths breaking in getCanonicalPath(). Aloshi 2014-05-26 17:21:48 -0500
  • e5ac225362 Ctrl-R now also reloads the system view when in debug mode. Aloshi 2014-05-24 11:09:45 -0500
  • 6cf6e62b85 Fixed ImageComponent not using mColorShift's transparency. Fixes using transparency in <color> tag. Updated documentation to emphasize the fact that you can control transparency with the <color> tag. Aloshi 2014-05-24 10:49:59 -0500
  • 7ba1bce133 Assert malloc() calls do not return NULL. Aloshi 2014-05-23 19:03:10 -0500
  • 3eda72b82b Fix breaking embedded resources with getCanonicalPath. Aloshi 2014-05-23 18:38:31 -0500
  • b15f3aeec0 Use canonical path names for resource lookup (Font, TextureResource). Fixes "./../art/file.png" causing duplicates when used in multiple systems, even if it refers to the same file. Remove debug messages for SVGResource and ImageComponent. Aloshi 2014-05-23 17:21:01 -0500
  • 1e7ced2c66 Two fixes with SVG rasterizing: 1. Original width/height were being returned as integers, even though they can be floats (see SVGResource::getImageSize()). Function also renamed to be more descriptive (renamed to getSourceImageSize()). 2. Now we always round height and scale width from the rounded height when doing scaling, since SVG rasterization scale is determined from height. This seems to fix some 1px cutoff I was seeing, but I'm not sure if it still works for images with extreme aspect ratios that are taller rather than wider. Aloshi 2014-05-23 16:51:56 -0500
  • d2c7de3802 Fix for building with VS2013. Aloshi 2014-05-23 16:51:24 -0500
  • 8f3a02d859 Save gamelist.xml after each game is scraped in multi-scrape mode. Show more detailed breakdown of VRAM. Looks like there's a bug with duplicate fonts right now. Aloshi 2014-05-22 15:11:19 -0500
  • 9aaa5e79d9 Fixed missing bottom spacer on ComponentLists. Aloshi 2014-05-21 16:33:10 -0500
  • 7f62b06d1a Single-line TextComponents now stop at the first newline. Prevents text going outside of the text area if there's a newline early in a description. Aloshi 2014-05-21 13:10:39 -0500
  • 4dd60c14e7 Rewrote the text wrapping algorithm. Fixes some subtle issues with newlines at the end of a word that would be at the end of a line. Still not quite perfect (sometimes goes to a new line when it's not necessary), but at least things aren't overflowing out of TextComponents anymore. Aloshi 2014-05-18 21:13:36 -0500
  • 0d39586c2d Adjusted ScrollableContainer autoscroll. Scroll delay and speed are now hardcoded instead of arguments. Changed resetAutoscroll() to just reset(), which now also resets cursor position. Autoscroll now automatically returns to the top (via reset()) after 10 seconds. Aloshi 2014-05-18 20:15:15 -0500
  • 75e31d915c Escape now closes the "configure a device" dialog. Does not work on the first run. Aloshi 2014-05-16 19:14:22 -0500
  • 44163b8811 Adjusted size of single game scraper window. Aloshi 2014-05-16 19:04:40 -0500
  • b57c6b412c Fix buildTextCache not taking line spacing into account for metrics. Fix TextComponent's calculateExtent not taking line spacing into account. Aloshi 2014-05-16 18:13:19 -0500
  • ed1612a341 Fixed RatingComponent theme image path changes not triggering a proper resize (making pixelized SVGs). Aloshi 2014-05-16 17:49:02 -0500
  • 2f02ebeada Fixed crash when gamelist view gets recreated while GuiGamelistOptions is open. Ugly hack to fix it, but it will probably get rewritten in the future anyway. Aloshi 2014-05-16 17:40:58 -0500
  • cf2294380a Fixed some crashes. Corrected "B" vs. "Start" behavior in GuiMetaDataEd (was inverted). Aloshi 2014-05-16 17:19:25 -0500
  • bfdec378b8 Fixed rounding in HelpComponent. Floating point is a bitch. Aloshi 2014-05-16 16:26:11 -0500
  • 95e1d8c7d8 Changed some help prompts. Added back button to OptionListComponent in single select mode. Aloshi 2014-05-16 16:21:33 -0500
  • e051b75b4f Fix +/- 1px uneven line spacing in textlists. Center selector bar on selected row when selector bar height does not match row height. Aloshi 2014-05-16 15:58:17 -0500
  • 90cc0991a3 Changed "B" to "Back" in the metadata editor. "Start" closes all windows. Aloshi 2014-05-16 15:42:37 -0500
  • 0743828b77 Added toggle for left/right changing system. Analog controller users everywhere rejoice! Aloshi 2014-05-14 21:31:26 -0500
  • 4f33a3a963 ViewController renders help prompts early so they appear "below" the fade. The "fade" transition style can now be "cancelled" out of like the slide animations. Aloshi 2014-05-14 20:58:16 -0500
  • b8ebbc84bb Added a prompt when you try to close GuiMetaDataEd with unsaved changes. Aloshi 2014-05-14 20:05:34 -0500
  • f8355ef8b3 Merge identical help names for dpad-mapped actions. Aloshi 2014-05-14 19:20:18 -0500
  • f32e8fff5a Fixed getCleanName(path). Aloshi 2014-05-14 19:06:40 -0500
  • 91561480b3 Added <lineSpacing> tag to textlist element. Aloshi 2014-05-14 18:27:22 -0500
  • fd2281afff Fix renderer not deinitializing when no systems are found (affects RPi). Aloshi 2014-05-14 18:02:32 -0500
  • 654b93dd94 Scraper GUIs open faster. The ScraperSearchComponent uses a custom font size for metadata/descriptions. This was causing a short hang when it got resized multiple times (because it would rasterize like 4 fonts unnecessarily). So, I added an "update" parameter to ComponentGrid::setRowHeightPerc/setColWidthPerc. This can be used to only cause *one* resize/reposition "event" when setting multiple cell sizes (as is typical) by passing "false" as the last argument and then using ComponentGrid::setSize after setting all of the cell sizes. Aloshi 2014-05-14 17:47:28 -0500
  • 330f45d5fe Added ZX Spectrum to PlatformIds.h and TheGamesDB scraper. Aloshi 2014-05-14 17:24:01 -0500
  • fe7f7f983b Added <lineSpacing> tag to text elements. Accessable with TextComponent::setLineSpacing(float spacing) in C++. Aloshi 2014-05-14 17:01:40 -0500
  • 7e5f161271 Approximate size for MenuComponents that exceed max height so that scrolling still fits within row height multiples. Aloshi 2014-05-13 13:49:52 -0500
  • 5d0df7acf8 Added proper text alignment to the Font class. Multiline text is now centered/right-aligned correctly. Aloshi 2014-05-12 20:03:02 -0500
  • 4cf206d3eb Some refactoring to the Font class. Aloshi 2014-05-12 17:05:28 -0500
  • b2193c3bf5 Fixed TextListComponent scrolling so text always clips within margins. Made all gamelists get recreated when GuiScraperMulti closes since there isn't a way to catch FileData changes efficiently yet. Aloshi 2014-05-03 16:19:28 -0500
  • e2458f5d92 Added <forceUppercase> theming tag. Applies to <text>, <textlist>, and <datetime> elements. See THEMES.md for details. Aloshi 2014-05-03 14:51:50 -0500
  • 11065cc582 Fixed color of GuiMetaDataEd title. Tweaked "fade" transition when launching a game. Aloshi 2014-05-02 10:31:10 -0500
  • 64d6af09b4 Moved Alignment enum from inside TextComponent to global namespace in Font.h. Removed some old functions in Font. Aloshi 2014-05-01 14:47:33 -0500
  • cf8801701a Improved "slide" transition. Still not happy with the implementation, it's not a true carousel like the SystemList. Aloshi 2014-05-01 12:57:31 -0500
  • fd5508a749 Fixed rare crash when pressing start in GuiSettings to close windows. Changed scraping complete message a bit. Made spacing in GuiMsgBox better when there are multiple lines. Aloshi 2014-05-01 11:37:40 -0500
  • 78a3f94e1e Changed folder structure significantly. The ~/.emulationstation folder is now organized into categories. Everything probably broke again. Added support for "theme sets," instead of just one theme for each system. Read the top of THEMES.md for more information. Added support for reading from /etc/emulationstation/ for themes, gamelists, and es_systems.cfg. Updated documentation to match. Aloshi 2014-04-30 21:12:45 -0500
  • e33e76cb5e Better styling for single game scraping screen. Aloshi 2014-04-30 15:57:12 -0500
  • b33a03fe83 Transition style now also affects launch transition. "Fade" only does a fade. "Slide" does the old move camera + fade effect. Aloshi 2014-04-30 12:40:25 -0500
  • a9514843b4 Changed metadata text entry prompts to be more descriptive. Aloshi 2014-04-30 12:16:56 -0500
  • 63113aeea7 Start now closes most submenus. Aloshi 2014-04-30 11:55:10 -0500
  • fc96849f08 Fixed input not getting passed to DateTimeComponents in GuiMetaDataEd. Fixed vertex rounding for RatingComponent. Rating no longer "wiggles" as you change the value in GuiMetaDataEd. Aloshi 2014-04-27 22:03:55 -0500
  • 2abc4f2f3a Add number of games skipped to scraper result dialog. After pressing the "SKIP" button, the cursor is now reset to the result list. Aloshi 2014-04-27 21:47:06 -0500
  • 0b3a0d0e4e Fixed compiling on Linux. Aloshi 2014-04-20 14:23:49 -0500
  • bff6295bb0 More repositioning for ScraperSearchComponent in auto mode. Aloshi 2014-04-19 18:56:10 -0500
  • b0f36b0a91 Adjusted design of ScraperSearchComponent in "auto" mode. "Select" now closes the game options menu if it's already open. Aloshi 2014-04-19 18:18:17 -0500
  • 84565354dc No longer show "input" and "skip" buttons when scraping in auto mode. Fixed ScraperSearchComponent stopping in auto mode when it found a game with no results. Aloshi 2014-04-19 17:24:59 -0500
  • 04df8fece6 Added active/inactive state to TextEditComponent. Aloshi 2014-04-19 16:58:01 -0500
  • b4f6f98e1a Fixed RatingComponent height on ScraperSearchComponent. Removed clip rect for TextComponent. Needed to set TextComponent texst area size to letter height keep spacing right, but special characters like ()[!] drop lower even when capitalized, and would get cut off. Aloshi 2014-04-19 16:29:59 -0500
  • f601531ec6 Added "displayName" to MetaDataDecls and updated GuiMetaDataEd accordingly. This was "desc" gets displayed as "description", spaces can be used, etc. Aloshi 2014-04-19 15:38:55 -0500
  • 8ffa56e652 Changed title format for GuiMetaDataEd. Started fixing some alignment stuff for the editors too. Aloshi 2014-04-19 15:21:15 -0500
  • d0416f8634 Can now specify font for MenuComponent's title. Aloshi 2014-04-19 14:15:44 -0500
  • c7434c52fd Added spacing to rating stars. Aloshi 2014-04-19 13:52:56 -0500
  • dedfcfea4c Split busy animation into its own component for reusability. Changed the design a bit. The ScraperSearchComponent now grays out entirely + displays the busy animation in the center. Aloshi 2014-04-19 13:37:10 -0500
  • 6d4288f245 Added busy animation + "WORKING..." to the ScraperSearchComponent. Aloshi 2014-04-18 19:46:55 -0500
  • 4db210f770 Added AnimatedImageComponent. Just animates a sequence of images, very straightforward. Added files for busy animation. Aloshi 2014-04-18 19:00:49 -0500
  • e26c927aef Merge branch 'showgamecount' into unstable Aloshi 2014-04-18 17:33:28 -0500
  • a9622126cb Tweaked search window size. Aloshi 2014-04-18 17:31:56 -0500
  • da581b70f2 Changed how game count is shown. Aloshi 2014-04-18 17:28:28 -0500
  • a61b8fb18e Merge branch 'unstable' into showgamecount Aloshi 2014-04-18 13:08:55 -0500
  • 43bc4f5fe2 Changed InputManager to be a singleton. Considering it has global state I don't know why it was being kept as part of the Window class. Aloshi 2014-04-18 13:07:32 -0500
  • 7ef4d2f89e Display number of games available under SystemView. Aloshi 2014-04-18 12:27:00 -0500
  • b968349864 Improved animation system. Now supports animation delays, canceling, and forcibly finishing animations. See GuiComponent::cancelAnimation(), finishAnimation(), and new parameters for setAnimation(). Aloshi 2014-04-18 12:19:46 -0500
  • e842321b00 Removed dependency on libboost-regex. It was kind of silly to pull in the entire lib for exactly one regular expression. Aloshi 2014-04-16 12:32:40 -0500
  • 8608ecc9eb Added cancelAnimation(slot) to GuiComponent. Like stopAnimation, but does not call finishedCallback. All animations are now canceled when a GuiComponent is deleted (fixes a crash when closing ES while the "launch game" animation is playing). Aloshi 2014-04-14 21:03:11 -0500
  • fc5ca0019c Added version string to bottom of the menu. Changed around some version string constants. Fixed GuiInputConfig assigning "key up" Input instead of the "key down" input (breaks joystick axes, generates warnings). Aloshi 2014-04-13 19:30:24 -0500
  • b88e99b9bf GuiInputConfig now supports hold-to-skip for certain inputs. InputManager now properly sends Backspace keydown input events. InputConfig now supports unmapping particular inputs by name. Aloshi 2014-04-12 21:09:54 -0500
  • 11f19a80d3 Add -O3 flags back to gcc compilation. Aloshi 2014-04-12 15:14:40 -0500
  • ac0bdb47ed Optimized the hell out of ImageComponent. (been saving this one for a rainy day...) Fixed sort order assert triggered by std::sort when sorting help prompts. Aloshi 2014-04-11 20:48:13 -0500
  • 9955261a1e Changed Window to cache the framerate string as a TextCache instead of regenerate it every frame which was significantly impacting the framerate because I am dumb. Aloshi 2014-04-11 19:42:04 -0500
  • 1b66150fe7 Help prompts are now sorted, to the order [dpad] [face buttons] [start/select]. Aloshi 2014-04-06 19:24:01 -0500
  • e5bada7f51 Some styling changes, a little refactoring of RatingComponent. Aloshi 2014-04-06 19:15:02 -0500
  • 062a004e4a Added support for automatic rasterization sizes (leave width or height as 0). Aloshi 2014-04-06 18:55:57 -0500
  • cafa1b5b8d Fixed dpad_all.svg. Added "DebugText" setting that causes TextComponents to draw a background of their size + the area of their TextCache. It can be toggled with Ctrl-T when running with --debug. Added std::cout output when specifying overriding home path. Aloshi 2014-04-05 12:48:38 -0500
  • 9acfda6e1a New "GuiGamelistOptions" to replace fast select. Aloshi 2014-04-05 00:41:08 -0500
  • c1385d4834 Updated nanosvg. Aloshi 2014-04-04 15:00:54 -0500
  • 480b19dcca Fixed some missing settings. Aloshi 2014-04-04 14:12:28 -0500
  • 526c0bb038 Fixed an error with GuiInputConfig initialization that was triggering an assert. Aloshi 2014-03-29 18:42:40 -0500
  • 8d67cc1053 Fix edge case with image vertex rounding leading to texture-ImageComponent size incongruencies. Aloshi 2014-03-29 18:03:38 -0500
  • aa65a80039 Redid SystemView to keep "selected" versions of logos. Should make SVG logos look better + no more pixelated text. Aloshi 2014-03-29 16:55:32 -0500
  • e719a867be Updated nanosvg. Aloshi 2014-03-29 08:51:59 -0500
  • 6f64e647b9 GuiScraperMulti now reports the number of games scraped. Added proper horizontal padding to GuiMsgBox. Aloshi 2014-03-28 20:58:45 -0500
  • 391e299f79 Give an error message if a scrape is started with no games selected. Aloshi 2014-03-28 20:08:59 -0500
  • b3dcdb52eb Added vram usage tracking (font textures + normal textures). Aloshi 2014-03-27 16:47:25 -0500
  • 58452b4e70 Updated help SVGs with better spacing. Fixed NinePatchComponent not accepting sizes less than the original texture. Design tweaks to GuiTextEditPopup. Statistics are no longer displayed in GuiMetaDataEd. Aloshi 2014-03-25 18:41:50 -0500
  • 45428dd17b Added new TextEditComponent graphics. Aloshi 2014-03-25 18:10:35 -0500
  • 41d8263086 Finishing touches on ScraperSearchComponent. Aloshi 2014-03-25 17:47:36 -0500
  • e931a51017 Can now press Ctrl-G to toggle show all borders on all ComponentGrids. Aloshi 2014-03-25 17:46:58 -0500