aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-07-28Added a post processing step to runScripts, so that Animation can be ↵Nicola Mettifogo
validated after buggy scripts have been executed. svn-id: r33363
2008-07-28Made the savegame loading routine choose between loading a Future Wars or an ↵Kari Salminen
Operation Stealth savegame format. Added a stub for loading the Operation Stealth's temporary savegame format (Not yet implemented). Made mouse cursor change to a disk icon when loading a savegame and back to normal after its done. svn-id: r33362
2008-07-28Correct character name set by character location parser.Travis Howell
svn-id: r33361
2008-07-28Added support for text in BRA DOS demo.Nicola Mettifogo
svn-id: r33360
2008-07-28Some instrumentation for script debugging.Nicola Mettifogo
svn-id: r33359
2008-07-28Add basic support for running Amiga and PC demos of BRA.Travis Howell
svn-id: r33357
2008-07-28There is no mask or path directories for part0 of BRA (Amiga), so always ↵Travis Howell
check whether they exist. svn-id: r33356
2008-07-28Inventory is now properly rendered. Item selection is not yet working.Nicola Mettifogo
svn-id: r33355
2008-07-28Fix compile.Travis Howell
svn-id: r33354
2008-07-28Some unneeded references slipped in with the last commit.Nicola Mettifogo
svn-id: r33353
2008-07-28* Changed Disk code in BRA to use FilesystemNode (duplication has become ↵Nicola Mettifogo
truly visible!). * Fixed Inventory items loading. svn-id: r33352
2008-07-28Fixed constructor for WindowsFilesystemNode. On Windows, trailing slashes ↵Nicola Mettifogo
can be added only to directory names. svn-id: r33350
2008-07-27Added a preliminary saving routine for Operation Stealth (Disabled by ↵Kari Salminen
default, needs more work still. WIP!). Added backgrounds' name saving (8 names in Operation Stealth instead of just 1 like in Future Wars). Added 256 color palette saving and restoring (One of the palettes isn't properly handled yet though). svn-id: r33349
2008-07-27Fixed the Symbian default savepath, but adding the needed \ at the end and ↵Lars Persson
now as a string. svn-id: r33347
2008-07-27Fixed the Symbian default savepath, but adding the needed \ at the end.Lars Persson
svn-id: r33345
2008-07-27Patch from bugreport #2020561: "MMNES : Incorrect detection (US/GB)"Eugene Sandulenko
svn-id: r33342
2008-07-27Fix for ftell error when caching. HOF now starts properlyLars Persson
svn-id: r33340
2008-07-27Clear the confusing usage of NUM_MAX_VAR (It's 255 actually, not 256).Kari Salminen
svn-id: r33339
2008-07-27Cut savegame loading into smaller functional parts (resetEngine, ↵Kari Salminen
loadPlainSave etc). svn-id: r33338
2008-07-27Moved inventory cursor drawing code to InventoryRenderer.Nicola Mettifogo
svn-id: r33337
2008-07-27Inventory icons are now loaded correctly (not yet displayed). BRA doesn't ↵Nicola Mettifogo
crash anymore when pressing the right button. :) svn-id: r33335