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
9d44ed890a
updated VC6 file
...
svn-id: r6159
2002-12-26 01:25:09 +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
Max Horn
91fc86eede
cleanup
...
svn-id: r6153
2002-12-25 23:18:30 +00:00
Max Horn
a782a22c4d
seperated classic & old256 rendered (now subclasses of CharsetRenderer)
...
svn-id: r6152
2002-12-25 21:57:01 +00:00
Ruediger Hanke
2d46b1e4d7
This could hardly work, how did this change? scratch head" morphos.cpp
...
svn-id: r6151
2002-12-25 21:46:35 +00:00
Ruediger Hanke
e1045c16a8
Fix compiler warning and possible hit
...
svn-id: r6150
2002-12-25 21:44:59 +00:00
Max Horn
748ac8fe37
more cleanup
...
svn-id: r6149
2002-12-25 21:42:22 +00:00
Max Horn
d808e4da1f
cleanup
...
svn-id: r6148
2002-12-25 21:14:26 +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
f1808d20ac
seems cursor width/height can occur
...
svn-id: r6146
2002-12-25 21:02:21 +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
Max Horn
5c39a82633
two good rules of thumb: don't use typecasts if you don't have to - type cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen...
...
svn-id: r6143
2002-12-25 20:07:09 +00:00
Paweł Kołodziejski
5f5e96e24f
added some stuff to lock/unlock object v2
...
svn-id: r6142
2002-12-25 19:30:59 +00:00
Paweł Kołodziejski
3bab4d4665
added some stuff to lock/unlock object
...
svn-id: r6141
2002-12-25 19:24:31 +00:00
Max Horn
447ab20369
cleanup
...
svn-id: r6140
2002-12-25 19:06:31 +00:00
Paweł Kołodziejski
7c7af18bc9
chenged opcode o8_breakHerVar to o6_delayFrames
...
svn-id: r6139
2002-12-25 18:47:46 +00:00
Ruediger Hanke
3dd648b8c8
Some fixes for COMI mouse pointer
...
svn-id: r6138
2002-12-25 17:22:01 +00:00
Paweł Kołodziejski
eb4d0145ff
changes in o8_kludge
...
svn-id: r6137
2002-12-25 17:10:34 +00:00
Paweł Kołodziejski
b64c9ebc2b
changed name from _insaneFlag to _smushFrameRate
...
svn-id: r6136
2002-12-25 16:55:43 +00:00
Max Horn
75085a6077
breakHereVar takes an argument -> Ctrl-C now works again (skips to the 'Part I' screen)
...
svn-id: r6135
2002-12-25 15:11:49 +00:00
Max Horn
33cddb4c1c
use translateText for V8 print opcodes
...
svn-id: r6134
2002-12-25 15:04:04 +00:00
Max Horn
883cf3f60e
use specified color
...
svn-id: r6133
2002-12-25 14:59:33 +00:00
Max Horn
004ea9f8eb
converted heaps of int16 to int for V8 compatibility; fixed defineArray for V8; added some work in o8_kludge2
...
svn-id: r6132
2002-12-25 14:46:39 +00:00
Paweł Kołodziejski
a01b169434
fixed free buffer before alloc new
...
svn-id: r6131
2002-12-25 14:46:14 +00:00
James Brown
bda8d953a8
Clean up the hack. But it's still kinda a hack. Er. :)
...
svn-id: r6130
2002-12-25 14:31:17 +00:00
Paweł Kołodziejski
6b5a1cfb1a
updated VC6 file
...
svn-id: r6129
2002-12-25 14:15:48 +00:00
Paweł Kołodziejski
3bbfde3259
fixed width font problem in NutRenderer
...
svn-id: r6128
2002-12-25 14:09:54 +00:00
James Brown
c480833be7
Hacky font support - first attempt :)
...
svn-id: r6127
2002-12-25 13:51:01 +00:00
Paweł Kołodziejski
fb47f2a24b
added nut renderer, there is bug with font width, fix later
...
svn-id: r6126
2002-12-25 13:04:01 +00:00
Max Horn
0ef7d52448
fixed mouse cursor code to cope with CMI
...
svn-id: r6125
2002-12-25 12:53:47 +00:00