2953 Commits

Author SHA1 Message Date
Max Horn
ae5b30df3d get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
2002-12-28 01:57:19 +00:00
Max Horn
319facc9c3 cleanup
svn-id: r6214
2002-12-28 00:45:44 +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
Max Horn
38a3d115a1 added FIXME
svn-id: r6211
2002-12-27 23:18:06 +00:00
Max Horn
18e0ac90f4 SO_ACTOR_SPECIAL_DRAW = shadow_mode! Looks much better this way, too :-)
svn-id: r6210
2002-12-27 20:15:24 +00:00
James Brown
17aaf8cbad Bump cvs date, add some post-0.3.0 changes to NEWS (These really need to be kept updated more frequently)
svn-id: r6209
2002-12-27 20:04:41 +00:00
Max Horn
788fd1e718 like rtRoom, rtRoomScripts should never expire while the room they belong too is loaded; this fixes the crash when picking up the fishing rod
svn-id: r6208
2002-12-27 19:48:30 +00:00
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
Travis Howell
b487206a22 Fix file format
svn-id: r6196
2002-12-27 13:40:46 +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
cfa87ea12d removing not working, obsolete mac port
svn-id: r6189
2002-12-27 01:50:46 +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
18b97b28a5 Patch from ccr: Don't segfault if euid has no r/w perms on pwd
svn-id: r6183
2002-12-27 00:13:51 +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