Commit Graph
3228 Commits
Author SHA1 Message Date
Vicent Marti d385c34dd0 InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI.
svn-id: r32876
2008-07-02 18:11:41 +00:00
Vicent Marti 6c85e960b2 Rendering pipeline. WIP.
svn-id: r32869
2008-07-01 15:57:30 +00:00
Vicent Marti e44505cda4 Rendering pipeline. WIP.
svn-id: r32845
2008-06-29 19:59:16 +00:00
Vicent Marti f1173f52a2 Changes to rendering pipeline. WIP.
svn-id: r32837
2008-06-29 12:08:53 +00:00
Vicent Marti 0e4cd6fc8e Expanded InterfaceManager API to mimic NewGUI. (WIP)
svn-id: r32831
2008-06-28 16:49:39 +00:00
Vicent Marti 3f0f7fa08b Improved support for parsing integers in the XML parser.
Bug fixes.

svn-id: r32818
2008-06-28 00:02:54 +00:00
Vicent Marti 8d696760b3 Bugfixes
svn-id: r32814
2008-06-26 23:15:34 +00:00
Vicent Marti 5534ce68a1 - MILESTONE: A widget is drawn on screen loaded straight from its XML description. Yippie.
- XMLParser: Bugfixes.
- ThemeParser: Support for default color values.

svn-id: r32808
2008-06-26 19:54:55 +00:00
Vicent Marti 0cd183b94b InterfaceManager now loads themes.
svn-id: r32800
2008-06-26 13:50:16 +00:00
Vicent Marti 73d5715a79 - XMLParser: Improved file stream support
- InterfaceManager: Config file loading/parsing added.
- ThemeParser: Fixed GCC warnings/various bugs.

svn-id: r32792
2008-06-25 22:30:28 +00:00
Vicent Marti 917b750839 XMLParser:
- Bug fixes.

ThemeParser:
- Support for palette colors.
- Expanded theme syntax.

svn-id: r32787
2008-06-25 17:56:00 +00:00
Vicent Marti 2fcbb97005 XMLParser:
- Cleanup.
- Support for file/buffer loading.

ThemeParser:
- Triangle orientation.

svn-id: r32784
2008-06-25 14:19:56 +00:00
Vicent Marti f0e63a49e3 - Reverted getHostPlatformString() from util.cpp (Yeah, Max was right)
- XMLParser now supports streams!
- Added remaining key values for DrawStep parsing.
- XMLParser parserError() bugfixes.

svn-id: r32782
2008-06-25 11:34:58 +00:00
Christopher Page f878820bbe Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
2008-06-24 21:15:30 +00:00
Vicent Marti 8caa7d3f8b Common:
- Added function to get the active host type as a string.

XMLParser: 
- Added support for ignoring keys while parsing (check documentation). Backwards compatible.
- parserError() has been revamped. Shows all kinds of detailed information regarding the error ala Python

InterfaceManager/ThemeParser:
- DrawData keys and their DrawStep subkeys are now successfully parsed and loaded into structs. That's a win.
- Bug fixes.

svn-id: r32768
2008-06-24 19:48:01 +00:00
Vicent Marti a4b4534a66 Split ThemeParser into XMLParser and ThemeParser as child class to have a common XML Parser.
svn-id: r32734
2008-06-18 23:49:47 +00:00
Vicent Marti 42036e7fd3 Expanded parser.
Added regex support for Common::String
Changed drawstep state saving.

svn-id: r32729
2008-06-18 00:15:21 +00:00
Vicent Marti 6932c836cf Added massive parser documentation.
Some parser changes.

svn-id: r32726
2008-06-16 23:38:21 +00:00
Christopher Page 7009aae893 Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear
svn-id: r32719
2008-06-16 18:47:32 +00:00
Vicent Marti cb6cb1361b Code formating conventions.
Fix in test drawing code.

svn-id: r32704
2008-06-14 17:45:26 +00:00
Vicent Marti 8e2601d195 Parser fixes.
svn-id: r32703
2008-06-14 16:14:50 +00:00
Vicent Marti d0b27cf9c6 Merged trunk into the GUI branch.
Fixed MSVS9 project files.

