aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-27Fixed win32 plugin provider.Johannes Schickel
svn-id: r33330
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-27The iPhone backend is now (mostly) up to speed again, and works for firmware 2.0Oystein Eftevaag
svn-id: r33326
2008-07-27Doug from BRA can now walk in his hotel room. He still stops in bizarre ↵Nicola Mettifogo
poses, though. svn-id: r33325
2008-07-27Fix buffer overflow in error message.Travis Howell
svn-id: r33321
2008-07-26VirtualKeyboard:Stephen Kennedy
- implemented functionality for modifier keys - cleaned up parser - started on text display svn-id: r33317
2008-07-26More cleanup.Nicola Mettifogo
svn-id: r33298
2008-07-26Cleanup.Nicola Mettifogo
svn-id: r33297
2008-07-26* Added walk calculations to BRA (doesn't walk yet, though).Nicola Mettifogo
* Adapted Character and Animation to handle both versions of the engine. svn-id: r33296