aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2010-12-22SCI: Sync in-game speech/subtitle options with the ones from the ScummVM GUI.Filippos Karapetis
- Obtain speech/subtitle options from the ScummVM GUI and set them in CD games. - Also, set simultaneous speech and subtitles in games that support them (currently SQ4 CD and Freddy Pharkas CD). There is no GUI option for setting simultaneous speech and subtitles in Freddy Pharkas CD, so this is the only current way of achieving this (unless the text speed slider inside the Freddy Pharkas options window is repurposed - but that will require extensive changes) svn-id: r55005
2010-11-21SCI: Removed incorrect pointer arithmetic support for SCI2 stringsFilippos Karapetis
There was never pointer arithmetic support in SCI2 and newer games svn-id: r54400
2010-11-19SCI: Only handle seg_type_string if ENABLE_SCI32 is definedLars Persson
svn-id: r54376
2010-11-19SCI3: Implement new opcode 0x4c.Lars Skovlund
svn-id: r54370
2010-11-19SCI: Added pointer arithmetic support for SCI2 stringsFilippos Karapetis
svn-id: r54365
2010-11-19SCI: Moved the Object class in a separate fileFilippos Karapetis
svn-id: r54361
2010-11-18SCI3: Fix new opcode 0x4eLars Skovlund
svn-id: r54347
2010-11-18SCI3: Added another previously unused opcode (0x27 / 0x4e)Filippos Karapetis
svn-id: r54341
2010-11-18SCI3: Add proper support for the calle instructionLars Skovlund
svn-id: r54327
2010-11-17SCI: Code formattingFilippos Karapetis
svn-id: r54305
2010-11-17SCI3: Implement opcode to retrieve the info selector.Lars Skovlund
svn-id: r54303
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