Aloshi
c525d994d3
First implementation of the new ComponentList stuff.
2014-03-01 16:08:21 -06:00
Aloshi
09726348b3
Moved to SDL2.
...
Renderer on the Pi doesn't work at the moment.
2013-08-18 12:17:52 -05:00
Aloshi
8bd87e162c
Stop including Eigen directly in the project.
...
Update README.md for information on installing Eigen.
2013-07-16 22:41:39 -05:00
Aloshi
542d41c682
Move from homegrown Vector2 class to Eigen.
...
Pass a matrix (Eigen::Affine3f) in GuiComponent::render instead of doing
glTranslate behind the scenes.
2013-07-10 06:29:43 -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
ec7ad28fdc
Finally added scrolling description text. :)
2013-07-02 00:57:31 -05:00
Aloshi
861297ae25
Added initial TextComponent.
...
Reworked GuiGameList to use a TextComponent for description.
Changed set/clearClipRect to push/popClipRect.
Fixed Y coordinate in the clip rect functions.
Sorta fixed AnimationComponent being totally out of whack with VSync off.
2013-06-14 10:48:13 -05:00
Aloshi
7faf9fca53
Added Size and getSize() to GuiComponent.
...
Added setClipRect and clearClipRect to Renderer.
TextListComponent finally has a marquee. :)
2013-06-02 17:33:49 -05:00
Aloshi
24512c0c9f
Component rendering now uses OpenGL translation.
...
You don't need to take into account offset when rendering anymore.
2013-06-02 14:34:50 -05:00
Aloshi
1007821ca3
Add device name to input config files.
...
Properly init/deinit renderer stuff in Renderer_init_rpi.cpp. Probably.
2013-04-11 21:59:19 -05:00
Aloshi
b01f2705de
More work on reinitialization. Fonts still not working.
2013-04-10 12:29:07 -05:00
Aloshi
4747d70e1f
More work.
2013-04-08 12:40:15 -05:00
Aloshi
aa6506aec1
Began paving the way for custom font support.
...
Font sizes might be a little different than they were before - sorry about that!
2012-10-24 10:28:37 -05:00
Aloshi
8b1e061929
Reworked opacity to be stored in that wasted color byte.
2012-10-17 13:21:56 -05:00
Aloshi
358658a36d
Initial GuiAnimation added.
2012-10-17 12:15:58 -05:00
Aloshi
80740a2bd0
Fixed tiling being super slow.
...
See changelog.txt (September 7) for a list of everything.
2012-09-07 16:44:07 -05:00
Aloshi
cac43474aa
Fixed reinitialization problems with the renderer.
2012-09-04 11:45:16 -05:00
Aloshi
0314a14849
New renderer starting to work.
...
Image loading still not working and font sizing is still off. Resolution is hardcoded.
2012-08-29 13:53:53 -05:00
Aloshi
4f99dec7c2
Font size is now dependent on resolution width.
...
Scrolling will now occur if the input is held (not just keyboards anymore!).
Initial XML gamelist support. If a file named gamelist.xml is present in the directory ES is run from, it will be parsed and the detailed GuiGameList will be used. Games are matched by absolute path, and a name, description, and image path can be read.
PugiXML is used for parsing XML files - its license can be found in src/pugiXML/pugiXML_license.txt.
SDL_image is used for loading screenshots with the detailed GuiGameList.
Almost all invalid bash characters should be escaped in ROM paths now - including !$^&*()[]<>?;'"\.
2012-08-01 20:43:55 -05:00
Aloshi
b3fb58ebdb
An input configuration GUI was added, which allows a user to map an SDL Joystick's buttons to InputManager buttons.
...
This config file is saved/loaded from ./input.cfg.
Coming soon - axis support!
2012-07-22 16:15:55 -05:00
Aloshi
561e4a7f44
Renderer now uses an int for colors instead of mixing SDL_Color and ints. GuiList now scrolls.
2012-07-21 15:16:07 -05:00
Aloshi
42a39c52e6
Added InputManager; GuiComponents can register themselves to receive input events.
...
Added text rendering to Renderer, which uses SDL_ttf. Using LinLibertine_R.ttf font (GPL).
A lot more - soon I should have the "skeleton" done.
2012-07-19 20:08:29 -05:00
Aloshi
1177fde6c3
More work on the skeleton of the program.
2012-07-19 11:13:27 -05:00
Alec Lofquist
30ada8a9b3
Fixed Makefile's clean command and Renderer linking error.
2012-07-18 22:18:50 -05:00
Aloshi
cf77599950
Began writing the skeleton for the program.
2012-07-18 20:14:17 -05:00