Commit Graph
190 Commits
Author SHA1 Message Date
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
Paweł Kołodziejski eb4d0145ff changes in o8_kludge
svn-id: r6137
2002-12-25 17:10:34 +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 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
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
James Brown c480833be7 Hacky font support - first attempt :)
svn-id: r6127
2002-12-25 13:51:01 +00:00
Max Horn 4a405b497a get rid of warnings that flood my terminal
svn-id: r6122
2002-12-25 12:25:35 +00:00
Max Horn fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
James Brown e1a416c031 Skeleton for hacky font support using Smush's FontRenderer. Doesn't work (uncomment the loadFont line in script_v8 to test).
Aquadran, where are you? :)

svn-id: r6114
2002-12-25 04:30:24 +00:00
Max Horn 1b0963dd76 added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
2002-12-25 03:48:27 +00:00
Max Horn bf41dbdba3 filled in f-kludge stuff, and make it push(0) - now we don't crash anymore
svn-id: r6112
2002-12-25 02:12:12 +00:00
Max Horn 702de7424c more opcodes (we see graphics again, albeit only briefly before it crashes)
svn-id: r6106
2002-12-25 00:04:12 +00:00
Max Horn 13518c3d36 enabled room & local scripts in V8; some more opcodes
svn-id: r6105
2002-12-24 23:26:37 +00:00
Max Horn 190685dc69 added a map from object names to object ids
svn-id: r6104
2002-12-24 16:10:31 +00:00
Max Horn 45aec3ef0d more opcodes
svn-id: r6101
2002-12-24 15:23:24 +00:00
Max Horn f5ef5a9699 opcode 0xE1 = o6_getAnimateVariable ?
svn-id: r6100
2002-12-24 14:39:52 +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 fcb708e165 implemented actorOps for V8 (with some guessing involved)
svn-id: r6087
2002-12-23 23:53:29 +00:00
Max Horn 6585425c89 set NUM_ACTORS to 80 for COMI; get rid of MAX_ACTORS (use NUM_ACTORS instead); some updates
svn-id: r6086
2002-12-23 23:30:14 +00:00
Paweł Kołodziejski 4c8c6ff84e updated o8_kludge()
svn-id: r6085
2002-12-23 22:13:06 +00:00
Paweł Kołodziejski 6bbd215740 added cases for o8_kludge()
svn-id: r6084
2002-12-23 21:56:26 +00:00
Paweł Kołodziejski 8a6f6da967 added o6_stopSound and fixed compilation
svn-id: r6083
2002-12-23 21:04:14 +00:00
Max Horn 8380596966 don't let unknown V8 codes pass by (it makes debugging pretty hard)
svn-id: r6081
2002-12-23 20:25:47 +00:00
Max Horn 4524d870f3 and more V8...
svn-id: r6080
2002-12-23 19:15:51 +00:00
Max Horn 35f4a42703 skip initCharset for now, till we get it working in V8
svn-id: r6079
2002-12-23 19:08:34 +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 6d0fd3989c fix jumpTrue/jumpFalse opcodes; slightly better debug output
svn-id: r6075
2002-12-23 18:37:56 +00:00
Max Horn 654ed3ff6c more V8 work
svn-id: r6074
2002-12-23 18:30:12 +00:00
Max Horn b8240b253c some flesh to the V8 bones
svn-id: r6073
2002-12-23 17:21:09 +00:00
Max Horn f86eaeaff9 more V8 mods; cleanup
svn-id: r6070
2002-12-23 15:46:53 +00:00
Max Horn cc5872924e renamed new_1, new_2, new_3 in class Actor
svn-id: r6069
2002-12-23 14:16:43 +00:00
Max Horn e192142dac resolved some arguments with aquadran about how to go on about this :-). Renamed three v6 opcodes
svn-id: r6068
2002-12-23 12:50:38 +00:00
Paweł Kołodziejski 034bfddd7e changed Dword to Uint32, I hope, Filgolfin will be happy :)
svn-id: r6067
2002-12-23 09:45:20 +00:00
Paweł Kołodziejski af86ee5032 updated list opcode script v8
svn-id: r6066
2002-12-23 09:14:58 +00:00
Max Horn 58f2ee45cd word size for V8 games is 4 bytes, as opposed to 2 bytes in V6/V7 games. Hence we adjust fetchScriptWord - this way we can reuse all sorts of code (and no, this is not really a hack - word size by tradition is something which varies depending on the architecture, so it is even consistent)
svn-id: r6064
2002-12-23 00:23:36 +00:00
Max Horn 09baac729f why not reuse the V6 opcode implementations, it would seems many of them are identical in V8. Or maybe V8 actually uses 32 bit ops in some places, but then we can still deal with that once we are actually in the position to try run any scripts :-)
svn-id: r6062
2002-12-22 23:51:04 +00:00
Max Horn 1804f44af1 some more V8 opcode flesh
svn-id: r6061
2002-12-22 23:26:10 +00:00
Max Horn df3c41fa24 added some preliminary V8 work. Nope, it is not useful at all, and it doesn't mean we will have CMI support in this millenium, so don't hold your breath
svn-id: r6060
2002-12-22 21:58:16 +00:00