aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
AgeCommit message (Collapse)Author
2003-07-31cleanup for some comments & indentionMax Horn
svn-id: r9341
2003-07-24cleanup: encapsulate some more members of class Actor, and rename ↵Max Horn
newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy) svn-id: r9175
2003-07-23Slight cleanup of previous commit.Torbjörn Andersson
svn-id: r9147
2003-07-23Allow the sentence line to be 40 printable characters long. The verb partTorbjörn Andersson
is padded with '@', which should not be counted. svn-id: r9146
2003-07-22fix spanish prepositions, see bug #772277. And BTW, does anybody know when ↵Max Horn
and where the 'on/mit/sur/su/en' preposition is actually used? svn-id: r9116
2003-07-19updated opcode "Actor Set Color" in o2_ActorSet func, it's based on ↵Paweł Kołodziejski
dissassembly, why it was "i = 3" ? svn-id: r9082
2003-07-18Fix recursive calls of object scripts. In V2 for each object two scriptJochen Hoenicke
can be active at the same time: One 253 script and one normal script. We misuse the recursive flag to mark 253 scripts. When starting a 253 script we stop a script that has recursive flag set and when starting a normal script we stop the script that doesn't. svn-id: r9068
2003-07-15fix for bug #771734Max Horn
svn-id: r9041
2003-07-15Patch #771154 (ZAK: yet another doSentence fix); this should fix bug #752293Max Horn
svn-id: r9030
2003-07-14Compares in V2 are unsigned (at least in Zak).Jochen Hoenicke
This fixes a problem with the parachute scene in Zak. svn-id: r9020
2003-07-14proper fix for V1/Zak (and maybe V1/MM, too?) ActorSet-ColorMax Horn
svn-id: r9018
2003-07-14Ooops, was in reverse.Travis Howell
svn-id: r8998
2003-07-14A few color fixes for v1/v2Travis Howell
svn-id: r8997
2003-07-14V1 Zak fixes and hacks. (Woo, it rhymes! :)James Brown
svn-id: r8996
2003-07-13Add correct palette for pc versions of v1 gamesTravis Howell
Add some correct colors for v1 games svn-id: r8988
2003-07-12fix for bug #770311 (at least for V2 games)Max Horn
svn-id: r8959
2003-07-12properly show/hide verbs&inventory&sentence during cutscenesMax Horn
svn-id: r8957
2003-07-12fixes for cutscenes in V2 gamesMax Horn
svn-id: r8956
2003-07-09Fix compilation, V1 verb positionsJames Brown
svn-id: r8880
2003-07-02fix o2_loadRoomWithEgo regression (this bug was uncovered by my previous ↵Max Horn
adjustXYToBeInBox improvment) svn-id: r8713
2003-07-02fix for bug #752865: MM: Man-Eating Plant is invisibleMax Horn
svn-id: r8708
2003-07-01Add a few more actor debugger subcommands, and correct V2 coordinate ↵James Brown
translation for o2_(get/set)ActorElevation svn-id: r8683
2003-06-21turn error in o2_saveLoadGame into warningMax Horn
svn-id: r8575
2003-06-19added spanish font & prepositions; removed some trailing spacesMax Horn
svn-id: r8549
2003-06-14runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPTMax Horn
svn-id: r8468
2003-06-07init costumes for v1 gamesPaweł Kołodziejski
svn-id: r8378
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06added a currently disabled hack that can be used to get costumes used in V1 ↵Max Horn
games (currently crashes since we don't support that custome format yet) svn-id: r8349
2003-06-06Get rid of *64 targets, use 'maniac' and 'zak' autodetection for the ↵James Brown
AFTER_V1 flag instead. svn-id: r8348
2003-06-04Add MANIAC64 to these two MANIAC checksTravis Howell
svn-id: r8291
2003-06-02cleaned up the restart/pause/shutdown situation a bit; added comment that ↵Max Horn
explains how restart might be implemented svn-id: r8260
2003-05-31some setObjectName changes. I'd really like to switch V2-V5 to use ↵Max Horn
rtObjectName resources, too svn-id: r8171
2003-05-30V2 verb highlighting (good one, erik :-)Max Horn
svn-id: r8140
2003-05-28cleanupMax Horn
svn-id: r8056
2003-05-28fixed o2_waitForSentenceMax Horn
svn-id: r8047
2003-05-27italian V2 prepositionsMax Horn
svn-id: r8039
2003-05-25hook language command switch to V2 font / prepositionsMax Horn
svn-id: r7970
2003-05-25preparations for multi-language V2 supportsMax Horn
svn-id: r7966
2003-05-24fixed roomOps:1 (thanks to Hoenicke)Max Horn
svn-id: r7894
2003-05-24we want a word not a byte for object numbers, bug pointed out by HoenickeJonathan Gray
svn-id: r7882
2003-05-23replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵Max Horn
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859
2003-05-23don't hardcode 9 but rather use the default actor talk color as given in the ↵Max Horn
(v2) bootscript svn-id: r7856
2003-05-23Patch #742132: o2_setobjectname script overwrite fixJames Brown
svn-id: r7854
2003-05-23fixed butterknife + cashcardMax Horn
svn-id: r7843
2003-05-23added two more redrawV2Inventory invocations; removed calls to runHook (it ↵Max Horn
does nothing in V2) svn-id: r7842
2003-05-23some well placed asserts (triggering any of those means with 99% a bug in ↵Max Horn
some other place; so don't just remove the asserts if you trigger one of 'em! svn-id: r7840
2003-05-23this fixme doesn't seem to be needed anymoreMax Horn
svn-id: r7839
2003-05-22oops, swapped set/clear state 2Max Horn
svn-id: r7838
2003-05-22fixed more V2 clear/set state opcodesMax Horn
svn-id: r7837