Commit Graph

93 Commits

Author SHA1 Message Date
Max Horn
ca8ddd6c6e changed 'default case' warning output to hex (as we use that for the case labels)
svn-id: r6341
2003-01-05 22:17:26 +00:00
James Brown
fb02e1f227 Small junk
svn-id: r6331
2003-01-04 15:08:30 +00:00
James Brown
3c3c5bb574 implement temporary state saving for CMI
svn-id: r6321
2003-01-02 08:39:33 +00:00
Max Horn
53a8fc24fe fixed cutscene override in V8; cleanup
svn-id: r6316
2003-01-01 17:57:14 +00:00
James Brown
b5d0e48695 implement roomops case (CMI crypt)
svn-id: r6312
2003-01-01 11:38:59 +00:00
Max Horn
d65915beff added masking to nut charset renderer
svn-id: r6300
2002-12-31 20:52:11 +00:00
Max Horn
b88db70dfb added some comment
svn-id: r6298
2002-12-31 18:21:01 +00:00
Max Horn
f7d6c89ffc setBoxSlot = setBoxScale apparently was right after all
svn-id: r6296
2002-12-31 17:34:04 +00:00
Max Horn
a03b353dca implemented o8_getDateTime
svn-id: r6295
2002-12-31 17:28:51 +00:00
Max Horn
250304c7ee fix opcode that sets actor z cliping. Yeah I know that Guybrush now is drawn wrong - but this change is not the cause for it, it only reveals the problem (which is already causing the canon to be drawn wrong)
svn-id: r6293
2002-12-31 15:26:02 +00:00
James Brown
6038bb85be More CMI opcode work. The Murray scene outside the Voodoo ladys house (-d1 -b201) and the Map (-d1 -b226) now mostly work
svn-id: r6281
2002-12-30 17:05:38 +00:00
James Brown
e2b131bbdb Implement findBlastObject correctly - inventory now works
svn-id: r6273
2002-12-30 11:03:13 +00:00
Max Horn
2a1e07f3e5 added two V8 opcodes; more meaningful error message
svn-id: r6269
2002-12-30 01:40:12 +00:00
Max Horn
57b2e6e4de hm...
svn-id: r6265
2002-12-30 01:17:08 +00:00
Max Horn
974369502a added some comments / system call skeletion
svn-id: r6259
2002-12-29 19:51:10 +00:00
Paweł Kołodziejski
f870d15d42 disabled CMI smush audio, cleanup codec 47, correct path param
svn-id: r6252
2002-12-29 16:58:37 +00:00
James Brown
669e5b8ebc de-verbalise some debug messages (move from debug(1) to debug(2)).. so we can see printDebug lines easier
svn-id: r6227
2002-12-28 12:42:55 +00:00
James Brown
829b2284e4 Correct cursor put opcode slightly
svn-id: r6221
2002-12-28 05:36:52 +00:00
James Brown
f64806f85f Initial (buggy) implementation of CURSOR_SET - the Cannon sequence now almost works, except for a centering bug
svn-id: r6220
2002-12-28 05:26:21 +00:00
James Brown
cdec05af03 Implement MUMBLE
svn-id: r6218
2002-12-28 05:00:45 +00:00
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
18e0ac90f4 SO_ACTOR_SPECIAL_DRAW = shadow_mode! Looks much better this way, too :-)
svn-id: r6210
2002-12-27 20:15:24 +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
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
8049e06258 fixed flobject loading in V8
svn-id: r6198
2002-12-27 14:36:28 +00:00
Max Horn
2367625da4 cleanup
svn-id: r6187
2002-12-27 00:58:21 +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
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
5a9b972efd Fix incorrect opcode (now it at least starts the Verb Widget scripts)
svn-id: r6173
2002-12-26 17:30:48 +00:00
Paweł Kołodziejski
91fbd9a351 added missing return
svn-id: r6171
2002-12-26 12:27:04 +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
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
48c66ba210 fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
2002-12-26 00:21:19 +00:00
Max Horn
fca9ec09e7 moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
svn-id: r6147
2002-12-25 21:04:47 +00:00
Max Horn
9187172fe2 implemented V8 kernel function 'killAllScriptsButMe' - not sure if I did it right, though
svn-id: r6145
2002-12-25 20:29:40 +00:00
Max Horn
aed55eff69 text center mode hack
svn-id: r6144
2002-12-25 20:15:54 +00:00