aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
AgeCommit message (Collapse)Author
2003-05-23bypass for Zak256 copy protection (can't test this right now, though)Max Horn
svn-id: r7870
2003-05-22restricted getObjectIndex to only search thru _objs, not _inventory(to avoid ↵Max Horn
future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex svn-id: r7829
2003-05-22from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence ↵Max Horn
preposition svn-id: r7827
2003-05-21cleaned up V2 input codeMax Horn
svn-id: r7811
2003-05-21cutscene override fix for V3 games (bug #731985)Max Horn
svn-id: r7809
2003-05-21added v2 cutscene support (not quite complete; and crashes at some point in ↵Max Horn
maniac because VAR_EGO contains a bogus value); cleanup svn-id: r7781
2003-05-20renamed various things for clarityMax Horn
svn-id: r7754
2003-05-20added enum's for the known actor/object claasses; extended putClass/getClass ↵Max Horn
to translate the X/Y flip classes; made code use the new enum's; some other cleanup svn-id: r7753
2003-05-20cleanupMax Horn
svn-id: r7738
2003-05-19renamed ScriptSlot::unk1/unk2 to freezeResistant/recursiveMax Horn
svn-id: r7688
2003-05-18more cleanupMax Horn
svn-id: r7653
2003-05-18oopsMax Horn
svn-id: r7649
2003-05-18cleanupMax Horn
svn-id: r7646
2003-05-18consistently index script slots with index 0 (not 1); this fixes bug ↵Max Horn
#739463; made stopScriptNr match stopObjectScript more closely (we could merge them into one function one day) svn-id: r7645
2003-05-17yet another V2 sentence fix (now clicking on objects in Zak causes Zak to ↵Max Horn
talk to it - but he gets stuck after some time) svn-id: r7613
2003-05-17Move some hacks aroundJames Brown
svn-id: r7600
2003-05-17Fix invalid variableJames Brown
svn-id: r7599
2003-05-16fixed V2 verb scriptsMax Horn
svn-id: r7570
2003-05-16SentenceTab unk4/unk3 are the sentence objects (think of: 'Use objectA with ↵Max Horn
objectB' or 'Give objectA to objectB' etc.); added a little more V2 sentence hackery; added a FIXME regarding some strange sentence code (accessing objectB before it is set) in script.cpp svn-id: r7562
2003-05-16hackish partial doSentence supportMax Horn
svn-id: r7560
2003-05-15moved drawBox to gfx.cpp (seems to be the more logical location)Max Horn
svn-id: r7554
2003-05-15fixed / cleaned up drawBoxMax Horn
svn-id: r7553
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-05-08yet more v2 var fixesMax Horn
svn-id: r7397
2003-05-08fixed various cases of bad var accessMax Horn
svn-id: r7394
2003-05-08init all VAR_* variables to 0xFF; replaced access to _vars in the form ↵Max Horn
_vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning svn-id: r7393
2003-05-08some V2 fixes (we really really need to revise the _vars handling!)Max Horn
svn-id: r7392
2003-05-05cleanup / reduced code duplicationMax Horn
svn-id: r7339
2003-05-04cleanupMax Horn
svn-id: r7313
2003-05-04correctionJonathan Gray
svn-id: r7312
2003-05-04don't know why this was removed but it breaks several games making it for ↵Jonathan Gray
all non v2 games svn-id: r7311
2003-05-04yet more v2 fixes & cleanupMax Horn
svn-id: r7302
2003-05-04more v2 fixes; cleanupMax Horn
svn-id: r7301
2003-04-30PalmOS changesMax Horn
svn-id: r7224
2003-04-28hack to get Indydemo to workMax Horn
svn-id: r7183
2003-04-28get rid of one of the obscure variable namesJonathan Gray
svn-id: r7171
2003-04-27and more share codePaweł Kołodziejski
svn-id: r7150
2003-04-27put some v2 code into share codePaweł Kołodziejski
svn-id: r7148
2003-04-26update for scumm v2Paweł Kołodziejski
svn-id: r7137
2003-04-25Add patch #727309 - EGA LOOM: Bypassing the copy protectionTravis Howell
svn-id: r7102
2003-04-24better safe then sorry...Jonathan Gray
svn-id: r7098
2003-04-24correctionJonathan Gray
svn-id: r7095
2003-04-24bypass copy prot for indy3egaJonathan Gray
svn-id: r7090
2003-04-23fixed verb scripts for old bundle gamesMax Horn
svn-id: r7089
2003-04-20V2 only reads one byte for variable numberJames Brown
svn-id: r7036
2003-04-20work around strange problem that breaks fbpack when _showStack is a bool...Jonathan Gray
svn-id: r7027
2003-04-20add stack tracing option to debuggerJonathan Gray
svn-id: r7025
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