aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-07-20SCI: some sci32 fixesMartin Kiewitz
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area svn-id: r51074
2010-07-20SCI: adding lsl6hires uninit workaroundMartin Kiewitz
svn-id: r51072
2010-07-20SCI: tiny comment changeMartin Kiewitz
svn-id: r51069
2010-07-20SCI: clean up workaround tables/codeMartin Kiewitz
svn-id: r51068
2010-07-20SCI: adding uninit workarounds for cnick gamesMartin Kiewitz
longbow and king's quest KQ has the same issues as hoyle 3 svn-id: r51063
2010-07-20SCI: fix regression of r51060Martin Kiewitz
svn-id: r51062
2010-07-20SCI: change the workaround-typesMartin Kiewitz
0 is now don't call 1 is do call 2 is don't call and fake acc makes more sense svn-id: r51060
2010-07-19SCI: adding 2 uninit workarounds for hoyle1Martin Kiewitz
svn-id: r51036
2010-07-19SCI: fix ult to work for pq2 japaneseMartin Kiewitz
pq2 japanese compares pointers to 2000 to find out if its a resourceid or a pointer svn-id: r51023
2010-07-18SCI: fix warningMartin Kiewitz
svn-id: r51010
2010-07-18SCI: make the left-over opcodes more verboseMartin Kiewitz
...and add ability to easily add workarounds remove ACC_ARITHMETIC_L and POP() svn-id: r51005
2010-07-18SCI: make bnot/mod/mul more verboseMartin Kiewitz
...and add abitility to easily add workarounds svn-id: r51003
2010-07-18SCI: ipToa/ipTos/dpTos more verboseMartin Kiewitz
...and adding ability to add workarounds easily svn-id: r50999
2010-07-18SCI: making int/uint comparsions more verboseMartin Kiewitz
replacing int/uint comparsion opcode with new code that also displays much more information in case of errors and also add possibility to easily add workarounds svn-id: r50997
2010-07-18SCI: adding room numbers to all workaroundsMartin Kiewitz
svn-id: r50990
2010-07-18SCI: adding workaround for script bug in lsl6 when looking through tileMartin Kiewitz
svn-id: r50987
2010-07-18SCI: added uninitialized workarounds for hoyle 3Martin Kiewitz
svn-id: r50978
2010-07-17SCI: adding uninitialized workaround for gk1Martin Kiewitz
svn-id: r50969
2010-07-17SCI: added uninitialized workaround for lsl3Martin Kiewitz
svn-id: r50965
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-17SCI: added gameid for send() sq4 workaroundMartin Kiewitz
svn-id: r50961
2010-07-16SCI: adding uninitialized workaround for lsl1 when playing at the casinoMartin Kiewitz
svn-id: r50938
2010-07-14SCI: adding workaround for qfg1vga script bug (div on object) which occurs ↵Martin Kiewitz
when entering inn svn-id: r50892
2010-07-14SCI: separating qfg1ega and qfg1vga gameidsMartin Kiewitz
svn-id: r50881
2010-07-14TyposFilippos Karapetis
svn-id: r50862
2010-07-13SCI: uninitialized workaround for qfg2 when accessing inventoryMartin Kiewitz
svn-id: r50854
2010-07-12SCI: Move breakpoint checks into SciEngine methodsMax Horn
svn-id: r50837
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-12SCI: changing how savegame ids are handled internally. Using range 0-999 so ↵Martin Kiewitz
that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots svn-id: r50831
2010-07-12SCI: adding uninitialized workaround for lsl6Martin Kiewitz
svn-id: r50819
2010-07-12SCI: add workaround for lsl6 restore issue (needs to get further ↵Martin Kiewitz
investigated), hunk segment is used but hunk segment isn't existant at that point when restoring the game svn-id: r50814
2010-07-12SCI: adding 3 uninitialized temp workarounds for kq6 - found and created by ↵Martin Kiewitz
Ceriand, thanx svn-id: r50813
2010-07-12SCI: returning 0 when parameter reads go out-of-bounds, onto the stack and ↵Martin Kiewitz
hit an uninitialized temp, fixes pq2 .490 svn-id: r50812
2010-07-11SCI: changing uninitialized workaround for lsl6 narratorMartin Kiewitz
svn-id: r50804
2010-07-10SCI: calling speed throttler as well from kPalette(setIntensity) if needed - ↵Martin Kiewitz
fixes kq6 intro svn-id: r50794
2010-07-10SCI: adding to execstack only right before executing kernel call, otherwise ↵Martin Kiewitz
it wouldnt be possible to skip over sub-function kernel calls via workarounds svn-id: r50792
2010-07-10SCI: removing hoyle workaround from kAbs & signature and adding it into ↵Martin Kiewitz
workaround table svn-id: r50790
2010-07-10SCI: added signatures for kGraph, removed isDummy boolean from KernelFunctionMartin Kiewitz
svn-id: r50786
2010-07-09SCI: improve error message on subcall signature mismatchMartin Kiewitz
svn-id: r50774
2010-07-09SCI: adding workaround support for kernel subcalls, cleanupMartin Kiewitz
svn-id: r50770
2010-07-09SCI: removing origName from KernelFunction struct, adding debugCalls boolean ↵Martin Kiewitz
for later use svn-id: r50769
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-08SCI: part of subfunction signature&mapping implemented, little cleanupMartin Kiewitz
svn-id: r50750
2010-07-06SCI: Simplified op_div and op_mod, removed some variables and removed the ↵Filippos Karapetis
pointless OBJ_PROPERTY wrapper svn-id: r50719
2010-07-04SCI: Removed the unused line number parameter from validate_variable() and ↵Filippos Karapetis
related functions svn-id: r50654
2010-07-04SCI: Added a short description for all opcodes, so that it's easier to ↵Filippos Karapetis
understand what they do without cross referencing the wiki, and removed some obsolete and unused code svn-id: r50645
2010-07-01Added a workaround for an unitialized variable in GK2Filippos Karapetis
svn-id: r50580
2010-07-01Accidentally missed this file in commit 50577Lars Skovlund
svn-id: r50578
2010-07-01SCI: added another workaround for uninit temps, this time for jones/cdMartin Kiewitz
svn-id: r50574
2010-07-01SCI: Mark the ShiftScreen, ListOps and ATan SCI1 kernel functions as unused ↵Filippos Karapetis
(dummy) - we haven't seen them being used anywhere. Added a check and an error in case a kernel function which is considered to be unused is called. svn-id: r50567