Commit Graph

126 Commits

Author SHA1 Message Date
Max Horn
447ab20369 cleanup
svn-id: r6140
2002-12-25 19:06:31 +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
c480833be7 Hacky font support - first attempt :)
svn-id: r6127
2002-12-25 13:51:01 +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
57cdbd0abb set script tracing to level 1 - at least while we do V8 debugging, later we can go back to a higher level
svn-id: r6082
2002-12-23 20:29:53 +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
7d052a26b0 don't be needlessly verbose; allow byte arrays in V8
svn-id: r6071
2002-12-23 16:17:23 +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
3ce3a5be5b minor cleanup
svn-id: r6059
2002-12-22 19:14:53 +00:00
Max Horn
c4b6fa7f70 refactoring: use inheritance to mode the relations between the various engine versions. E.g. the V6 opcodes are now in Scumm_v6, the V5 opcodes in Scumm_v5 (from which we now derive v2-v4. which is a bit odd - maybe we should move the v5 opcodes to Scumm_v3 ?)
svn-id: r5994
2002-12-16 12:12:31 +00:00
Max Horn
0720fa80c8 cleanup
svn-id: r5893
2002-12-09 01:27:40 +00:00
Max Horn
d574313f32 fixed o5_resourceRoutines for OLD256 games (various subopcodes are still not implemented, though); some cleanup
svn-id: r5699
2002-11-23 13:53:46 +00:00
Travis Howell
2659e19fdd Added MonkeyVGA copy protection bypass, patch #640546
svn-id: r5616
2002-11-19 09:16:46 +00:00
James Brown
1bf9bb768e Fix Indy3 "Guard-Fighting" crash and properly fix the empty exits problem
svn-id: r5467
2002-11-08 18:06:08 +00:00
Max Horn
18153f22c9 why keep a seperate opcode entry & opcode description table if we can have it both in one (note that the descriptions were in fact outdated in some cases! also note, this is really just a refactoring, no functionality is changed except that opcode descriptions are now in sync with the opcode procs, that's why I am commiting this at all)
svn-id: r5445
2002-11-06 16:44:57 +00:00
James Brown
512f80552e Indy3 only uses the low 4 bits of a variable
svn-id: r5393
2002-11-03 15:12:39 +00:00
Jonathan Gray
418017cb29 hack around what seems to be an empty exit script in indy3 (besides the size and tag) for now, maybe we should be strictly not reading past the size defined in the header of the script?
svn-id: r5390
2002-11-03 10:33:50 +00:00
James Brown
53f26cb4ac *cough*... never mind me...
svn-id: r5381
2002-11-02 12:21:40 +00:00
James Brown
e7a245114d Make stack problems a little more verbose
svn-id: r5380
2002-11-02 12:20:41 +00:00
Paweł Kołodziejski
9e0e2fa1d5 removed hardcoded values and increased range of strips
svn-id: r5329
2002-10-27 09:06:20 +00:00
Max Horn
a681eb029e renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
svn-id: r4995
2002-09-22 01:17:53 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Paweł Kołodziejski
daa997fab2 fixes to resolutions
svn-id: r4893
2002-09-01 15:01:40 +00:00
Ralph Brorsen
d473d295c4 Fix for #556564
svn-id: r4846
2002-08-25 11:35:13 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00