aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
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-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-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-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-27Patch from bugreport #2020561: "MMNES : Incorrect detection (US/GB)"Eugene Sandulenko
svn-id: r33342
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
2008-07-27- Fixed fadePalette for HoF and Kyra3Johannes Schickel
- Fixed bug in wsaFrameAnimationStep svn-id: r33334
2008-07-27Fixed typo.Johannes Schickel
svn-id: r33333
2008-07-27Fixed macro.Johannes Schickel
svn-id: r33332
2008-07-27Add music/sound loading in Amiga version of BRA.Travis Howell
svn-id: r33329
2008-07-27Added rudimental support for location changes when walking through doors. ↵Nicola Mettifogo
The best part of this commit is that Doug now stops in a normal position. svn-id: r33328
2008-07-27Search common directory, when loading frames and talks in Amiga verison of BRA.Travis Howell
svn-id: r33327
2008-07-27Doug from BRA can now walk in his hotel room. He still stops in bizarre ↵Nicola Mettifogo
poses, though. svn-id: r33325