aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
AgeCommit message (Collapse)Author
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
2002-12-25added (broken) cursor support for V8; enabled bomp drawingMax Horn
svn-id: r6113
2002-12-24some hacks to get V8 loading further. It now fails because it can't find the ↵Max Horn
SMAP resource svn-id: r6102
2002-12-23more V8 workMax Horn
svn-id: r6074
2002-12-23more V8 mods; cleanupMax Horn
svn-id: r6070
2002-12-22added some preliminary V8 work. Nope, it is not useful at all, and it ↵Max Horn
doesn't mean we will have CMI support in this millenium, so don't hold your breath svn-id: r6060
2002-12-21partial checkin of patch #655594 (handling Y/N questions); cleanupMax Horn
svn-id: r6042
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-15cleanupMax Horn
svn-id: r5980
2002-10-31Fix "Need more memory" warning for The DigJames Brown
svn-id: r5362
2002-09-16609791: Sam and Max 'phantom sound' (precaching) hack.James Brown
svn-id: r4947
2002-08-21Initial revisionMax Horn
svn-id: r4785