aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.cpp
AgeCommit message (Collapse)Author
2008-07-22Fix warnings in CINEMax Horn
svn-id: r33202
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-18Added savefile position comments to savegame loading routine (Helpful for ↵Kari Salminen
debugging the formats). svn-id: r33096
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-02Fully implemented processSeqListElementKari Salminen
- Added parts that were missing and fixed a couple of errors -- One test was backwards and a global variable was written to when it shouldn't have been Added global variable inputVar0 that's used in processSeqListElement NOTE: inputVar0 isn't updated anywhere yet, so that's a TODO svn-id: r32874
2008-07-01Fixed unitialized variablesMax Horn
svn-id: r32865
2008-06-30Fixed addAni (A test before using resetGfxEntityEntry was incorrect). Also ↵Kari Salminen
added comments and checked that most 8-bit values used in this function are used as signed integers. svn-id: r32850
2008-06-30Implemented resetGfxEntityEntry and made it used where appropriate (The ↵Kari Salminen
function wasn't very easy to reverse engineer so it may have flaws still, but let's hope it doesn't ;-)). svn-id: r32848
2008-06-26Fixed opcode:Kari Salminen
- 0x83: o2_isSeqRunning (Should it be named o2_isSeqNotRunning?) -- Added previously missing test part -- Negated the result (It was backwards before!) svn-id: r32804
2008-06-25Implemented support for zoneQuery (Operation Stealth specific).Kari Salminen
Fixed opcodes (related to zoneQuery): - 0x08: o1_checkCollision - 0x9A: o2_wasZoneChecked NOTE: Savegame support for the zoneQuery data is broken svn-id: r32790
2008-06-25Implemented opcode:Kari Salminen
- 0x82: o2_modifySeqListElement (Was o2_op82) Seeks a matching element from the seqList and modifies its values. svn-id: r32786
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-04-24Fixed regression: CINE games crashed when a message box appeared (patch by ↵Filippos Karapetis
next_ghost) svn-id: r31696
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-01Slightly modified patch #1848173: "ScriptVars class implementation for CinE"Eugene Sandulenko
svn-id: r30125
2007-12-21Slight cleanupFilippos Karapetis
svn-id: r29934
2007-12-14renamed several structures, variables and functionsGregory Montoir
svn-id: r29860
2007-12-14Added a note, switched to CLIP template for clipping, some cleanupFilippos Karapetis
svn-id: r29859
2007-12-13Fixed one more regression from the latest cleanupFilippos Karapetis
svn-id: r29848
2007-12-13Fixed a regression from the latest cleanupFilippos Karapetis
svn-id: r29847
2007-12-13Muting the compiler :PSven Hesse
svn-id: r29846
2007-12-13Cleanup and simplificationFilippos Karapetis
svn-id: r29845
2007-12-13Changed the C style malloc/free to the C++ style new/deleteFilippos Karapetis
svn-id: r29841
2007-12-12Fixed warning about casting away constness.Torbjörn Andersson
svn-id: r29839
2007-12-12Cleanup, removed duplicate codeFilippos Karapetis
svn-id: r29838
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-12-08simplified gfxConvertSpriteToRaw, some renamingGregory Montoir
svn-id: r29758
2007-12-08Cleanup and simplificationFilippos Karapetis
svn-id: r29755
2007-12-07backported some changes for OSGregory Montoir
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-02Fix bug where an object was accessed after it was deleted in cine engineNeil Millstone
svn-id: r27870
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Changed more code to use Common::KEYCODE_ enumMax Horn
svn-id: r27624
2007-06-08Fixed some Valgrind warnings (overlapping source and destination in strcpy()).Torbjörn Andersson
svn-id: r27207
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30cleanup, don't rely on assert() to ensure a gamefile/savefile is opened. ↵Gregory Montoir
Also removed the use of Common::File global objects. svn-id: r27021
2007-05-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-19Fix preprocessor error caused by undefined symbol DEBUG_SPRITE_MASKMax Horn
svn-id: r26874
2007-05-19added basic support for Amiga music playbackGregory Montoir
svn-id: r26870
2007-05-18added debug code to display sprite masksGregory Montoir
svn-id: r26865
2007-05-17moved gfx related functions from various.cpp/.h to gfx.cpp/.h and fixed ↵Gregory Montoir
indentation of previous commit svn-id: r26863
2007-05-17added code for gfxSpriteFunc1 and gfxSpriteFunc2, which are used for sprite ↵Gregory Montoir
masking (see also bug #1624797) svn-id: r26861
2007-03-19Added FIXME comment to CINE regarding an odd warning in processSeqListElementMax Horn
svn-id: r26248
2007-02-18Bad hack to make this engine works on PalmOS (compiler still seems to hate ↵Chris Apers
some global objects) svn-id: r25684
2007-01-21openForSaving can fail, so it should be handled gracefully -- but better to ↵Max Horn
assert out in a controlled manner than o invoke methods on a NULL pointer, right? :-) svn-id: r25151
2006-11-25Support loading saves from command line.Eugene Sandulenko
svn-id: r24787
2006-11-24Let F10 work in all expected cases.Eugene Sandulenko
svn-id: r24785