aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/gfx.cpp
AgeCommit message (Collapse)Author
2008-08-06HACK: Force oxygen to maximum during Operation Stealth's first arcade sequence.Kari Salminen
This way the arcade sequence is completable now. This hack should be removed later and the first arcade sequence be made properly playable! svn-id: r33667
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-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-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-17Patch #2019455: Patch for reducing the BSS size of Cine engine.Kari Salminen
svn-id: r33087
2008-07-07Fix for bathroom door opening crash in Operation Stealth's start.Kari Salminen
svn-id: r32951
2008-06-09Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an arrayTorbjörn Andersson
index. Probably because it's undefined whether or not it's signed.) svn-id: r32637
2008-05-29Fixed a crash that occurs when OS startsFilippos Karapetis
svn-id: r32366
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-14renamed several structures, variables and functionsGregory Montoir
svn-id: r29860
2007-12-13use CLIP template for clipping, made an array static const and renamed ↵Gregory Montoir
MAX_OBJECTDATA to MAX_VAR svn-id: r29853
2007-12-13CleanupFilippos Karapetis
svn-id: r29843
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-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-19removed 4 unused offscreen buffers ; also changed several 64k buffers to be ↵Gregory Montoir
dynamically allocated. svn-id: r26879
2007-05-18added debug code to display sprite masksGregory Montoir
svn-id: r26865
2007-05-18added missing MIN() callsGregory Montoir
svn-id: r26864
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-02-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2006-11-23et up cursor palette. This fixes Amiga/Atari versions and makes cursor moreEugene Sandulenko
visible in most cases. svn-id: r24766
2006-11-18Implement o1_fadeToBlack()Eugene Sandulenko
svn-id: r24738
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-04-13Work around crash in drawSpriteRaw(). In Future Wars, when going to the future,Torbjörn Andersson
I walked back to the room where I first arrived. At that point, maskPtr was NULL for reasons yet unknown. svn-id: r21839
2006-04-08Cleanup.Torbjörn Andersson
svn-id: r21683
2006-04-07This may look like a less good way of transforming three bits of colour intoTorbjörn Andersson
eight bits. Perhaps it is. But it seems to match the output from DOSbox when running Future Wars, and I tend to trust DOSbox in such matters. svn-id: r21658
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Made mouse more responsiveEugene Sandulenko
svn-id: r21413
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-15added mouse cursorsGregory Montoir
svn-id: r21321
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-24cleanupGregory Montoir
svn-id: r20846
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