Commit graph

214 commits

Author SHA1 Message Date
Paweł Kołodziejski
fc20efecfe correct o6_findAllObjects to match disassembly
svn-id: r6634
2003-02-22 13:08:54 +00:00
Paweł Kołodziejski
ef666a9019 cleanup o6_unknownE0
svn-id: r6633
2003-02-22 12:27:50 +00:00
Paweł Kołodziejski
6f0dfa402c some cleanup a pickVarRandom func
svn-id: r6632
2003-02-22 11:56:25 +00:00
Jonathan Gray
d2ed6d1ace add o6_shuffle and stub for o6_localizeArray
svn-id: r6629
2003-02-21 00:42:51 +00:00
Paweł Kołodziejski
abb308c6db added more o6_pickVarRandom implementation
svn-id: r6628
2003-02-20 21:05:56 +00:00
Jonathan Gray
4c7aaba732 fix typo
svn-id: r6627
2003-02-20 02:10:39 +00:00
Jonathan Gray
ef8196befd make pickVarRandom stub print out its argument list to the console
svn-id: r6625
2003-02-19 01:42:21 +00:00
Jonathan Gray
5c0cfe392b stub opcode E0 which makes moondemo and fbdemo start yay
svn-id: r6624
2003-02-18 23:59:54 +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
c86cc94deb pickVarRandom stub
svn-id: r6618
2003-02-17 21:42:33 +00:00
Jonathan Gray
5b1983587c oops
svn-id: r6615
2003-02-17 10:40:02 +00:00
Jonathan Gray
e909c6b86d unstub stopTalking as the relevant function stopTalk() already exists in scummvm, add an attempt at findAllObjects that is hopefully not totally wrong, puttmoon now crashes on finding an AKOS block when it is expecting COST, some surgery may be required as all the AKOS stuff seems to be wrapped up in GF_AFTER_V7
svn-id: r6614
2003-02-17 10:14:43 +00:00
Max Horn
ecd84d8585 fixed warning
svn-id: r6613
2003-02-16 18:29:22 +00:00
Jonathan Gray
656bde5aa9 change o6_uknownCD name for o6_stampObject
svn-id: r6611
2003-02-16 14:52:25 +00:00
Jonathan Gray
abe76691bc add stubs for openFile closeFile and deleteFile opcodes
svn-id: r6608
2003-02-15 09:39:52 +00:00
Jonathan Gray
db0997e890 add stub for o6_stopTalking
svn-id: r6606
2003-02-14 08:12:45 +00:00
James Brown
270e95a655 Patch 679354: ComI actor redraw patch
svn-id: r6590
2003-02-07 19:24:34 +00:00
Paweł Kołodziejski
d942441f7f applied patch #674141: CMI: Smush sync tuning
svn-id: r6537
2003-01-25 12:13:41 +00:00
James Brown
4e07c1bb91 Patch 668634: Actor iteration fix
svn-id: r6484
2003-01-16 17:37:34 +00:00
Max Horn
d5a266f2ca reversed Dig workarounds - better to find the real cause of the regression, says Endy
svn-id: r6483
2003-01-16 14:42:20 +00:00
Max Horn
b9811d9594 another change for Dig - still crashes a lot with my save games, though :-/
svn-id: r6475
2003-01-16 01:49:33 +00:00
Max Horn
bf6e37cba8 two changes to accomodate Dig - don't like this :-/
svn-id: r6474
2003-01-16 01:46:59 +00:00
Max Horn
8ad002b3a3 first blastText version. this is work in progress (note that e.g. text is not clipped, and the extra information is not removed)
svn-id: r6472
2003-01-16 00:40:19 +00:00
James Brown
8fa5402562 ComI timing hack... very odd.
svn-id: r6454
2003-01-14 10:33:18 +00:00
Max Horn
ca88dff5e7 work around a script bug in COMI; cleanup; re-enabled array assert
svn-id: r6437
2003-01-12 21:13:22 +00:00
James Brown
458ecbffcf Remove assert. It's assertion makes me fearful of it's dominance. Oh, and it prevents the Lights scene in ComI working.
svn-id: r6433
2003-01-12 18:55:41 +00:00
Max Horn
37a64f5d12 cleanup; added a hack to avoid crash in the canon scene (at least it works this way for me)
svn-id: r6347
2003-01-06 13:41:29 +00:00
Max Horn
82edaeaaf1 unified function names (compared to V8); added some FIXME comments
svn-id: r6344
2003-01-06 01:53:38 +00:00
Max Horn
a6d89ad7fd fix for the cannon scene
svn-id: r6339
2003-01-05 22:16:09 +00:00
Max Horn
535ad0a4cf moved Scumm::faceActorToObj to Actor::faceToObject; moved various functions in script.cpp (grouping cutscene/override related stuff)
svn-id: r6317
2003-01-01 18:22:41 +00:00
Max Horn
53a8fc24fe fixed cutscene override in V8; cleanup
svn-id: r6316
2003-01-01 17:57:14 +00:00
Max Horn
d87b7fb471 cleanup
svn-id: r6270
2002-12-30 02:06:18 +00:00
Max Horn
2c6464c07a cleanup
svn-id: r6264
2002-12-30 00:40:25 +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
21226d1fb0 verb ids can be > 255 in V8; more V8 verbop corrections
svn-id: r6204
2002-12-27 16:49:08 +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
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
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
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
Paweł Kołodziejski
b64c9ebc2b changed name from _insaneFlag to _smushFrameRate
svn-id: r6136
2002-12-25 16:55:43 +00:00
Max Horn
33cddb4c1c use translateText for V8 print opcodes
svn-id: r6134
2002-12-25 15:04:04 +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
Max Horn
fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
Jonathan Gray
95c8028652 yes they really are the same, one opcode just has a jmp to the other
svn-id: r6092
2002-12-24 02:38:41 +00:00
Max Horn
2da14e0fa1 more V8 opcodes (mostly rerouting to V6 ones)
svn-id: r6088
2002-12-24 00:41:59 +00:00
Max Horn
897fc9a91b and more V8. Now we again hit the charset limit, but this time caused by the script itself :-)
svn-id: r6077
2002-12-23 18:56:43 +00:00
Max Horn
f86eaeaff9 more V8 mods; cleanup
svn-id: r6070
2002-12-23 15:46:53 +00:00