aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-30fix for new read-only File objectStephen Kennedy
svn-id: r33451
2008-07-30Merged revisions ↵Stephen Kennedy
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33450
2008-07-30- major re-factoring of VK - all GUI-related code has been abstracted to ↵Stephen Kennedy
VirtualKeyboardGUI class - fixed bug with parsing modifiers in VirtualKeyboardParser - fixed numerous GCC warnings svn-id: r33448
2008-07-30Debug printing a couple more relevant variables in addAni.Kari Salminen
svn-id: r33446
2008-07-30Added some debug aids related to addAni and the processSeqList crashing.Kari Salminen
svn-id: r33444
2008-07-30Make sure that save game descriptions are 0-terminatedFilippos Karapetis
svn-id: r33438
2008-07-30* Unified implementation of flow control opcodes in NS and BRANicola Mettifogo
* Simplified script execution loop and context svn-id: r33437
2008-07-30Changed BufferedReadStream to not permanently decrease its buffer size at ↵Max Horn
the end of a stream (this would fail when using BufferedSeekableReadStream and then seeking back from the end); this also fixes a bug which let you seek back beyond the start of a stream (not that we currently support that in other streams) svn-id: r33436
2008-07-30Reordered initialization lists to silence warning.Nicola Mettifogo
svn-id: r33432
2008-07-29GCC compilation fixesStephen Kennedy
svn-id: r33430
2008-07-29- FormattingJohannes Schickel
- Improved Functor#Mem::isValid implementations. svn-id: r33427
2008-07-29Little fix for documentation.Johannes Schickel
svn-id: r33426
2008-07-29Documentation for func.h.Johannes Schickel
svn-id: r33425
2008-07-29Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as ↵Max Horn
proposed on scummvm-devel svn-id: r33419
2008-07-29Added documentation for the functions in algorithm.h.Johannes Schickel
svn-id: r33416
2008-07-29Mass detector: sort all newly detected games by target name before adding ↵Max Horn
them to the config manager svn-id: r33415
2008-07-29Added convenience accessor method GameDescriptor::preferredtargetMax Horn
svn-id: r33414
2008-07-29CONFIGMAN: Store domains in the order they were addedMax Horn
svn-id: r33413
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-29Make sure processSeqList and purgeSeqList are only called in the main loop ↵Kari Salminen
when running Operation Stealth. Mostly a precaution as the seqList should be totally empty when running Future Wars as it doesn't use it. svn-id: r33410
2008-07-29Added purgeSeqList function (Used in mainloop now). Let's see if this helps ↵Kari Salminen
any... Renamed functions: * addScriptToList0 -> addScriptToGlobalScripts * executeList0 -> executeGlobalScripts * executeList1 -> executeObjectScripts * purgeList1 -> purgeObjectScripts (Also added a clarifying TODO to this function) * purgeList0 -> purgeGlobalScripts (Also added a clarifying TODO to this function) svn-id: r33409
2008-07-29* Implemented pause/resume of command executionNicola Mettifogo
* Implemented command opcode MOVE (not the script instruction). svn-id: r33408
2008-07-29Added a debug message to loadTempSaveOS's to check whether we loaded the ↵Kari Salminen
whole savefile. Made objectStruct's clearing also clear x and y member variables in resetEngine. svn-id: r33407
2008-07-29* Added flexible verb configuration for both NS and BRA.Nicola Mettifogo
* Objects can now be really opened and closed in BRA. svn-id: r33405
2008-07-29Rearranged parts of the Operation Stealth savegame loading routine.Kari Salminen
- Emulating the Future Wars savegame loading routine and hoping for the best. - Fixes an array out of bounds access when loading the global scripts. Now the loading crashes in the mainloop in processSeqList! But at least we got a bit farther this time. More fixing to come... svn-id: r33404
2008-07-29Added dialogue text rendering for BRA.Nicola Mettifogo
svn-id: r33402
2008-07-29Formatting.Johannes Schickel
svn-id: r33401
2008-07-29Added a reset method to SharedPtr, which allows NULLifying it.Johannes Schickel
svn-id: r33400
2008-07-29Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.Travis Howell
svn-id: r33394
2008-07-29Add check common directories, in loadScenery() for Amiga version of BRA.Travis Howell
svn-id: r33393
2008-07-29* Fixed positioning of balloons and faces in BRA (dos, at least).Nicola Mettifogo
* Adapted loading of faces. svn-id: r33392
2008-07-29BASE: in runGame, do not set addDefaultDirectory() the game path before ↵Max Horn
invoking createInstance() -- detectors must use FSNode for detection, not rely on File::open svn-id: r33389
2008-07-29Changed advanced detector to *always* use the FSNode API for detection (i.e. ↵Max Horn
killed second code path which used File::open trial&error directory 'scanning') svn-id: r33388
2008-07-29Changed output of --test-detector: multiple hits with same gameid now only ↵Max Horn
are a warning, not a failure svn-id: r33387
2008-07-29SDL: Properly init vars related to mixer double bufferingMax Horn
svn-id: r33385
2008-07-28Enforcing use of nullZonePtr only for nulling out pointers, as it is useless ↵Nicola Mettifogo
for comparisons. svn-id: r33384
2008-07-28Fixing 'warning: comparison of unsigned expression < 0 is always false'Max Horn
svn-id: r33383
2008-07-28Fixed crash when running Operation Stealth introduced in r33339 (There are ↵Kari Salminen
actually 256 global variables although only 255 of them are saved and loaded from savegames. The last one is VAR_BYPASS_PROTECTION and it is written to in the mainLoop so that's why there was a crash). svn-id: r33380
2008-07-28Added loading of temporary Operation Stealth savegames. Needs testing!Kari Salminen
- Music related settings and adBgVar0 & adBgVar1 aren't loaded currently. Modified resetEngine to also reset more of the Operation Stealth specific variables. Added getter for background scrolling value. Changed additional background indices 1 & 2 from byte to uint16. Made savegame loading functions return !in.ioFailed() as return value instead of true as previously. svn-id: r33379
2008-07-28Yet another hack to deal with labels... Must rethink this crap from scratch.Nicola Mettifogo
svn-id: r33377
2008-07-28Moved validation step from revision 33363, so that it is executed for all ↵Nicola Mettifogo
animations. svn-id: r33376
2008-07-28Fixed loading of static items.Nicola Mettifogo
svn-id: r33375
2008-07-28CleanupFilippos Karapetis
svn-id: r33373
2008-07-28Pick up/drop/open/close actions are now available in game.Nicola Mettifogo
svn-id: r33371
2008-07-28Implemented opcodes for picking up/dropping/opening/closing items.Nicola Mettifogo
svn-id: r33370
2008-07-28Tiny readability aid for parser code.Nicola Mettifogo
svn-id: r33369
2008-07-28Added remaining load functions needed for the Operation Stealth savegame ↵Kari Salminen
format loading (loadSeqList and loadZoneQuery). Not used yet. svn-id: r33367
2008-07-28Cut Future Wars savegame loading routine into parts that can be reused when ↵Kari Salminen
loading the Operation Stealth savegame format. svn-id: r33366
2008-07-28Now detects temporary Operation Stealth savegame format and saves it. No ↵Kari Salminen
loading yet. svn-id: r33365
2008-07-28Preliminary code for traps.Nicola Mettifogo
svn-id: r33364