aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-05-21Removed the PREG, PSTK, IS_NULL_REG and REG_EQ definesFilippos Karapetis
svn-id: r40767
2009-05-21Slight cleanup to kGetTime()Filippos Karapetis
svn-id: r40754
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-20SCI: Moved code related to loading/setting up kernel function names from ↵Max Horn
vocab_debug.cpp to engine/kernel.cpp svn-id: r40741
2009-05-20SCI: Changed EngineState::opcodes to a Common::Array (maybe we shold just ↵Max Horn
remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode svn-id: r40740
2009-05-20SCI: Moved some private decls from kernel.h to kernel.cpp; removed pointless ↵Max Horn
(and incorrect) fallback code in k_Unknown svn-id: r40739
2009-05-20SCI: Moved the few kernel functions that were in kernel.cpp to a new file ↵Max Horn
kmisc.cpp svn-id: r40738
2009-05-19SCI: Some debugger fixes and cleanup.Walter van Niftrik
svn-id: r40732
2009-05-19SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too.Walter van Niftrik
svn-id: r40724
2009-05-19SCI: Doxygenified a few commentsMax Horn
svn-id: r40720
2009-05-19SCI: Added some stubs for LSL6CD (lores).Walter van Niftrik
svn-id: r40719
2009-05-19SCI: Introduce a new subclass StringFrag of MemObject (does nothing right ↵Max Horn
now); switched MemObject to subclass Common::Serializable svn-id: r40714
2009-05-19SCI: got rid of EngineState::savegame_version; some cleanupMax Horn
svn-id: r40713
2009-05-19SCI: Init the diff .#&$ EngineState::flags field in the constructor and when ↵Max Horn
loading -- fixes many weird crashes upon loading (lesson to be learned: if you add fields to a class, then (a) init it in the construtor and (b) if the class support serializing, make sure the new field is handled when saving/loading :-) svn-id: r40712
2009-05-19SCI: Cleanup/paranoia checksMax Horn
svn-id: r40711
2009-05-18SCI: Added FIXMEMax Horn
svn-id: r40695
2009-05-18SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵Max Horn
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694
2009-05-18SCI: Removed SCI_SIMPLE_SAID_CODE and the associated heavily bitrotted codeMax Horn
svn-id: r40691
2009-05-18SCI: Removed ENTRY_IS_VALID macroMax Horn
svn-id: r40690
2009-05-18SCI: cleanupMax Horn
svn-id: r40689
2009-05-18SCI: Tweaks, cleanupMax Horn
svn-id: r40688
2009-05-18SCI: Fixed Table::initTable to invoke _table.clear()Max Horn
svn-id: r40687
2009-05-18SCI: Changed SegManager to not pre-allocate _heap entries (leave the memory ↵Max Horn
management to Common::Array) svn-id: r40686
2009-05-18SCI: Removed the unused member SegManager::gc_mark_bits; changed some int ↵Max Horn
params to SegmentId svn-id: r40685
2009-05-18SCI: Added a FIXME to graph_save_boxMax Horn
svn-id: r40684
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