aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-05-15Simplified SCI versions to be SCI version generations, and fixed some game ↵Filippos Karapetis
entries in the process. Also, added a sanity check for invalid game entries svn-id: r40596
2009-05-15Bugfix to saving the width of a cached background area - the previous code ↵Paul Gilbert
was, for some reason, saving the width divided by 2.. this was causing corruptions during reload for cached areas with an odd horizontal width svn-id: r40595
2009-05-15Corrected saving/loading of cached background areasPaul Gilbert
svn-id: r40594
2009-05-15Bugfix to prevent off-screen areas from being restored by restoreBackgroundPaul Gilbert
svn-id: r40593
2009-05-15LOL: implemented pit drop animationFlorian Kagerer
svn-id: r40592
2009-05-15Yet another strcpy() where source and destination may be the same...Torbjörn Andersson
svn-id: r40591
2009-05-15Fixes for the backupBackground method when X < 0Paul Gilbert
svn-id: r40590
2009-05-15Converted various printf statements to use debug, warning, and error.Paul Gilbert
svn-id: r40588
2009-05-15Bugfix for loadSetEntry to ensure graphics get allocated enough space. It's ↵Paul Gilbert
not exactly the way the original did it, but should suffice to ensure grahpics have sufficient space svn-id: r40587
2009-05-15Removed standard library includes - they were marked with a FIXME to remove, ↵Paul Gilbert
and the current compilation under both MSVC8 and MinGW doesn't seem to need them. svn-id: r40586
2009-05-15Fixed a memory leak in the new unified decodeGfxUnified decoder methodPaul Gilbert
svn-id: r40585
2009-05-15Converted some code from fopen to Common::File - it's not currently used, ↵Paul Gilbert
but just in case it's needed in the future svn-id: r40584
2009-05-15Fix bug #2791846 - SAMNMAX: Invalid opcode (regression).Travis Howell
svn-id: r40583
2009-05-14SCI: Fixed restoring scripts when loading a SCI 1.1 savestateMax Horn
svn-id: r40582
2009-05-14SCI: cleanupMax Horn
svn-id: r40581
2009-05-14SCI: Added a paranoia check to find_unique_script_block which causes us to ↵Max Horn
bail out if we are about to get stuck in an endless loop svn-id: r40580
2009-05-14SCI: Stop SCI1.1 games from complaining about an 'invalid' savedir by ↵Max Horn
setting the savedir string to the only value our kValidPath considers valid, namely '/' svn-id: r40579
2009-05-14SCI: Changed sci_obj_* enum value names to uppercase, in accordance with our ↵Max Horn
code formatting conventions svn-id: r40578
2009-05-14Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 ↵Max Horn
years :) in the quicktime midi code svn-id: r40577
2009-05-14SCI: A provisional fix for the "invalid selector" problem in KQ6 and otherWalter van Niftrik
SCI1.1 games. svn-id: r40575
2009-05-14Fixed the detection entry for SQ3 Amiga, and added a special case for cursor ↵Filippos Karapetis
hiding in SQ5 svn-id: r40574
2009-05-14CleanupFilippos Karapetis
svn-id: r40573
2009-05-14Only load used palette entries with SCI1/11Willem Jan Palenstijn
svn-id: r40571
2009-05-14Fixed SQ3 Amiga by hardcoding the resource version (automatic resource ↵Filippos Karapetis
version detection fails on this one) svn-id: r40568
2009-05-14Fixed regression in EGA gamesFilippos Karapetis
svn-id: r40567
2009-05-14Added a parameter to the graphics resource manager to determine if the ↵Filippos Karapetis
running SCI1 game is VGA or not (better than modifying the detected SCI resource version) svn-id: r40566
2009-05-14Added the EGA version of Longbow, and partially reverted my previous commit. ↵Filippos Karapetis
SCI1 EGA games should *really* be working now svn-id: r40565
2009-05-14- Added a new game flag to distinguish SCI1 EGA versionsFilippos Karapetis
- Fixed the wrong detected versions of Laura Bow 2 - Changed some code regarding the resource loader of Jones in the Fast Lane (which is still non-functional) svn-id: r40564
2009-05-14Fixed regression with SCI1.1 gamesFilippos Karapetis
svn-id: r40563
2009-05-14Replaced the SCI_VERSION_FTU_DOSOUND_VARIANT_2 version check with the game ↵Filippos Karapetis
feature flag GF_SCI1_NEWDOSOUND svn-id: r40561
2009-05-14Fix bug #2791699 - Feeble Files: Crash after OmniTV video.Travis Howell
svn-id: r40560
2009-05-14- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flagFilippos Karapetis
- Moved the version defines outside of versions.h svn-id: r40559
2009-05-14CleanupFilippos Karapetis
svn-id: r40558
2009-05-14SCI: Renamed GF_SCI0_BEFORE_* macros to GF_FOR_SCI0_BEFORE_* (to emphasise ↵Max Horn
that those are not Game Features); also moved their definitions into detection.cpp, to minimize the risk that they are accidentally used by other code svn-id: r40557
2009-05-14SCI: Message: fix K_MESSAGE_SIZEWalter van Niftrik
svn-id: r40556
2009-05-14Correct typo.Travis Howell
svn-id: r40555
2009-05-14Added a feature flag for the SCI1.1 behavior of kSetCursor() in Eco 1 and ↵Filippos Karapetis
KQ5 CD. Some cleanup svn-id: r40554
2009-05-14- Removed SCI_VERSION_FTU_NEW_GETTIMEFilippos Karapetis
- Added defines for SCI0 flags, to simplify game entries - Removed the leftover version_lock_flag from EngineState svn-id: r40553
2009-05-14Started using game-specific flags and removed/replaced some SCI version ↵Filippos Karapetis
checks with flags. - The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag - The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag - Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag - Removed the leftover min_version and max_version variables from gamestate - Cleaned up kGetTime() a bit svn-id: r40552
2009-05-14- Enabled the code which puts the text inside the screen if it doesn't fit ↵Filippos Karapetis
for all SCI versions - Removed the check for the mechanism to resume suspended songs (it's no longer used) svn-id: r40551
2009-05-14Minor corrections.Travis Howell
svn-id: r40550
2009-05-14Removed the hack used to check for the existence of the CantBeHere() selectorFilippos Karapetis
svn-id: r40549
2009-05-14Expand dump image code to cover all games, and add options to the debugger.Travis Howell
svn-id: r40548
2009-05-13SCI: Fixes a crash when loading SCI1.1 views without palette.Walter van Niftrik
svn-id: r40545
2009-05-13Simplified and re-enabled the debug code that shows pixmaps on screen and ↵Filippos Karapetis
moved sciprintf() to tools.cpp svn-id: r40542
2009-05-13SCI: Message: Added a few more subfunctions; cleanup.Walter van Niftrik
svn-id: r40529
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-13Fixed regression in SCI1 games from commit #40518Filippos Karapetis
svn-id: r40523
2009-05-13Reintroduced language string lists as a fallback for DELPHINE.LNG, since not ↵Paul Gilbert
all versions have this file svn-id: r40522