aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
AgeCommit message (Collapse)Author
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-08-05fixed VAR_TALKSTOP_KEY for V7 games (descumm6.cpp had it right all the time :-)Max Horn
svn-id: r9486
2003-06-14runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPTMax Horn
svn-id: r8468
2003-06-12rework loom subtitle option handingJonathan Gray
svn-id: r8448
2003-06-12hook subtitle variable up to f9 for loomcdJonathan Gray
svn-id: r8446
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-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-18more V2 sentence cleanupMax Horn
svn-id: r7631
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-17CleanupJames Brown
svn-id: r7598
2003-05-17Name some varsJames Brown
svn-id: r7597
2003-05-16cleanupMax Horn
svn-id: r7583
2003-05-14V2 text drawingMax Horn
svn-id: r7502
2003-05-13renamed VAR_UNK_SCRIPT to VAR_SAVELOAD_SCRIPT; fixed V8 save/load (no ↵Max Horn
(known) VAR_SAVELOAD_SCRIPT value for V8) svn-id: r7485
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-01various music related changes and cleanup; also modified MonkeyVGA music ↵Max Horn
sync, at least the intro is much better synced now; not sure about other parts of it / other games svn-id: r7237
2003-04-30VAR_V5_DRAWFLAGS == VAR_CURRENT_LIGHTS; fixed bug #601139Max Horn
svn-id: r7234
2003-04-30cleanupMax Horn
svn-id: r7215
2003-04-24VAR_KEYPRESS is 118 in v7 this makes Shift-W in ft workJonathan Gray
svn-id: r7093
2003-04-21added some v2 varsPaweł Kołodziejski
svn-id: r7054
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-02-18cleanupMax Horn
svn-id: r6621
2003-02-18change getDateTime to be a v6 opcode, and hopefully not break anythingJonathan Gray
svn-id: r6619
2003-01-29remove outdated commentJonathan Gray
svn-id: r6571
2003-01-29add list of possible languages in comi and relevant variableJonathan Gray
svn-id: r6565
2003-01-17Possible hack to get the cannons firing. Of course... well, they still don't ↵James Brown
quite work :) svn-id: r6487
2003-01-05added TODOMax Horn
svn-id: r6340
2003-01-02implement temporary state saving for CMIJames Brown
svn-id: r6321
2003-01-01oops... wrong fix in the wrong spotMax Horn
svn-id: r6320
2003-01-01fixed VAR_TALKSTOP_KEYMax Horn
svn-id: r6319
2003-01-01fixed cutscene override in V8; cleanupMax Horn
svn-id: r6316
2003-01-01added yet another variable (for mouse-button-hold flags). Now the 'verb ↵Max Horn
widget' shows up, though it is not erased properly svn-id: r6304
2002-12-31implemented o8_getDateTimeMax Horn
svn-id: r6295
2002-12-30guess on the location of VAR_SCROLL_SCRIPT (based on the fact that all other ↵Max Horn
scripts have the same position as in V7, too). Alas, it seems to never be set by any script... so either V8 doesn't use this, or this location is wrong after all? svn-id: r6274
2002-12-29add timer variables - this (partially) fixes mouse clicking (boy, I did ↵Max Horn
stare at script 32 for a long time for this one :-) svn-id: r6261
2002-12-29override var was wrong, update mouse click codeJames Brown
svn-id: r6250
2002-12-29Add and verify some variablesJames Brown
svn-id: r6249
2002-12-28Add keypress variable so the "Are you sure you want to Win (Y/N)" cheat works :)James Brown
svn-id: r6223
2002-12-28guess at VAR_CUSTOMSCALETABLE (due to Endy)Max Horn
svn-id: r6213
2002-12-27var correction (based on script 28)Max Horn
svn-id: r6212
2002-12-27Some var updatesJames Brown
svn-id: r6207
2002-12-27some more var guessesMax Horn
svn-id: r6184
2002-12-26fixed talkingMax Horn
svn-id: r6177
2002-12-26map V8 talk opcodes to the right V6 opcodes; however, talking still locks up ↵Max Horn
after the first sentence is uttered (looking into that now); various cleanup; added a guess at VAR_EGO (based on what cmidec says is the 'default_actor') svn-id: r6176
2002-12-26Add a guess at VAR_TALK_ACTOR (stops the crashes anyway), and add the ↵James Brown
DEBUGMODE variable so we can enable bootparams svn-id: r6170
2002-12-26Make the title screen do something useful.James Brown
One problem remains: script.cpp/runInputScript should receive '13' as parameter cmd when enter is pressed over a verb. It doesn't, something is eating the scancode in ScummVM. Someone feel free to fix this :) svn-id: r6160
2002-12-26Don't go to the save/load screenJames Brown
svn-id: r6157
2002-12-26Make menu stuff runJames Brown
svn-id: r6155