Commit graph

63 commits

Author SHA1 Message Date
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 d736aba22c Now with folders! Folders will appear as a green entry in the games list. BUTTON2 can be used to 'go back.' If you're updating, you'll need to delete ~/.es_input.cfg to map BUTTON2. 2012-07-27 11:58:27 -05:00
Aloshi 6c5edd3284 Lots of cleaning up to improve user friendliness. Config files are now loaded from the $HOME variable - es_systems.cfg and es_input.cfg.
An example system config file will be created at runtime if one does not exist.
2012-07-23 18:53:33 -05:00
Aloshi 59ca4f301a Axis support at last! 2012-07-23 12:27:38 -05:00
Aloshi 646cda75a6 Added joystick hat support. Began work on axis support (config should accept axes now, but my controller seems to be breaking). 2012-07-22 17:03:54 -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 f368a1f4cd Browsing multiple systems is now possible! Just press left or right.
Also, config files can have comments (lines that start wih #).
2012-07-21 15:57:53 -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 a801ad7505 Fix for the "stuck enter key" bug (now SDL's key repeat is disabled on game launch then re-eanbled on termination). 2012-07-21 14:16:53 -05:00
Aloshi bbfe35a36d Systems can be defined in the systems.cfg file (currently in the same directory as the executable). Games can now be launched with the enter key. Progress! 2012-07-21 14:06:24 -05:00
Aloshi 3df40182b1 Now searching a test directory for files matching an extension and displaying them. 2012-07-20 11:14:09 -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