Aloshi
489298ef26
Moved most of the sleep code into the Window class.
...
Input is now consumed on wake.
2014-06-01 19:14:22 -05:00
Aloshi
4439beceba
Made the help system themable.
2014-05-29 15:41:47 -05:00
Aloshi
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.
2014-05-14 20:58:16 -05:00
Aloshi
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.
2014-04-18 13:07:32 -05:00
Aloshi
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.
2014-04-11 19:42:04 -05:00
Aloshi
8928ce49ec
Small UI tweaks.
...
Replaced arrow text with an image.
Better frame.png (thanks Nils!).
2014-03-04 16:48:33 -06:00
Aloshi
4ef5f64ff3
Added on-screen help system.
...
Very intrusive right now. You can turn it off in the Settings menu until
that gets worked out.
2014-01-25 17:34:29 -06:00
Aloshi
ccea2a7e04
Removed some old effects code from Window.
...
Added a simple "LOADING" screen when ES starts up.
ViewController now preloads GameListViews so there's no lag when browsing
to a system for the first time.
2013-12-12 13:48:29 -06:00
Aloshi
a7359a2d08
Themes mostly stable, documentation updated
2013-11-21 16:47:26 -06:00
Aloshi
12dd8b028d
Disable sleep mode while scraping.
...
Fix to actually update metadata.
Write changes to gamelist.xml after each game is done.
2013-10-13 16:40:36 -05:00
Aloshi
a6dbaa2dea
Moved Font.h/.cpp to the "resources" directory (since it's a Reloadable).
2013-10-04 18:24:41 -05:00
Aloshi
b510aa8cd4
Moved ResourceManager to be a singleton.
...
The character count of the average Font::get decreased by 310%...
2013-10-04 18:10:39 -05:00
Aloshi
bd940c56b4
Added new game launch/return effect.
2013-08-06 08:15:20 -05:00
Aloshi
e2c30a568d
Added a Window::normalizeNextUpdate() method.
...
If you know something is about to cause the framerate to tank (e.g. theme
loading), you can tell the next update to be, at maximum, the average of
the previous five seconds of frames.
The framerate drawing code has also been moved to Window.
2013-07-17 01:47:02 -05:00
Aloshi
77e9f2d150
Refactor some of the startup code.
2013-07-09 05:37:37 -05:00
Aloshi
c8900f4099
Moved to class-individualized static gets for resources.
...
See issue #95 for discussion.
2013-07-09 00:44:24 -05:00
Aloshi
6b373924d2
Moved Fonts to be Resources.
...
Moved Renderer::drawText stuff to the Font class.
Fonts are now used as std::shared_ptrs.
2013-07-03 02:54:55 -05:00
Aloshi
90af5d47ab
Created the ResourceManager, Resource, and TextureResource classes.
...
The ResourceManager provides a unified interface for accessing resource
data, embedded or from the filesystem, with
initialization/deinitialization handled automatically behind the scenes.
It also keeps from creating duplicate resources (e.g. when two
ImageComponents use the same image file).
Audio still needs to be moved over to it.
2013-06-21 11:49:29 -05:00
Aloshi
424fcb0329
Basic GuiComponent refactor complete.
2013-06-02 10:08:32 -05:00
Aloshi
4747d70e1f
More work.
2013-04-08 12:40:15 -05:00
Aloshi
4a35c34dc0
Began refactoring away the GuiComponent system in favor of ES-config's Gui system.
...
Man, I'm nuts.
2013-04-08 09:41:25 -05:00