aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/anim.cpp
AgeCommit message (Collapse)Author
2008-09-01Merging more of the GSoC 2008 RTL branch: CINEMax Horn
svn-id: r34244
2008-08-22Designate fix for bug #2057619 as a hack, as that's what it is.Kari Salminen
svn-id: r34102
2008-08-21Fix for bug #2057619: FW: Glitches in title display of demo (regression).Kari Salminen
This fix doesn't seem to break other Future Wars versions like r34039 did. Some versions of TITRE.ANI use 15 for transparency color, others use 0. Previously only one of the choices was supported, now both are recognized. svn-id: r34081
2008-08-19Fix for bug #2057619: FW: Glitches in title display of demo (regression).Kari Salminen
Removed incorrect transparency data used for logo. Now it's shown correctly. svn-id: r34039
2008-08-10Merged revisions ↵Christopher Page
33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33769
2008-08-09Converted animDataTable from a plain array to a Common::Array. Should help ↵Kari Salminen
to catch out of bounds access errors which may cause memory corruption. svn-id: r33726
2008-08-09Merged revisions ↵Christopher Page
33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33720
2008-08-05Made rest of resource loading functions used in loadResource return -1 on error.Kari Salminen
This fixed a crash in Operation Stealth when walking out of the airport (Some file couldn't be opened and the game crashed because of that. Now it doesn't crash but handles the missing file gracefully). svn-id: r33643
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-08-02Made loadResourcesFromSave internally use the loadResource-function.Kari Salminen
Fixes Operation Stealth savegame loading! HURRAH! FINALLY! svn-id: r33530
2008-08-02- Combined loadAbs and loadResource into one function.Kari Salminen
- Made resource loading functions (loadSpl, loadMsk etc) return the number of the animDataTable entry right after the loaded data. - Made resource loading functions always load multiframe data into directly sequential animDataTable entries (Hopefully this won't break anything). svn-id: r33529
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-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-07CINE works with the new GMM implementationChristopher Page
svn-id: r32954
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-05-29Tiny comment update (Echec in French means failure).Kari Salminen
svn-id: r32358
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-05-12Proper fix for savestates. Thanks to next_ghostEugene Sandulenko
svn-id: r32073
2008-04-24Cleanup & typo.Kari Salminen
- Use sizeof(_name) instead of magic number 10 with memset - 'usually' instead of 'ussually' - 'delete[]' instead of 'delete []' - Fixed parameter name discrepancy between loadResource's definition and declaration svn-id: r31701
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2008-04-09Fixed warnings for msvc9.Johannes Schickel
svn-id: r31460
2008-04-08Ignore pointers on saveEugene Sandulenko
svn-id: r31453
2008-04-08Fix compilation on my 64-bit system...Sven Hesse
svn-id: r31450
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2008-03-28OopsFilippos Karapetis
svn-id: r31297
2008-03-28Fixed 2 off-by-one errors (thanks next_ghost for spotting them)Filippos Karapetis
svn-id: r31296
2007-12-24CleanupFilippos Karapetis
svn-id: r29973
2007-12-14renamed several structures, variables and functionsGregory Montoir
svn-id: r29860
2007-12-14CleanupFilippos Karapetis
svn-id: r29858
2007-12-13Fixed a regression from the latest cleanupsFilippos Karapetis
svn-id: r29851
2007-12-13Fixed an incorrect copy/pasteFilippos Karapetis
svn-id: r29850
2007-12-13Fixed regression introduced by the latest cleanupsFilippos Karapetis
svn-id: r29849
2007-12-13Cleanup and simplificationFilippos Karapetis
svn-id: r29842
2007-12-11CleanupFilippos Karapetis
svn-id: r29830
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-21Fixed freeing of invalid pointer, which would cause Operation Stealth to crash.Torbjörn Andersson
I don't know if the loadSet() / loadSetAbs() functions are every used in Future Wars. If so, we should commit this to the branch as well. svn-id: r27590
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-29removed some resource related memory leaksGregory Montoir
svn-id: r27007
2007-05-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-13added basic support for sounds playback in Amiga versions (only tested with ↵Gregory Montoir
the demos) svn-id: r26837
2006-11-23Fix bug #1599267: "FW: Ungraceful exit from copy protection screen"Eugene Sandulenko
svn-id: r24765
2006-05-26As far as I can tell, there's no longer any reason for PartBuffer and AnimDataTorbjörn Andersson
to be packed, so I've removed the packing and added the 'refresh' field to AnimData instead of having it as a separate array. On the other hand, animHeaderStruct and animHeader2Struct *should* have been packed, but weren't. I've changed they way they are initialised so that the packing should no longer matter for them either. svn-id: r22651
2006-04-10If I understand things correctly, cinE used to dump the entire animDataTableTorbjörn Andersson
element to the savefile, including data pointers. After reading the savefile, it would then test if ptr1 was NULL, to see if it should load the object. I've extended the savefile format with a byte to indicate whether or not ptr1 was non-NULL. This seems to fix the problems I had with with loading savegames, but of course any old savegame is now even more broken than before. I still can't seem to get out of the room with the machine, though. Another regression when migrating the code from cinE, or just my ability to get past this annoying, timed puzzle? svn-id: r21772
2006-04-08Cleanup.Torbjörn Andersson
svn-id: r21683
2006-04-05I don't think assert(0) is a particularly helpful error message...Torbjörn Andersson
svn-id: r21630
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338