aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-09-25Reverted commit #44316, as colors show up correctly now without dithering. ↵Filippos Karapetis
Dithering is now off again for SCI0 by default, an can optionally be turned on svn-id: r44339
2009-09-25Created a macro for lround(), for non-C99 compilers, and used that in places ↵Filippos Karapetis
where lround() is used svn-id: r44337
2009-09-25SCUMM: Rename _bitDepth to _bytesPerPixelMax Horn
svn-id: r44336
2009-09-25Add const's to many interfaces of engines/draci/Robert Špalek
svn-id: r44331
2009-09-25Silenced some warningsFilippos Karapetis
svn-id: r44329
2009-09-25Replaced the C99 lround() with floor(), to get draci to compile under ↵Filippos Karapetis
non-C99 compilers (e.g. VS) svn-id: r44328
2009-09-25Make engines/draci/ compilable after merging from a branchRobert Špalek
svn-id: r44327
2009-09-25MERGE branch gsoc2009-draci 41388:44325 into trunkRobert Špalek
svn-id: r44326
2009-09-25Add comment about why r44322 was needed.Johannes Schickel
svn-id: r44323
2009-09-25Implement proper overflow handling in Gdi::writeRoomColor for Indy4 Amiga as ↵Johannes Schickel
described in #1294513 "FOA/Amiga: Palette problem (Regression)". svn-id: r44322
2009-09-25Attempt to fix bug #2838205 "MONKEY: Palette glitches in Amiga version" as ↵Johannes Schickel
described on the tracker item. svn-id: r44321
2009-09-24SCI: When setting global palette, map all unused colours to index 0.Willem Jan Palenstijn
This fixes white artifacts outside the bar in the SQ4CD intro, but might cause regressions elsewhere. svn-id: r44320
2009-09-24SCI: Delete unused function declarationWillem Jan Palenstijn
svn-id: r44319
2009-09-24SCI: Fix spellingMax Horn
svn-id: r44318
2009-09-24SCI: Fix flat dithering by permuting the blended palette so that the EGA ↵Willem Jan Palenstijn
colours are the first 16 entries svn-id: r44317
2009-09-24Set dithering to the FreeSCI "enhanced" style by default for SCI0 games, as ↵Filippos Karapetis
disabling dithering makes some colors not show up correctly (e.g. the trees in Iceman and LSL3). Dithering can still be disabled on a per-game basis by using the "dither_mode" option svn-id: r44316
2009-09-24Oops, DoNextFrame() is supposed to return a valueFilippos Karapetis
svn-id: r44315
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Turn an error into a warning.Johannes Schickel
svn-id: r44313
2009-09-24Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent ↵Filippos Karapetis
warnings and issues in compilers which don't support NORETURN svn-id: r44312
2009-09-24Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hackFilippos Karapetis
svn-id: r44311
2009-09-24Fixed bug in Engine::flipMute, whiched prevent the game from being muted the ↵Johannes Schickel
first time flipMute is called, when there's no "mute" config entry. svn-id: r44308
2009-09-24Changed some code to follow our guidelines.Johannes Schickel
svn-id: r44307
2009-09-24Fix what looks like a typo in the condition, which checks for a divide by zero.Johannes Schickel
svn-id: r44306
2009-09-24Add the "FIXME" comment at "g_engine" from engine.cpp to "g_engine" in ↵Johannes Schickel
engine.h too. svn-id: r44305
2009-09-24Fix warnings.Johannes Schickel
svn-id: r44304
2009-09-24Changed _script to be a pointer, in order to control its ↵Filippos Karapetis
creation/destruction, like the rest of the groovie engine parts, and resolve a potential issue that Microsoft claims to be severe (warning C4355, read more here: http://msdn.microsoft.com/en-us/library/3c594ae3.aspx) svn-id: r44303
2009-09-24Changed make_reg to accept the same type of parameters as a reg_t does - ↵Filippos Karapetis
i.e. 16-bit integers, instead of 32-bit ones svn-id: r44302
2009-09-24Changed createResFileEntry() to error out againFilippos Karapetis
svn-id: r44301
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44300
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44299
2009-09-24AGOS: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44298
2009-09-24MADE: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44296
2009-09-24TINSEL: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44295
2009-09-24The maximum value that a signed 16-bit integer can hold is 32767, not 32768 ↵Filippos Karapetis
(0x8000) svn-id: r44294
2009-09-24CRUISE: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44293
2009-09-24Removed some warnings about unreachable codeFilippos Karapetis
svn-id: r44292
2009-09-24Add "demo" to the extras field of the fallback detector for demosFilippos Karapetis
svn-id: r44291
2009-09-24Changed some references from LureEngine to the global g_engine (e.g. calls ↵Filippos Karapetis
to shouldQuit()), to minimize places where LureEngine is referenced svn-id: r44290
2009-09-24Add VGA script code differences in DIMP.Travis Howell
svn-id: r44288
2009-09-24Correct tags.Travis Howell
svn-id: r44286
2009-09-24Split the script opcode table for DIMP, since it doesn't match(ie timers) ↵Travis Howell
other Puzzle Pack games. svn-id: r44285
2009-09-24Commented out unused variableFilippos Karapetis
svn-id: r44284
2009-09-24Fix bug #2865191 - NoPatience hangs after undo.Travis Howell
svn-id: r44281
2009-09-23fix for bug #2820389Paweł Kołodziejski
svn-id: r44274
2009-09-23Commit modified patch from bug report #2849084 "AGI: Crash when saving ↵Johannes Schickel
fallback-matched game" to fix that bug. svn-id: r44273
2009-09-23not need continue checks after foundPaweł Kołodziejski
svn-id: r44272
2009-09-23SCI: Rename _sciVersion to s_sciVersion and made it local to resource.cpp ↵Max Horn
(i.e. follow CFG and achieve code/data isolation) svn-id: r44271
2009-09-23Removed redundant offset from dirty rect calculation logicPaul Gilbert
svn-id: r44270
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269