svn-id: r32702
2008-06-14 14:44:29 +00:00
Vicent Marti d51a0cab3f Parser redesign. Fixed most possible overflows.
svn-id: r32697
2008-06-13 22:05:21 +00:00
Vicent Marti 04b36a12e1 Formating conventions.
Function parameter fixes.
Parser fixes.

svn-id: r32696
2008-06-13 17:47:56 +00:00
Vicent Marti 5d92e2710a Parser cleanup.
svn-id: r32691
2008-06-13 09:39:13 +00:00
Vicent Marti e0d7301cb0 Parser update. Variable depth.
svn-id: r32690
2008-06-13 09:24:41 +00:00
Vicent Marti ace171e22f Parser update.
svn-id: r32686
2008-06-12 23:13:58 +00:00
Vicent Marti 7a9a74691f Parser skeleton
Expanded drawing interface

svn-id: r32678
2008-06-12 19:06:37 +00:00
Vicent Marti 5dd77ea820 - Widget caching for Interface manager.
- Expanded theme Interface
- Surface blitting for VectorRenderer

svn-id: r32670
2008-06-12 11:26:11 +00:00
Christopher Page e86a422e25 Merged revisions 32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r32667
2008-06-11 17:36:21 +00:00
Max Horn 42427f9a4e Modified mass detector to not re-add already configured games (that is, if there is an existing entry with identical path, gameid, platform, language, then do not add a new one)
svn-id: r32664
2008-06-11 06:22:02 +00:00
Max Horn fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Vicent Marti da6e5c4660 Another redesign on the Draw Steps. This time it's for real.
svn-id: r32647
2008-06-10 19:57:38 +00:00
Vicent Marti 29c4308c42 Changed DrawStep for dynamic surface drawing.
svn-id: r32643
2008-06-10 11:25:00 +00:00
Christopher Page 4fddafa3e6 Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
svn-id: r32642
2008-06-09 23:15:17 +00:00
Vicent Marti da757aa2ca InterfaceManager is now a singleton
svn-id: r32640
2008-06-09 21:16:26 +00:00
Vicent Marti 69694c72f6 Expanded the InterfaceManager skeleton quite a bit.
svn-id: r32604
2008-06-07 20:50:39 +00:00
Eugene Sandulenko 7f1353f39e Add dhewg to the team
svn-id: r32548
2008-06-04 20:33:45 +00:00
Johannes Schickel 73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Vicent Marti 8a83eafbf3 Misc fixes.
Constant naming fixes.

svn-id: r32342
2008-05-28 15:03:30 +00:00
Johannes Schickel 74c458153e Cleanup.
svn-id: r32341
2008-05-28 14:37:29 +00:00
Vicent Marti 426c36992d Bugfixes: Discarded function, switch fix.
svn-id: r32340
2008-05-28 14:30:51 +00:00
Vicent Marti 119b7126b9 InterfaceManager core implemented.
svn-id: r32339
2008-05-28 14:27:22 +00:00
Jordi Vilalta Prat 2862a30dac Fixed some code formatting thanks to LordHoto
svn-id: r32275
2008-05-26 00:28:48 +00:00
Vicent Marti 862a3d575a Compilation fixes. Sorry about the mess.
svn-id: r32272
2008-05-25 17:06:10 +00:00
Eugene Sandulenko ca51f1f247 Add InterfaceManager to makefile.
svn-id: r32268
2008-05-25 11:53:49 +00:00
Vicent Marti a4df37e325 Interface Manager class
svn-id: r32267
2008-05-25 11:20:28 +00:00
Johannes Schickel cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Max Horn 51835dac6a Include all required header files in launcher.h (should fix compilation problems in WinCE backend)
svn-id: r32141
2008-05-16 09:45:38 +00:00
Max Horn 2bb39e591f Moved the engine plugin code to engines/metaengine.h; added/clarified/corrected various Doxygen comments for the plugin system
svn-id: r32083
2008-05-13 10:41:32 +00:00