aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-05-18SCI: Replaced SegManager::getHeap() by Script::getHeap()Max Horn
svn-id: r40683
2009-05-18Oops didn't mean to remove new line from this format string.Johannes Schickel
svn-id: r40682
2009-05-18Don't print __FILE__,__LINE__ in *_list related debug output, it would only ↵Johannes Schickel
print klists.cpp and the according line anyway. svn-id: r40681
2009-05-18Fix some error/warning calls. (might need some review, from someone familiar ↵Johannes Schickel
with SCI) svn-id: r40680
2009-05-18Fixed incorrect order of parameters in the workaround debug message shown ↵Filippos Karapetis
for LSL6 svn-id: r40678
2009-05-18Added a workaround for LSL6, thanks to waltervn's commentsFilippos Karapetis
svn-id: r40677
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-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-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-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: 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-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: 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-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-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-12SCI: cleanupMax Horn
svn-id: r40518
2009-05-12SCI: Replaced SFX_OK/SFX_ERROR by Common::Error, and got rid of sfx/sfx.hMax Horn
svn-id: r40517
2009-05-12SCI: Changed object / script local vars storage to use a Common::ArrayMax Horn
svn-id: r40515
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12Performed some cleanup on the different version checksFilippos Karapetis
svn-id: r40499
2009-05-12SCI: Fixed a valgrind warning.Walter van Niftrik
svn-id: r40492
2009-05-12Removed some unused codeFilippos Karapetis
svn-id: r40486
2009-05-12SCI: Sound: Send signal immediately for currently unsupported fade-and-continue.Walter van Niftrik
svn-id: r40484
2009-05-12SCI: Merged Message() and GetMessage(). Set SCI1.1 to use SCI1 kernel table ↵Walter van Niftrik
(for now). svn-id: r40481
2009-05-12SCI: Message: Added resource-internal recursion (currently untested).Walter van Niftrik
svn-id: r40478
2009-05-12- Slight cleanup of c_sfx_01_header()Filippos Karapetis
- "words" -> "kernelwords" svn-id: r40474
2009-05-12Moved the "suffixes" and "words" console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r40473