aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-07-22Added String::trim() methodMax Horn
svn-id: r33203
2008-07-21Merged revisions ↵Christopher Page
33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33183
2008-07-21Separated Speech from SFX in SAGA, improved configuration of SAGA sound ↵Christopher Page
settings through the GMM svn-id: r33176
2008-07-21Silence a warning which complains about using an uninitialized variable.Kari Salminen
svn-id: r33169
2008-07-20Fix for bug #1971499: ALL: config manager crashes when reading too long linesMax Horn
svn-id: r33140
2008-07-20New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, ↵Max Horn
w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted) svn-id: r33139
2008-07-20Two new TODO/FIXME comments for class FileMax Horn
svn-id: r33138
2008-07-20Fixed potential issue in Common::String when asserting a substring of a ↵Max Horn
string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr svn-id: r33137
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-15Reverted some incorrect changes and fixed sound settings issues for LURE. ↵Christopher Page
Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM. svn-id: r33081
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-08Improved GMM implementation by adding unified quit() and quitGame() methods ↵Christopher Page
for all engines. Also implemented a Queue class before and forgot to svn add, common/queue.h is added here. svn-id: r32958
2008-07-07Implemented Common::EventManager::pushEvent() to insert fake events into the ↵Christopher Page
event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow. svn-id: r32952
2008-07-04closedKeyCallback on XMLParser (as asked by Kenny)Vicent Marti
svn-id: r32909
2008-07-04Memory leaks.Vicent Marti
Bug fixes. svn-id: r32908
2008-07-04- XMLParser - small improvement to allow "key=value" syntax as well as "key ↵Stephen Kennedy
= value" syntax svn-id: r32906
2008-07-03Rendering pipeline. WIP.Vicent Marti
(I see working buttons) svn-id: r32898
2008-07-03Changed XMLParser to internally use a Stack rather than a FixedStackStephen Kennedy
svn-id: r32897
2008-07-03changed loadBuffer to use byte* rather than char*Stephen Kennedy
svn-id: r32894
2008-07-03Rendering pipeline. WIP.Vicent Marti
svn-id: r32882
2008-07-02Changes to implementation of the GMMChristopher Page
svn-id: r32872
2008-06-28Patch ##1956946 (Audio::Mixer internal API revision) with some tweaksMax Horn
svn-id: r32828
2008-06-28Removed OSystem::getFilesystemFactory() default implentation, as announcedMax Horn
svn-id: r32824
2008-06-28Bugfix: Empty integer key parsing.Vicent Marti
svn-id: r32822
2008-06-28Improved support for parsing integers in the XML parser.Vicent Marti
Bug fixes. svn-id: r32818
2008-06-26- MILESTONE: A widget is drawn on screen loaded straight from its XML ↵Vicent Marti
description. Yippie. - XMLParser: Bugfixes. - ThemeParser: Support for default color values. svn-id: r32808
2008-06-26InterfaceManager now loads themes.Vicent Marti
svn-id: r32800
2008-06-26Actually reverted stupid changes in Common::String and Util.cpp regarding ↵Vicent Marti
Regex and the platform function. svn-id: r32797
2008-06-25- XMLParser: Improved file stream supportVicent Marti
- InterfaceManager: Config file loading/parsing added. - ThemeParser: Fixed GCC warnings/various bugs. svn-id: r32792
2008-06-25GCC FixesVicent Marti
svn-id: r32788
2008-06-25XMLParser:Vicent Marti
- Bug fixes. ThemeParser: - Support for palette colors. - Expanded theme syntax. svn-id: r32787
2008-06-25XMLParser:Vicent Marti
- Cleanup. - Support for file/buffer loading. ThemeParser: - Triangle orientation. svn-id: r32784
2008-06-25- Reverted getHostPlatformString() from util.cpp (Yeah, Max was right)Vicent Marti
- XMLParser now supports streams! - Added remaining key values for DrawStep parsing. - XMLParser parserError() bugfixes. svn-id: r32782
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-06-24Common: Vicent Marti
- 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-22Turned off overzealous warning 4800 - "forcing value to bool 'true' or ↵Filippos Karapetis
'false' (performance warning)" svn-id: r32759
2008-06-18Split ThemeParser into XMLParser and ThemeParser as child class to have a ↵Vicent Marti
common XML Parser. svn-id: r32734
2008-06-18Expanded parser.Vicent Marti
Added regex support for Common::String Changed drawstep state saving. svn-id: r32729
2008-06-11No need to specify CaseSensitiveString_Hash explicitly anymoreMax Horn
svn-id: r32663
2008-06-10Re-enabled default Hash<String> templateMax Horn
svn-id: r32656
2008-06-10Removed unneeded #includeMax Horn
svn-id: r32654
2008-06-08Don't attempt to close the arj file if it hasn't been openedFilippos Karapetis
svn-id: r32608
2008-06-04Patch #1971285: "Nintendo Wii port"Eugene Sandulenko
svn-id: r32547
2008-06-04- Removed -Wconversion from compiler options for g++ 4.3, it's behavior has ↵Johannes Schickel
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-02Implement ADGF_KEEPMATCHEugene Sandulenko
svn-id: r32497
2008-06-02Plug memory leakEugene Sandulenko
svn-id: r32496
2008-06-01Fix for crash that occurs in the unarj's fallback code - _uncompressedData ↵Filippos Karapetis
is not allocated when ARJ files have not been opened svn-id: r32480
2008-06-01Implement file fallback for archivesEugene Sandulenko
svn-id: r32476
2008-06-01Fixed MSVC warningsFilippos Karapetis
svn-id: r32474