aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-12SCI: Revert r47929 (bad idea, as we may run out of offsets). Instead, adapt ↵Walter van Niftrik
SCI32 list iteration code to store node successor before invoking. svn-id: r48036
2010-02-07SCI: Move bulk of op_callk code to new func callKernelFunc()Max Horn
svn-id: r47979
2010-02-07SCI: cleanup; try to unify var names when reading PMachine instructions a bitMax Horn
svn-id: r47978
2010-02-07SCI: Simplify yet another case of weird 'unsigned to signed' conversionMax Horn
svn-id: r47977
2010-02-07SCI: Get rid of GET_OP_ macrosMax Horn
svn-id: r47957
2010-02-07SCI: Add function readPMachineInstruction()Max Horn
svn-id: r47956
2010-02-06SCI: Run GC only when execution_stack_base is 0.Walter van Niftrik
svn-id: r47929
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-02-03SCI: Make add_exec_stack_entry & add_exec_stack_varselector static / privateMax Horn
svn-id: r47837
2010-02-03SCI: restoring param of run_vm is a bool, not an intMax Horn
svn-id: r47834
2010-02-03SCI: Get rid of EngineState::stack_segmentMax Horn
svn-id: r47833
2010-02-03SCI: Rearrange members of class EngineStateMax Horn
svn-id: r47832
2010-02-02SCI: Use Common::List and Common::String to simplify breakpoint handling ↵Max Horn
(untested) svn-id: r47824
2010-02-02SCI: Move some code around (no code changes)Max Horn
svn-id: r47823
2010-01-31Removed an unused parameter from _game_run()Filippos Karapetis
svn-id: r47734
2010-01-30Fixed loading of saved gamesFilippos Karapetis
svn-id: r47729
2010-01-30SCI: Don't mess with save_slot just to be able to decide whether we already ↵Max Horn
honored a load request or not svn-id: r47726
2010-01-30SCI: Correct comments which talked about 'loading from GMM' when they really ↵Max Horn
meant 'loading from launcher' svn-id: r47725
2010-01-30SCI: Mark scriptState as one of the many evil global vars in the SCI engineMax Horn
svn-id: r47724
2010-01-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-30Fix warningWillem Jan Palenstijn
svn-id: r47706
2010-01-30Silenced a very annoying warningFilippos Karapetis
svn-id: r47704
2010-01-30SCI: Apply fix from r47683 to u> and u<= as well. Fixes Longbow.Walter van Niftrik
svn-id: r47700
2010-01-29SCI: Partly revert r47597, as it is superseded by r47683.Walter van Niftrik
svn-id: r47686
2010-01-29Document my last changeLars Skovlund
svn-id: r47684
2010-01-29SCI: uge? and ult? opcodes now work correctly when comparing pointers with 1000.Lars Skovlund
svn-id: r47683
2010-01-29SCI: Reduce header interdependencies a bitMax Horn
svn-id: r47666
2010-01-29SCI: Added OnStartup debug flag to start the debugger at the start of the game.Walter van Niftrik
svn-id: r47663
2010-01-28SCI: Add debug opcodesWalter van Niftrik
svn-id: r47646
2010-01-28Changed run_vm() to use the sci_opcodes enum, and fixed several wrong ↵Filippos Karapetis
opcodes inside that enum svn-id: r47642
2010-01-28Removed a hack for the demo version of Torin's passage. It errors out ↵Filippos Karapetis
because the static selector vocabulary for SCI2+ games isn't implemented yet svn-id: r47640
2010-01-27SCI: Experimental fix for Longbow outlook crash.Walter van Niftrik
When using a pointer in number arithmetic, substitute a large value instead of 0 (cf. Hoyle hack in kAbs). svn-id: r47597
2010-01-27Added support of the subtraction of two pointers, when they got the same ↵Filippos Karapetis
segment. This operation will yield a number, like in C, and it's used by script 385 in Castle of Dr. Brain (the hangman script). Fixes exiting room 360 (the puzzle room) in Castle of Dr. Brain svn-id: r47595
2010-01-27SCI: Restore pointer checks removed in r47585.Walter van Niftrik
svn-id: r47587
2010-01-27SCI: Add pointer comparison support to signed comparison operators.Walter van Niftrik
svn-id: r47585
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-21Fix gcc warning.Johannes Schickel
svn-id: r47425
2010-01-21SCI: Saved games can now be loaded from ScummVM's launcherFilippos Karapetis
svn-id: r47423
2010-01-19- Removed the resetDriver() hack. The reason why notes stopped being played ↵Filippos Karapetis
sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn) - Hooked setReverb() to actually set music reverb svn-id: r47392
2010-01-17SCI: another speed throttler, delays decrementing cycles/cycleCnt selectors, ↵Martin Kiewitz
disabled code just for reference svn-id: r47342
2010-01-06The error inside execute_method() has been restored, it's only a warning for ↵Filippos Karapetis
SCI2+ games for now, till we figure out what's wrong svn-id: r47079
2010-01-05Changed an error to a warning in execute_method(), so that Torin's Passage ↵Filippos Karapetis
scripts continue running (and crash at some later point) svn-id: r47044
2010-01-03Fixed compilation with DISABLE_VALIDATIONS, and fixed a bug in kPrevNodeFilippos Karapetis
svn-id: r46949
2010-01-03SCI: Support pointer arithmetics in +ag, +agi, etc. tooLars Skovlund
svn-id: r46935
2010-01-01SCI: Fix segfault in dual-language KQ5.Walter van Niftrik
svn-id: r46864
2010-01-01SCI/new music code: The MIDI driver is now reset whenever the game's VM ↵Filippos Karapetis
respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others svn-id: r46843