aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-05-18Removed the unused file and line parameters from the list and list node ↵Filippos Karapetis
lookup functions, and removed the LOOKUP_LIST and LOOKUP_NODE defines. Also, disabled the unused LOOKUP_SPECIES define svn-id: r40676
2009-05-18Changed errors to be fatal, as most of them are fatal conditions. Some of ↵Filippos Karapetis
them have been changed to warnings for now, as they occur in certain games (e.g. SQ4 floppy, SQ4 CD and KQ5 CD) svn-id: r40675
2009-05-17SCI: LSL6 invalid selector workaround is now always active, not just atWalter van Niftrik
startup. Added support for mirrored pic drawing. svn-id: r40648
2009-05-17Add more game demos.Travis Howell
svn-id: r40642
2009-05-17Add more game demos.Travis Howell
svn-id: r40635
2009-05-16SCI: Turned some relatively harmless yet frequently occurring warnings into ↵Walter van Niftrik
debug messages. svn-id: r40629
2009-05-16SCI: Allow the VM to continue when the invalid selector access occurs at the ↵Walter van Niftrik
start of LSL6. svn-id: r40627
2009-05-15Fix compilationWillem Jan Palenstijn
svn-id: r40611
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608
2009-05-15Removed unused defines and merged several different compression errorsFilippos Karapetis
svn-id: r40607
2009-05-15Reverted the SQ5 change introduced with commit #40574, as this makes the ↵Filippos Karapetis
mouse cursor invisible in games which have multicolored cursors svn-id: r40605
2009-05-15Merged the 3 Huffman trees into decompressor.cpp, and changed their layout ↵Filippos Karapetis
to be a bit more readable svn-id: r40604
2009-05-15SCI: Keep a single copy of the versionNames array; this fixes warning about ↵Max Horn
it (well, one of its many copies) being unused svn-id: r40600
2009-05-15SCI: Got rid of SEG_ID/SCRIPT_IDMax Horn
svn-id: r40599
2009-05-15SCI: Added SegManager::getScriptIfLoaded() methodMax Horn
svn-id: r40598
2009-05-15SCI: Turned several script related SegManager methods into Script methodsMax Horn
svn-id: r40597
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-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-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-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-14Removed the hack used to check for the existence of the CantBeHere() selectorFilippos Karapetis
svn-id: r40549
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-12SCI: cleanupMax Horn
svn-id: r40518