aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-05Got rid of the unused 'filename' attribute in SaveStateDescriptorMax Horn
svn-id: r34905
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-10-26Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, ↵Filippos Karapetis
as discussed in patch #2122869 svn-id: r34854
2008-10-22Remove unnecessary function overloadings for loadBg16 and loadBg256.Kari Salminen
svn-id: r34840
2008-10-22Make incrustMask and incrustSprite only draw to the current background in ↵Kari Salminen
Operation Stealth. svn-id: r34838
2008-10-19Cleanup (Removed an extra 'return 0').Kari Salminen
svn-id: r34826
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-09-01Merging more of the GSoC 2008 RTL branch: CINEMax Horn
svn-id: r34244
2008-08-25Added a warning to bug #2055912's fix committed in revision 34132.Kari Salminen
svn-id: r34146
2008-08-24Fix for bug #2055912: FW: incrustSprite fails on savegame loading.Kari Salminen
What little testing I did, this seems to work, but more testing would be nice. svn-id: r34132
2008-08-22Designate fix for bug #2057619 as a hack, as that's what it is.Kari Salminen
svn-id: r34102
2008-08-21Fix typo.Kari Salminen
svn-id: r34084
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-20Fix font loading:Kari Salminen
Fixes bug #2058539: OS: Assert starting demo (regression). May possibly also fix bug #2019344: FW: crash with Amiga Italian version (photocopy room), but not sure about that because I couldn't reproduce the bug myself. svn-id: r34065
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-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-19Fix for bug #2057637: FW: Spaceship glitches in demo (regression).Kari Salminen
This was caused by assuming in-place decompression is ok, it wasn't, although AFAIK the original did decompression in-place too. Changed unpacking to be done not in-place and the glitch vanished. Also changed the unpacker to also handle uncompressed input data. svn-id: r34034
2008-08-17Added some documentation about how data is unpacked in gfxConvertSpriteToRaw ↵Kari Salminen
(Learned this from trying to implement convertPI1_2 i.e. gfxConvertSpriteToRaw myself to see if that was the problem with the Operation Stealth's labyrinth arcade sequence). svn-id: r33976
2008-08-17Forwardport of branch-0-12-0's r33966: Fix to Future Wars's rendering of ↵Kari Salminen
type 0 overlays (i.e. color sprites). Objects with negative frame values are supposed to be jumped over (Verified with disassembly). svn-id: r33967
2008-08-16Workaround for bug #2054882 (FW: Impossible to survive entering monastery ↵Kari Salminen
(regression)): For Future Wars o1_compareGlobalVar now compares global variable 255 to be equal to everything. The scripts probably tested global variable 255 for equality with some value (Maybe 143?) to see whether copy protection was properly passed. svn-id: r33950
2008-08-16Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit ↵Kari Salminen
to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything. svn-id: r33935
2008-08-16After merging trunk, Cine doesn't crash on RTL anymore. Awesome.Christopher Page
svn-id: r33926
2008-08-16Merged revisions ↵Christopher Page
33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33924
2008-08-15Fixes for Cine engine loading from launcherChristopher Page
svn-id: r33914
2008-08-15Defined some MetaEngineFeatures for the engines, the launcher uses these ↵Christopher Page
features to allow/disallow loading and deleting saves svn-id: r33909
2008-08-14Moved showing of the collision page from Alt-key to F11-key because Alt ↵Kari Salminen
conflicted with taking screenshots using Alt-s. Great. Hopefully F11 doesn't conflict with anything useful. svn-id: r33877
2008-08-14Fix for bugging moving at the bottom of the ocean when trying to free the ↵Kari Salminen
girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace. svn-id: r33872
2008-08-14Added debug showing of the collision page when pressing the Alt key. Alt ↵Kari Salminen
isn't used for anything else so one might as well use it for this. svn-id: r33871
2008-08-13Type 21 overlay comment update (Found the drawing routine in the disassembly ↵Kari Salminen
and checked the original for how the oxygen gauge during the first arcade sequence looks like. They're some kind of sprites most likely and not just simply filled rectangles). svn-id: r33826
2008-08-12Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' ↵Kari Salminen
Valgrind warning at sound.cpp:611. svn-id: r33812
2008-08-12Fixed drawPlainBox's boundary checking (It wrote outside the screen ↵Kari Salminen
occasionally). Now using the Common::Rect for clipping, yay! It's good. svn-id: r33811
2008-08-12Added possibility to get the read resource's size from readBundleFile. Made ↵Kari Salminen
loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)). svn-id: r33810
2008-08-12fix typo 'baclup' -> 'backup'Joost Peters
svn-id: r33809
2008-08-12Fix for GCC warning in OSRenderer::renderOverlay: declaration of 'len' ↵Kari Salminen
shadows a previous local. svn-id: r33808
2008-08-12Tiny comment fix.Kari Salminen
svn-id: r33807
2008-08-12Implemented Operation Stealth's makeCommandLine.Kari Salminen
svn-id: r33805
2008-08-12Implemented Operation Stealth specific parts of processInventory and added ↵Kari Salminen
another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth. svn-id: r33795
2008-08-12Changed commandBuffer from a char[80] to Common::String and made ↵Kari Salminen
FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid. svn-id: r33793
2008-08-11Made Operation Stealth's action failure messages use a background color set ↵Kari Salminen
by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems. svn-id: r33792
2008-08-11Implemented drawMessage changes for Operation Stealth's timed cutscenes ↵Kari Salminen
(Negative colors are used for timed text boxes that are totally transparent, only the text is drawn). svn-id: r33790
2008-08-11Moved fontParamTable inside TextHandler struct and made it a constant size ↵Kari Salminen
as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed. svn-id: r33786
2008-08-11Changed palPtr from a pointer to a Common::Array named palArray. Removed ↵Kari Salminen
palEntriesCount variable as it's now equivalent to palArray.size(). svn-id: r33785
2008-08-11Removed textDataPtr pointer as it's not used beyond the loadTextData ↵Kari Salminen
function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables). svn-id: r33784
2008-08-11Changed partBuffer from a pointer to a Common::Array. Removed ↵Kari Salminen
numElementInPart variable as it's now equivalent with partBuffer.size(). svn-id: r33783
2008-08-11Added a safeguard to readBundleFile so it shouldn't corrupt memory even if ↵Kari Salminen
the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data). svn-id: r33782
2008-08-11Changed readBundleFile to unpack data in-place and added debugging messages ↵Kari Salminen
to the function. svn-id: r33781