Commit Graph

47 Commits

Author SHA1 Message Date
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
Max Horn
1b0963dd76 added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
2002-12-25 03:48:27 +00:00
Max Horn
908de40919 some hacks to get V8 loading further. It now fails because it can't find the SMAP resource
svn-id: r6102
2002-12-24 15:27:27 +00:00
Max Horn
654ed3ff6c more V8 work
svn-id: r6074
2002-12-23 18:30:12 +00:00
Max Horn
f86eaeaff9 more V8 mods; cleanup
svn-id: r6070
2002-12-23 15:46:53 +00:00
Max Horn
df3c41fa24 added some preliminary V8 work. Nope, it is not useful at all, and it doesn't mean we will have CMI support in this millenium, so don't hold your breath
svn-id: r6060
2002-12-22 21:58:16 +00:00
Max Horn
060562c277 partial checkin of patch #655594 (handling Y/N questions); cleanup
svn-id: r6042
2002-12-21 12:34:17 +00:00
Max Horn
c4b6fa7f70 refactoring: use inheritance to mode the relations between the various 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-16 12:12:31 +00:00
Max Horn
0760bada9a cleanup
svn-id: r5980
2002-12-15 20:16:43 +00:00
James Brown
9ffc268db5 Fix "Need more memory" warning for The Dig
svn-id: r5362
2002-10-31 05:48:09 +00:00
James Brown
02f9056b4a 609791: Sam and Max 'phantom sound' (precaching) hack.
svn-id: r4947
2002-09-16 08:22:05 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00