Commit Graph

61 Commits

Author SHA1 Message Date
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
c120fecf04 fixed VAR_TALKSTOP_KEY for V7 games (descumm6.cpp had it right all the time :-)
svn-id: r9486
2003-08-05 12:23:26 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Jonathan Gray
aabfc254c1 rework loom subtitle option handing
svn-id: r8448
2003-06-12 16:38:43 +00:00
Jonathan Gray
c26bdae207 hook subtitle variable up to f9 for loomcd
svn-id: r8446
2003-06-12 12:22:57 +00:00
Max Horn
a9788c771a from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence preposition
svn-id: r7827
2003-05-22 14:10:20 +00:00
Max Horn
e21604663f added v2 cutscene support (not quite complete; and crashes at some point in maniac because VAR_EGO contains a bogus value); cleanup
svn-id: r7781
2003-05-21 14:00:19 +00:00
Max Horn
657c8ca2e3 more V2 sentence cleanup
svn-id: r7631
2003-05-18 12:52:27 +00:00
Max Horn
3576b8e168 yet another V2 sentence fix (now clicking on objects in Zak causes Zak to talk to it - but he gets stuck after some time)
svn-id: r7613
2003-05-17 18:42:31 +00:00
James Brown
2813d48e92 Cleanup
svn-id: r7598
2003-05-17 06:14:08 +00:00
James Brown
99b26a5684 Name some vars
svn-id: r7597
2003-05-17 06:04:22 +00:00
Max Horn
64d9c75c2d cleanup
svn-id: r7583
2003-05-16 22:11:49 +00:00
Max Horn
bc99915aa5 V2 text drawing
svn-id: r7502
2003-05-14 13:30:52 +00:00
Max Horn
2838aae2f4 renamed VAR_UNK_SCRIPT to VAR_SAVELOAD_SCRIPT; fixed V8 save/load (no (known) VAR_SAVELOAD_SCRIPT value for V8)
svn-id: r7485
2003-05-13 17:51:56 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _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-08 15:48:50 +00:00
Max Horn
48293bd132 various music related changes and cleanup; also modified MonkeyVGA music sync, at least the intro is much better synced now; not sure about other parts of it / other games
svn-id: r7237
2003-05-01 00:04:05 +00:00
Max Horn
797c222ec7 VAR_V5_DRAWFLAGS == VAR_CURRENT_LIGHTS; fixed bug #601139
svn-id: r7234
2003-04-30 21:30:59 +00:00
Max Horn
4ce574f579 cleanup
svn-id: r7215
2003-04-30 11:15:11 +00:00
Jonathan Gray
d092f1c82a VAR_KEYPRESS is 118 in v7 this makes Shift-W in ft work
svn-id: r7093
2003-04-24 11:35:46 +00:00
Paweł Kołodziejski
65b7241330 added some v2 vars
svn-id: r7054
2003-04-21 11:54:27 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Max Horn
afbc458b3c cleanup
svn-id: r6621
2003-02-18 01:51:05 +00:00
Jonathan Gray
d5e8f369a2 change getDateTime to be a v6 opcode, and hopefully not break anything
svn-id: r6619
2003-02-18 00:13:24 +00:00
Jonathan Gray
5c94c996ed remove outdated comment
svn-id: r6571
2003-01-29 12:22:24 +00:00
Jonathan Gray
8e9d8cff81 add list of possible languages in comi and relevant variable
svn-id: r6565
2003-01-29 04:16:14 +00:00
James Brown
945dee311e Possible hack to get the cannons firing. Of course... well, they still don't quite work :)
svn-id: r6487
2003-01-17 07:20:54 +00:00
Max Horn
8d8580545b added TODO
svn-id: r6340
2003-01-05 22:16:19 +00:00
James Brown
3c3c5bb574 implement temporary state saving for CMI
svn-id: r6321
2003-01-02 08:39:33 +00:00
Max Horn
50b3e798b6 oops... wrong fix in the wrong spot
svn-id: r6320
2003-01-01 21:51:12 +00:00
Max Horn
7fa5fe38a7 fixed VAR_TALKSTOP_KEY
svn-id: r6319
2003-01-01 21:37:27 +00:00
Max Horn
53a8fc24fe fixed cutscene override in V8; cleanup
svn-id: r6316
2003-01-01 17:57:14 +00:00
Max Horn
805c460543 added yet another variable (for mouse-button-hold flags). Now the 'verb widget' shows up, though it is not erased properly
svn-id: r6304
2003-01-01 02:56:22 +00:00
Max Horn
a03b353dca implemented o8_getDateTime
svn-id: r6295
2002-12-31 17:28:51 +00:00
Max Horn
d51b443814 guess on the location of VAR_SCROLL_SCRIPT (based on the fact that all other 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-30 12:56:00 +00:00
Max Horn
aeb73ead62 add timer variables - this (partially) fixes mouse clicking (boy, I did stare at script 32 for a long time for this one :-)
svn-id: r6261
2002-12-29 19:52:32 +00:00
James Brown
056feec44c override var was wrong, update mouse click code
svn-id: r6250
2002-12-29 15:06:44 +00:00
James Brown
4726dba613 Add and verify some variables
svn-id: r6249
2002-12-29 14:56:25 +00:00
James Brown
5eb1a76c6b Add keypress variable so the "Are you sure you want to Win (Y/N)" cheat works :)
svn-id: r6223
2002-12-28 11:36:30 +00:00
Max Horn
edd08521c3 guess at VAR_CUSTOMSCALETABLE (due to Endy)
svn-id: r6213
2002-12-28 00:20:07 +00:00
Max Horn
49f65c38c0 var correction (based on script 28)
svn-id: r6212
2002-12-27 23:30:34 +00:00
James Brown
c1d0e6800c Some var updates
svn-id: r6207
2002-12-27 18:05:15 +00:00
Max Horn
c9aff94855 some more var guesses
svn-id: r6184
2002-12-27 00:22:42 +00:00
Max Horn
3fffd05ebf fixed talking
svn-id: r6177
2002-12-26 21:55:26 +00:00
Max Horn
ad7fefd34e map V8 talk opcodes to the right V6 opcodes; however, talking still locks up 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-26 21:50:13 +00:00
James Brown
a2c5893848 Add a guess at VAR_TALK_ACTOR (stops the crashes anyway), and add the DEBUGMODE variable so we can enable bootparams
svn-id: r6170
2002-12-26 10:47:57 +00:00
James Brown
ea831a2fd4 Make the title screen do something useful.
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-26 01:44:24 +00:00
James Brown
d8839f1be6 Don't go to the save/load screen
svn-id: r6157
2002-12-26 01:15:25 +00:00
James Brown
2739b4410f Make menu stuff run
svn-id: r6155
2002-12-26 01:03:48 +00:00