aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/bg.cpp
AgeCommit message (Collapse)Author
2014-03-16CINE: Avoid possible string buffer overrun by using strlcpy and strlcatStrangerke
2014-02-18CINE: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2010-12-31CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.David Turner
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called. However, currently during the display of the Delphine Software Logo in Operation Stealth, checkCollision() is called, but the collisionPage has not been loaded. To fix the invalid reads, have added code to set the page to zero after allocation. Shouldn't cause any issues to FW as this will load over the top anyway. Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation. svn-id: r55071
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2009-06-11Fix Operation Stealth's 2nd arcade sequence's revolving doors.Kari Salminen
- Now the doors actually do revolve when before they didn't. - The fix was to alias the 9th background with the collision page directly when loading collision page data. This way changes written to the 9th background go to the collision page and vice versa (And there were changes in the labyrinth). - Also converted _bgTable from a pure array to a Common::Array svn-id: r41453
2008-08-19Fix for bug #2057656: FW: Assert during demo (regression).Kari Salminen
Future Wars's Amiga demo is trying to load collision data files 'L8_MK.NEO' and 'L23_MK.NEO' that aren't supplied with the demo. Previous code crashed when a file couldn't be found, now it gives a warning instead. svn-id: r34036
2008-08-06Renamed page3Raw to collisionPage so it's more apparent what it does.Kari Salminen
svn-id: r33669
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-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
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
2007-12-13CleanupFilippos Karapetis
svn-id: r29844
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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-29removed some resource related memory leaksGregory Montoir
svn-id: r27007
2007-05-19removed 4 unused offscreen buffers ; also changed several 64k buffers to be ↵Gregory Montoir
dynamically allocated. svn-id: r26879
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
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-07Small cleanup.Torbjörn Andersson
svn-id: r21655
2006-04-06Fixed another "worked in cinE, broken in ScummVM" bug that made it impossibleTorbjörn Andersson
to interact with the objects in the second room. We were passing the wrong pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I believe is an "image" mapping screen coordinates to objects) to be wrong. svn-id: r21646
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
2006-03-09minor cleanup.Gregory Montoir
svn-id: r21189
2006-03-03Eliminate flip_support.cpp file.Eugene Sandulenko
svn-id: r21045
2006-02-25cleanup (endianess fixes, fixed partBufferStruct structure)Gregory Montoir
svn-id: r20881
2006-02-25Some more cine header cleanupMax Horn
svn-id: r20859
2006-02-25Reducing the header dependencies in cine a bit moreMax Horn
svn-id: r20857
2006-02-25Moved cine engine into namespace CineMax Horn
svn-id: r20851
2006-02-23formating codePaweł Kołodziejski
svn-id: r20835
2006-02-23Cleanup to remove duplicate type definesTravis Howell
svn-id: r20821
2006-02-22Initial version of Cinematique engine evo 1.Eugene Sandulenko
svn-id: r20813