aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
AgeCommit message (Collapse)Author
2003-04-20add script hex dumping option to debuggerJonathan Gray
svn-id: r7024
2003-04-18some changes for indy egaPaweł Kołodziejski
svn-id: r7019
2003-04-13handle old_bundle offsets getVerbEntrypoint(), o5_setObjectName(), ↵Paweł Kołodziejski
getObjOrActorName() funcs svn-id: r7003
2003-04-10hard to look at dial a pirate when you don't have graphicsJonathan Gray
svn-id: r6951
2003-04-06also Loom exception in the read/write var funcsPaweł Kołodziejski
svn-id: r6920
2003-04-06corrected right/bottom borders while clipping at drawBox() funcPaweł Kołodziejski
svn-id: r6919
2003-03-08removed valgrind hack againMax Horn
svn-id: r6765
2003-03-07added some code to get better valgrind resultsMax Horn
svn-id: r6758
2003-03-07ouch - fixed OOB access on _baseFLObject; also added various sanity checks ↵Max Horn
(thx valgrind) svn-id: r6732
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-02-06removed an obsolete member var, and started to make Scumm member vars ↵Max Horn
protected (had to make some exception; the code which makes these exceptions necessary should be revised) svn-id: r6589
2003-01-15ComI uses more localsJames Brown
svn-id: r6470
2003-01-12Well.. it works NOW. (flObject fix part 2 :P)James Brown
svn-id: r6422
2003-01-12Small fix - _numLocalObjects is a 1-based array, so don't go reading bad ↵James Brown
memory :P svn-id: r6417
2003-01-12New method of local object management. Buggy, segfaults on the Part 1 screen ↵James Brown
and I don't know why yet.. svn-id: r6416
2003-01-12make script trace less noisyMax Horn
svn-id: r6408
2003-01-01moved Scumm::faceActorToObj to Actor::faceToObject; moved various functions ↵Max Horn
in script.cpp (grouping cutscene/override related stuff) svn-id: r6317
2003-01-01fixed cutscene override in V8; cleanupMax Horn
svn-id: r6316
2002-12-30added FIXMEMax Horn
svn-id: r6271
2002-12-30get rid of annoying warningMax Horn
svn-id: r6267
2002-12-28get rid of getStringLen and use the more powerful resStrLen instead; moved ↵Max Horn
resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing svn-id: r6215
2002-12-27fixed verb entry code for V8Max Horn
svn-id: r6199
2002-12-27cleanupMax Horn
svn-id: r6197
2002-12-27fix S&M (why was that changed made in the first place I wonder?)Max Horn
svn-id: r6188
2002-12-26fixed verb scriptsMax Horn
svn-id: r6175
2002-12-26Hack around a COMI crash..James Brown
svn-id: r6172
2002-12-25implemented V8 kernel function 'killAllScriptsButMe' - not sure if I did it ↵Max Horn
right, though svn-id: r6145
2002-12-25two good rules of thumb: don't use typecasts if you don't have to - type ↵Max Horn
cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen... svn-id: r6143
2002-12-25cleanupMax Horn
svn-id: r6140
2002-12-25converted heaps of int16 to int for V8 compatibility; fixed defineArray for ↵Max Horn
V8; added some work in o8_kludge2 svn-id: r6132
2002-12-25Hacky font support - first attempt :)James Brown
svn-id: r6127
2002-12-24enabled room & local scripts in V8; some more opcodesMax Horn
svn-id: r6105
2002-12-23set script tracing to level 1 - at least while we do V8 debugging, later we ↵Max Horn
can go back to a higher level svn-id: r6082
2002-12-23and more V8. Now we again hit the charset limit, but this time caused by the ↵Max Horn
script itself :-) svn-id: r6077
2002-12-23fix jumpTrue/jumpFalse opcodes; slightly better debug outputMax Horn
svn-id: r6075
2002-12-23don't be needlessly verbose; allow byte arrays in V8Max Horn
svn-id: r6071
2002-12-23word size for V8 games is 4 bytes, as opposed to 2 bytes in V6/V7 games. ↵Max Horn
Hence we adjust fetchScriptWord - this way we can reuse all sorts of code (and no, this is not really a hack - word size by tradition is something which varies depending on the architecture, so it is even consistent) svn-id: r6064
2002-12-22minor cleanupMax Horn
svn-id: r6059
2002-12-16refactoring: use inheritance to mode the relations between the various ↵Max Horn
engine versions. E.g. the V6 opcodes are now in Scumm_v6, the V5 opcodes in Scumm_v5 (from which we now derive v2-v4. which is a bit odd - maybe we should move the v5 opcodes to Scumm_v3 ?) svn-id: r5994
2002-12-09cleanupMax Horn
svn-id: r5893
2002-11-23fixed o5_resourceRoutines for OLD256 games (various subopcodes are still not ↵Max Horn
implemented, though); some cleanup svn-id: r5699
2002-11-19Added MonkeyVGA copy protection bypass, patch #640546Travis Howell
svn-id: r5616
2002-11-08Fix Indy3 "Guard-Fighting" crash and properly fix the empty exits problemJames Brown
svn-id: r5467
2002-11-06why keep a seperate opcode entry & opcode description table if we can have ↵Max Horn
it both in one (note that the descriptions were in fact outdated in some cases! also note, this is really just a refactoring, no functionality is changed except that opcode descriptions are now in sync with the opcode procs, that's why I am commiting this at all) svn-id: r5445
2002-11-03Indy3 only uses the low 4 bits of a variableJames Brown
svn-id: r5393
2002-11-03hack around what seems to be an empty exit script in indy3 (besides the size ↵Jonathan Gray
and tag) for now, maybe we should be strictly not reading past the size defined in the header of the script? svn-id: r5390
2002-11-02*cough*... never mind me...James Brown
svn-id: r5381
2002-11-02Make stack problems a little more verboseJames Brown
svn-id: r5380
2002-10-27removed hardcoded values and increased range of stripsPaweł Kołodziejski
svn-id: r5329