aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2008-07-22Merged inventory input code from different files.Nicola Mettifogo
svn-id: r33198
2008-07-22Fix CineSaveGameFormat enumeration's include order (Caused problems at least ↵Kari Salminen
with GCC). svn-id: r33196
2008-07-22Fix build.Nicola Mettifogo
svn-id: r33193
2008-07-22Fix for bug #2019355 (FW: broken compatibility with 0.11.1 saves):Kari Salminen
- Changed savegame loading related functions to use SeekableReadStream rather than InSaveFile so MemoryReadStream can be used transparently. - Fixed loadResourcesFromSave to load multiframe animations correctly and to load 0.11.0/0.11.1 Future Wars savegames which used a slightly different format. - Added a savegame format detector that tries to detect between the old Future Wars savegame format, the new one and a broken revision of the new one. - Changed makeLoad to first load the savegame fully into memory and only then handle it (If the savegame's packed then it's unpacked first). If the packed savegame can't tell its unpacked size (i.e. it's using zlib format) then we'll try to load up to 256kB of the savegame data. Thanks to wjp for his help with nailing this release critical bug. svn-id: r33192
2008-07-22Fixed regression in dialogue code: certain commands weren't executed anymore ↵Nicola Mettifogo
after dialogue ended. svn-id: r33191
2008-07-22Removed unneeded input code.Nicola Mettifogo
svn-id: r33189
2008-07-22Changed comment display code so that input polling is integrated into the ↵Nicola Mettifogo
main loop, instead of being performed in a blocking way from a separate routine. svn-id: r33188
2008-07-21Spacing.Travis Howell
svn-id: r33168
2008-07-21Avoid branching in the inner loop of AGOS drawVertImageCompressedBertrand Augereau
svn-id: r33167
2008-07-21Some refactoring for tracking of floating labels.Nicola Mettifogo
svn-id: r33165
2008-07-21Massive refactoring of dialogue code, which is now implemented as a finite ↵Nicola Mettifogo
state machine. Related code in other files has been updated has well. svn-id: r33162
2008-07-20Commented out some more PC-98 audio stuff, to avoid warnings.Torbjörn Andersson
svn-id: r33146
2008-07-20KYRA: disable incomplete PC-98 audio support for 0.12.0 release (use towns ↵Florian Kagerer
audio instead) svn-id: r33145
2008-07-20cleanupMax Horn
svn-id: r33135
2008-07-18Added savefile position comments to savegame loading routine (Helpful for ↵Kari Salminen
debugging the formats). svn-id: r33096
2008-07-18Don't crash if you try to use music file #2 as music file #1. When the musicTorbjörn Andersson
wasn't found, it would close the file even if something else was already playing from it. (Some music is in both files.) svn-id: r33094
2008-07-17Patch #2019455: Patch for reducing the BSS size of Cine engine.Kari Salminen
svn-id: r33087
2008-07-17Fixed regression bug in dialogue, which de-facto allowed user to skip ↵Nicola Mettifogo
in-game protection. svn-id: r33086
2008-07-16Split the drawVertImage function in the agos engine to make it clearer Bertrand Augereau
and easier to profile svn-id: r33083
2008-07-15fix bug #1876741: changed .SB playback rate to 11840Hz (matches dos game)Gregory Montoir
svn-id: r33079
2008-07-15fix bug #1995042: stop previous sfx playback when starting a new sfx ↵Gregory Montoir
(matches original dos code). Also removed the "sound skipping" hack in final bam scene. svn-id: r33078
2008-07-15Made frame unpacking buffer dynamic (this frees some BSS space).Nicola Mettifogo
svn-id: r33072
2008-07-14Fix for bug #2016647 (FW: crash with italian amiga version).Kari Salminen
- Consists of a workaround for a script bug that used local variable 251 when it should've used global variable 251. - Also added a fix for a crash when failing copy protection in Amiga or Atari ST versions of Future Wars. NOTE: That any of the Amiga or Atari ST versions of Future Wars haven't crashed right in the beginning before seems like plain luck because accessing local variable 251 is out of bounds! svn-id: r33068
2008-07-14remove accidentally committed debugging code; fix shadowing warningWillem Jan Palenstijn
svn-id: r33064
2008-07-14Don't draw scumm saveload dialog while reflowing layout, as that would use ↵Willem Jan Palenstijn
uninitialized values svn-id: r33063
2008-07-14Register spilling avoided in AGOS background drawing (and 2x unrolling)Bertrand Augereau
svn-id: r33062
2008-07-14cleanup (and test for Marwan's branch.... ;)Max Horn
svn-id: r33061
2008-07-14Removed all labels from the rendering list to avoid random crashes after ↵Nicola Mettifogo
introduction is over. svn-id: r33058
2008-07-14Fix for missing data in the savegame format that could result in not being ↵Paul Gilbert
able to talk to Goewin in the apothecary after restoring a savegame svn-id: r33057
2008-07-14Fixed regression in walk code. Now standing frames are correctly selected ↵Nicola Mettifogo
when the character encounters an unexpected blocking object in his/her path. svn-id: r33053
2008-07-14Made sure characters are not removed from the rendering list during switches.Nicola Mettifogo
svn-id: r33052
2008-07-13More refactoring of walk code.Nicola Mettifogo
svn-id: r33033
2008-07-13- fix for bug #2016965: KYRA: does not compile in MSVC71Florian Kagerer
svn-id: r33030
2008-07-13Cleanup of walk code.Nicola Mettifogo
svn-id: r33023
2008-07-13Cleanup and improved debugging output for CommandExec::run()Nicola Mettifogo
svn-id: r33022
2008-07-13Properly implemented the OFF command. The new rendering order for graphics ↵Nicola Mettifogo
let this mistake finally surface. svn-id: r33021
2008-07-12Minor constness fix to help with aliasingBertrand Augereau
svn-id: r33017
2008-07-12Changed tricky variable access from pointers to a new class that minds ↵Sven Hesse
endianess. This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems). svn-id: r33014
2008-07-11cleanupMax Horn
svn-id: r33010
2008-07-11Don't use kPlainSoundType if you don't have toMax Horn
svn-id: r33009
2008-07-11Cleanup.Nicola Mettifogo
svn-id: r33006
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003
2008-07-11Fixed leak in sound code by explicitly deleting the midi driver.Nicola Mettifogo
svn-id: r33002
2008-07-10Fixed a few warningsBertrand Augereau
svn-id: r32994
2008-07-10Fixed Kyra 3 detection regression.Torbjörn Andersson
svn-id: r32992
2008-07-10Typo.Johannes Schickel
svn-id: r32990
2008-07-10Added filename to unkown command/opcode warnings for TIM scripts.Johannes Schickel
svn-id: r32989
2008-07-10Added filename to unknown opcode/command warnings of EMC scripts.Johannes Schickel
svn-id: r32988
2008-07-10Fixed mem leak in MIDI related code.Johannes Schickel
svn-id: r32987
2008-07-10Workaround for gcc 2.95 compiler bug.Johannes Schickel
svn-id: r32986