Commit Graph
4144 Commits
Author SHA1 Message Date
Stephen Kennedy 7c60bb50e8 Changed XMLParser to internally use a Stack rather than a FixedStack
svn-id: r32896
2008-07-03 19:31:46 +00:00
Stephen Kennedy 52aba6b6da changed loadBuffer to use byte* rather than char*
svn-id: r32894
2008-07-03 16:09:54 +00:00
Stephen Kennedy 903a80ece3 changed loadBuffer to use byte* rather than char*
svn-id: r32893
2008-07-03 16:07:33 +00:00
Vicent Marti 48fd843e75 Rendering pipeline. WIP.
svn-id: r32882
2008-07-03 10:26:55 +00:00
Stephen Kennedy d01594594e First commit:
- changed Rect to derive from Shape and added Polygon class (also derived from Shape)
- added ImageMap class that encapsulates generalised functionality of image maps
- skeletal classes for VirtualKeyboard and VirtualKeyboardParser

svn-id: r32880
2008-07-03 10:10:29 +00:00
Christopher Page a14a0d16c1 Changes to implementation of the GMM
svn-id: r32872
2008-07-02 00:30:49 +00:00
Max Horn c45d632f3b Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
svn-id: r32828
2008-06-28 15:28:29 +00:00
Max Horn 62713a8b1b Removed OSystem::getFilesystemFactory() default implentation, as announced
svn-id: r32824
2008-06-28 14:14:16 +00:00
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
Pawel Kolodziejski 2866dea56e adopted copyright header to AUTHORS file similiar like in scummvm 2008-06-13 14:57:47 +00:00
Pawel Kolodziejski ca403a4c36 don't use zlib in common 2008-06-12 20:17:46 +00:00
Pawel Kolodziejski 407aee486d - initial support for configure based on scummvm tree (tested mac os x leopard, linux(ubuntu), cygwin with mingwin gcc)
- adopted more common dir code from scummvm for easier multi platform support
- synced some changes from scummvm code
2008-06-12 12:08:15 +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