Commit Graph
3029 Commits
Author SHA1 Message Date
Vicent Marti 2f5319e750 Bugfix: Empty integer key parsing.
svn-id: r32822
2008-06-28 13:44:10 +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 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 3ae28530ef Actually reverted stupid changes in Common::String and Util.cpp regarding Regex and the platform function.
svn-id: r32797
2008-06-26 09:18:41 +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 7fd6b3916f GCC Fixes
svn-id: r32788
2008-06-25 18:11:17 +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
Filippos Karapetis 0b58aea011 Turned off overzealous warning 4800 - "forcing value to bool 'true' or 'false' (performance warning)"
svn-id: r32759
2008-06-22 17:57:06 +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
Max Horn fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Max Horn 52747ff694 Re-enabled default Hash<String> template
svn-id: r32656
2008-06-10 21:50:07 +00:00
Max Horn 8b56010712 Removed unneeded #include
svn-id: r32654
2008-06-10 21:40:53 +00:00
Filippos Karapetis b050430b41 Don't attempt to close the arj file if it hasn't been opened
svn-id: r32608
2008-06-08 02:02:06 +00:00
Eugene Sandulenko 5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +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
Eugene Sandulenko 70dd879e2f Implement ADGF_KEEPMATCH
svn-id: r32497
2008-06-02 18:19:58 +00:00
Eugene Sandulenko 12c3798ffb Plug memory leak
svn-id: r32496
2008-06-02 18:19:18 +00:00
Filippos Karapetis 8a0abfb045 Fix for crash that occurs in the unarj's fallback code - _uncompressedData is not allocated when ARJ files have not been opened
svn-id: r32480
2008-06-01 21:57:30 +00:00
Eugene Sandulenko 452d46b3bf Implement file fallback for archives
svn-id: r32476
2008-06-01 21:10:29 +00:00
Filippos Karapetis f5d9eb32f0 Fixed MSVC warnings
svn-id: r32474
2008-06-01 20:05:21 +00:00
Eugene Sandulenko 8728cd2881 Speed up decoding by memory caching
svn-id: r32472
2008-06-01 19:07:13 +00:00
Eugene Sandulenko cc74ec5c39 Unarj code based on unarj 2.62. Used by Drascula engine
svn-id: r32460
2008-06-01 11:43:20 +00:00
Willem Jan Palenstijn 90bf3de2d6 Decrement _nele when erasing an element from hashmap, and add a test-case for this bug.
svn-id: r32343
2008-05-28 18:32:05 +00:00
Jordi Vilalta Prat 4306e1e0eb Made some methods virtual to allow File subclasses
svn-id: r32311
2008-05-27 02:39:51 +00:00
Jordi Vilalta Prat 6d6d634db1 Made fallbackDetect to allow subclasses to override it
svn-id: r32295
2008-05-26 18:03:55 +00:00
Neil Millstone d019420649 Removing DS ifdef from getFileSystemFactory().
svn-id: r32248
2008-05-24 15:01:19 +00:00
Johannes Schickel cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Johannes Schickel 26d6e2c68a Typo.
svn-id: r32191
2008-05-19 23:22:11 +00:00
Max Horn ecf9d72ab4 Removed some more obsolete GP32 code
svn-id: r32179
2008-05-19 13:15:32 +00:00
Max Horn df58a64ce0 Removed some dead code
svn-id: r32178
2008-05-19 13:13:41 +00:00
Max Horn 6206fb2a18 Removed the default OSystem::getTimeAndDate() implementation
svn-id: r32138
2008-05-15 11:36:56 +00:00
Johannes Schickel 311e9165ed Proper delete[] formatting (this time all occurences should've been changed...)
svn-id: r31929
2008-05-07 15:09:10 +00:00
Johannes Schickel db04dd427d Formatting.
svn-id: r31852
2008-05-03 23:02:05 +00:00
Torbjörn Andersson 06dea14540 Changed spaces to tab, thus annoying everyone who now have to do a large
recompile.

svn-id: r31848
2008-05-03 21:15:25 +00:00
Johannes Schickel bba003e53a Fixed segfault when trying to start invalid gameid from command line.
svn-id: r31731
2008-04-26 10:21:53 +00:00
Max Horn e9abc1b191 Removed some dead code
svn-id: r31645
2008-04-21 17:07:57 +00:00
Johannes Schickel f173041811 - moved kyra functor code to common/func.h
- adapted debugger code to use functor code from common/func.h
- adapted kyra engine to use functor code from common/func.h

svn-id: r31614
2008-04-20 15:47:11 +00:00
Filippos Karapetis dcb6d4ed06 Reverted commit #31499
svn-id: r31502
2008-04-14 15:59:32 +00:00
Max Horn 805f21e369 Removed Common::Array::contains()
svn-id: r31501
2008-04-14 12:11:10 +00:00
Filippos Karapetis c2e3572fe4 Added contains() method to Common::List, same as in Common::Array
svn-id: r31499
2008-04-14 10:07:15 +00:00
Filippos Karapetis 8cc1539315 Added eriktorbjorn's MemoryWriteStreamDynamic class - a stream that grows as it's written to
svn-id: r31498
2008-04-13 23:46:55 +00:00
Jordi Vilalta Prat c1cd5d17c2 Correct documentation
svn-id: r31486
2008-04-11 19:05:44 +00:00
Eugene Sandulenko 1a5d45db68 Add way to denote CD versions of games and drop language in augmented
names per LordHoto's request.

svn-id: r31475
2008-04-10 21:41:57 +00:00
Johannes Schickel 48c9097672 Fixed compilation on gcc 2.95.
svn-id: r31447
2008-04-07 21:07:07 +00:00