aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-11-17SCI3: relocate operand of the lofsa opcodeLars Skovlund
svn-id: r54301
2010-11-17Adapt SCI property instructions (pToa etc.) to SCI3Lars Skovlund
svn-id: r54296
2010-11-17SCI: lofsa/lofss functionality for SCI3Filippos Karapetis
- Updated detectLofsType() for SCI3 - Cleaned up op_lofsa and op_lofss and updated them for SCI3 svn-id: r54293
2010-11-17SCI: Added some SCI3 selector related informationFilippos Karapetis
- Added a TODO for the usage of the -info- selector in kClone and kDisposeClone in SCI3 scripts, as it's no longer used in SCI3 - Added information about which of the selectors are missing in SCI3. There are some more which are missing, but aren't used in SCI2-SCI3 anyway - Some styling svn-id: r54291
2010-11-09SCI: Added comments for rev. 54150 and fixed a typoFilippos Karapetis
svn-id: r54153
2010-11-09treat pushSelf opcode with low bit set as pushSelf (in fangames only, ↵Lars Skovlund
currently). Fixes bug #3038686. (SCI Fanmade - Circus Quest: Crash when starting). svn-id: r54150
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-07SCI: Still show warning for uninit. reads in release modeWillem Jan Palenstijn
svn-id: r53047
2010-10-07SCI: unknown valgrind cases->fake 0 when officialMartin Kiewitz
we will fake 0 instead of error()ing out in official releases, when an uninitialized temp is read is supposed to get backported svn-id: r53046
2010-09-09SCI: Changed the error message when execute_method() references an invalid ↵Filippos Karapetis
export svn-id: r52653
2010-09-02SCI: Fixed compilation when VM_DEBUG_SEND is enabledFilippos Karapetis
svn-id: r52498
2010-09-02SCI: fixing debug output for bpxMartin Kiewitz
svn-id: r52491
2010-09-02SCI: adding "bpr" and "bpw" debug commandsMartin Kiewitz
"bpr" breakpoint on reading of selectors "bpw" breakpoint of writing of selectors "bpx" is now breakpoint on executing of selectors only svn-id: r52490
2010-09-02JANITORIAL: Remove extra semi-colons.Torbjörn Andersson
svn-id: r52489
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
2010-08-25SCI: Make assert stricter.Willem Jan Palenstijn
(Thanks to fuzzie.) svn-id: r52376
2010-08-19SCI: Fixed one of the bugs in hoyle3, from bug report #3038837 - "HOYLE3: ↵Filippos Karapetis
EGA/VGA Crashes" (that report includes more issues) svn-id: r52213
2010-08-14SCI: Silence shadowed variable warning of g++.Johannes Schickel
svn-id: r52082
2010-08-14SCI: adding workaround for camelot during endingMartin Kiewitz
fixes bug #3044734 also fixing heap corruption during the ending svn-id: r52077
2010-08-07SCI: Improve output when VM_DEBUG_SEND is setFilippos Karapetis
svn-id: r51831
2010-08-07SCI: Fixed script bug #3040142 - "PEPPER: Crash on Pugh's office"Filippos Karapetis
svn-id: r51821
2010-08-06SCI: Rewrote the Mother Goose workaround to be like the others, some cleanupFilippos Karapetis
svn-id: r51786
2010-08-06SCI: properly implementing qfg2 astrologer workaroundMartin Kiewitz
svn-id: r51783
2010-08-05SCI: Added a workaround for a script bug in QFG2, room 200, when talking ↵Filippos Karapetis
with the astrologer. Fixes bug #3039879, "QFG2: Crash at astrologer's" svn-id: r51772
2010-08-05SCI: Changed the warning when a script can't be found from a segment into an ↵Filippos Karapetis
error svn-id: r51758
2010-08-04SCI: Fix bug #3038913 - SCI Fanmade - The Legend of the Lost Jewel: Crash by ↵Matthew Hoops
bugs Added workaround for calling mul with an object and kSetAngle with two objects as parameters. svn-id: r51743
2010-08-03SCI: adding bpk debug commandMartin Kiewitz
currently removing or listing such breakpoints is not yet supported svn-id: r51710
2010-08-03SCI: adding workaround for pq3Martin Kiewitz
fixes bug #3037565 svn-id: r51701
2010-07-31SCI: removing warning about uninitialized parametersMartin Kiewitz
didn't cause any harm till now and it seems testers get irritated by it. Switching it to VM debug level 2. svn-id: r51540
2010-07-30SCI: Updated the op_mod changes and added a link to the original bug reportFilippos Karapetis
svn-id: r51509
2010-07-30SCI: Added handling of negative numbers toFilippos Karapetis
op_mod for SCI01 and newer games. Fixes the battlecruiser mini-game in SQ5. Many thanks to lskovlun, wjp and m_kiewitz for their joined effort on this issue svn-id: r51508
2010-07-29SCI: some subfunction support for logkernelMartin Kiewitz
svn-id: r51475
2010-07-28SCI: Adding the room number to some more errorsFilippos Karapetis
svn-id: r51413
2010-07-27SCI: changes for mother goose sci2.1Martin Kiewitz
changed signature for kSetCursor sci2.1 added workarounds added separate gameid for mother goose sci2.1 svn-id: r51385
2010-07-27SCI: Add a 0x prefix to localCall to show it's a hexadecimal numberMatthew Hoops
svn-id: r51341
2010-07-26SCI: Added room number to signature mismatch errorsFilippos Karapetis
svn-id: r51303
2010-07-26SCI: Fixed bug #3034464, "ECOQUEST2: Crash near beginning"Filippos Karapetis
svn-id: r51293
2010-07-24SCI: added said spec dump ability to logkernelMartin Kiewitz
svn-id: r51242
2010-07-23SCI: result now displayed in decimal for logkernelMartin Kiewitz
svn-id: r51225
2010-07-23SCI: some small logkernel changesMartin Kiewitz
svn-id: r51224
2010-07-23SCI: logkernel changesMartin Kiewitz
removing old manual debug code, use logkernel * on/off to log all calls svn-id: r51222
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-23SCI: adding table for kDisplay workaroundsMartin Kiewitz
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart) Moving trackOriginAndFindWorkaround() into workarounds.cpp svn-id: r51209
2010-07-22When modifying variable selectors with argc > 1, don't throw a warning, but ↵Filippos Karapetis
use a debugC instead. These are usually typos in the original scripts, and aren't fatal svn-id: r51147
2010-07-22SCI: Fixed a bug when loading some saved games (sometimes, the execution ↵Filippos Karapetis
stack wasn't cleared properly when loading and you couldn't save or restore) svn-id: r51140
2010-07-21SCI: Moved all the static kernel-related tables in a separate file. Also, ↵Filippos Karapetis
moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls svn-id: r51089
2010-07-21SCI: Moved all the workaround tables in a separate file, to keep them apart ↵Filippos Karapetis
from the actual code svn-id: r51088
2010-07-21SCI: adding lsl6hires uninit workaroundMartin Kiewitz
svn-id: r51087
2010-07-20SCI: Removed the restoring parameter of the run_vm() functionFilippos Karapetis
svn-id: r51076