Commit Graph

706 Commits

Author SHA1 Message Date
James Brown
c1d0e6800c Some var updates
svn-id: r6207
2002-12-27 18:05:15 +00:00
Max Horn
12cd4b36da cleanup
svn-id: r6206
2002-12-27 16:55:22 +00:00
Max Horn
7501d7d32c opcode 0xDD (find verb), used for conversations
svn-id: r6205
2002-12-27 16:52:59 +00:00
Max Horn
21226d1fb0 verb ids can be > 255 in V8; more V8 verbop corrections
svn-id: r6204
2002-12-27 16:49:08 +00:00
Max Horn
ad06190dd9 removing some annoying warnings
svn-id: r6203
2002-12-27 15:41:43 +00:00
Max Horn
7e254e6410 almost all scripts that use o8_getStringWidth pass 1 as first parameter, but a few pass 3. So I assume this is a charset id
svn-id: r6202
2002-12-27 15:38:04 +00:00
Max Horn
a236ff9689 o8_getStringWidth also pops on param
svn-id: r6201
2002-12-27 15:34:26 +00:00
Max Horn
fc04f73471 implemented V8 verbops fully, based on V6 - this contains some guessing and may contain mistakes. Also added string width opcode
svn-id: r6200
2002-12-27 15:32:27 +00:00
Max Horn
6311835f79 fixed verb entry code for V8
svn-id: r6199
2002-12-27 15:11:43 +00:00
Max Horn
8049e06258 fixed flobject loading in V8
svn-id: r6198
2002-12-27 14:36:28 +00:00
Max Horn
81c421ec0c cleanup
svn-id: r6197
2002-12-27 14:04:25 +00:00
James Brown
540667567e Voice sample support, again missing a required codec
svn-id: r6195
2002-12-27 12:10:22 +00:00
James Brown
c21bd9015a Fix GCC3.1 compile problem
svn-id: r6194
2002-12-27 12:05:29 +00:00
James Brown
d3ade5b23e Add skeleton music support for CMI (but codec not implemented)
svn-id: r6193
2002-12-27 11:47:00 +00:00
Ruediger Hanke
56b6b10301 Appending another slash breaks COMI on MorphOS and AmigaOS where a double-slash means parent directory ... a slash is already appended by the game detector if required
svn-id: r6192
2002-12-27 11:30:26 +00:00
James Brown
7a57023321 Fix cwd resource path bug for CMI
svn-id: r6191
2002-12-27 04:22:40 +00:00
James Brown
29f0d9af8e Error out when fonts are missing
svn-id: r6190
2002-12-27 03:56:34 +00:00
Max Horn
0e51efcc4c fix S&M (why was that changed made in the first place I wonder?)
svn-id: r6188
2002-12-27 01:49:47 +00:00
Max Horn
2367625da4 cleanup
svn-id: r6187
2002-12-27 00:58:21 +00:00
Max Horn
e744697dbd quick fix for Endy's code - should be redone properly later
svn-id: r6186
2002-12-27 00:38:32 +00:00
James Brown
1dab4170a9 Patch 650135 (method 3): FOA parrot hang
svn-id: r6185
2002-12-27 00:23:45 +00:00
Max Horn
c9aff94855 some more var guesses
svn-id: r6184
2002-12-27 00:22:42 +00:00
James Brown
fd64fc2b6b Move some things around, to get rid of all these resource/ sprintf's for CMI
svn-id: r6182
2002-12-27 00:11:01 +00:00
James Brown
a8b5549fb5 o8 startScript juggling
svn-id: r6181
2002-12-26 23:42:28 +00:00
Max Horn
8f0af0d2f8 group startScript/Object codes (no code change)
svn-id: r6180
2002-12-26 23:24:57 +00:00
Max Horn
c05a308fad doSentence only takes three params in V8
svn-id: r6179
2002-12-26 23:05:19 +00:00
Max Horn
c44512ff71 added FIXME comment
svn-id: r6178
2002-12-26 22:02:58 +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
Max Horn
966d435a19 fixed verb scripts
svn-id: r6175
2002-12-26 20:37:49 +00:00
James Brown
a6e9f3b65d Increase allowed zbuffers for CMI (One room, 16, uses at least 6.. add a few spare just in case).
svn-id: r6174
2002-12-26 18:10:14 +00:00
James Brown
5a9b972efd Fix incorrect opcode (now it at least starts the Verb Widget scripts)
svn-id: r6173
2002-12-26 17:30:48 +00:00
James Brown
5ec4f7b267 Hack around a COMI crash..
svn-id: r6172
2002-12-26 13:44:40 +00:00
Paweł Kołodziejski
91fbd9a351 added missing return
svn-id: r6171
2002-12-26 12:27:04 +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
f0e31cc23f Update more CMI opcodes. The first room now starts, although actor text crashes if I try and draw it (Fingolfin?).
Object Flags seem to be, suprise, wrong.. as the door to the outside starts open :)

svn-id: r6169
2002-12-26 08:06:33 +00:00
James Brown
608812f683 CMI opcode work
svn-id: r6168
2002-12-26 07:33:47 +00:00
James Brown
3ab9233d60 SMUSH playback opcode
svn-id: r6167
2002-12-26 02:26:38 +00:00
Max Horn
0965c929bc dummy o8_startVideo implementation
svn-id: r6166
2002-12-26 02:18:45 +00:00
Paweł Kołodziejski
2046fc8217 fixed compilation under VC6
svn-id: r6165
2002-12-26 02:13:19 +00:00
Max Horn
f89903a244 added intensity roomops
svn-id: r6164
2002-12-26 02:02:46 +00:00
James Brown
a2340214e9 Allow the CMI logo room to run
svn-id: r6163
2002-12-26 01:54:27 +00:00
Max Horn
a43355a1bf reuse the old (ugly nasty dreaded) string system for V8, too (by supplying a NUT based CharsetRenderer)
svn-id: r6162
2002-12-26 01:47:40 +00:00
Max Horn
7e7be4f6f3 32 bit variables storage
svn-id: r6161
2002-12-26 01:46:36 +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
Paweł Kołodziejski
425b9d1ba2 fixed compilation under VC6
svn-id: r6158
2002-12-26 01:24:19 +00:00
James Brown
d8839f1be6 Don't go to the save/load screen
svn-id: r6157
2002-12-26 01:15:25 +00:00
Max Horn
74dd2479c9 640*480 = 307200 > 65536: uin16 not sufficient to store the VirtScreen size
svn-id: r6156
2002-12-26 01:15:09 +00:00
James Brown
2739b4410f Make menu stuff run
svn-id: r6155
2002-12-26 01:03:48 +00:00
Max Horn
48c66ba210 fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
2002-12-26 00:21:19 +00:00