aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
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
2009-12-28Added a workaround for an off-by-one invalid species access bug in the LSL2 ↵Filippos Karapetis
demo svn-id: r46673
2009-12-27Renamed gameName -> gameId, to keep the same vocabulary everywhereFilippos Karapetis
svn-id: r46635
2009-12-24SCI32:Matthew Hoops
- Fix dup for kArray/kString - Implement kFileIO::rename (SCI1.1) - Implement part of the SCI32 additions to kFileIO - Implement the GetSaveDir part of kSave (SCI2.1) - Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data! svn-id: r46521
2009-12-19- Started wrapping the current sound code around appropriate definesFilippos Karapetis
- Introduced a new resource type, SoundResource, used in the new music code svn-id: r46421
2009-11-14Removed sfx/misc.hFilippos Karapetis
svn-id: r45885
2009-11-04- Changed the segment manager to be a static part of the engine, and stopped ↵Filippos Karapetis
deleting and recreating it when restoring games - Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
2009-10-30SCI: validate_variable fixed and now using bool instead of int (fixes pq3 ↵Martin Kiewitz
demo crash on my computer) svn-id: r45543
2009-10-22CleanupFilippos Karapetis
svn-id: r45323
2009-10-21Removed the accidental inclusion of deprecated code for LSL5 - this has been ↵Filippos Karapetis
superseded by commit 45297 svn-id: r45311
2009-10-21- Removed kShow() and the related code it uses - it's a debugging function, ↵Filippos Karapetis
and we have the same functionality in the debug console - Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine - Added a note about a hack used in the old GUI in the view signal flags - Moved the control state flags inside gui_helpers.h svn-id: r45310
2009-10-21SCI: Fix warning, and reformat a multi-line commentMax Horn
svn-id: r45303
2009-10-21Fixed the bug where ego would not walk properly after he's swapped in LSL5 ↵Filippos Karapetis
(from Larry to Patti and vice versa) svn-id: r45297
2009-10-18SCI: Rename game_obj to _gameObjMax Horn
svn-id: r45235