Commit Graph

52 Commits

Author SHA1 Message Date
Max Horn
1f88542417 don't lock/unlock if resource was already locked
svn-id: r6439
2003-01-12 21:53:25 +00:00
Max Horn
454fc651c0 fix beach crash in COMI
svn-id: r6438
2003-01-12 21:46:58 +00:00
Max Horn
aa60f424ba fix banjo duel crash
svn-id: r6427
2003-01-12 13:58:16 +00:00
Max Horn
0305a2ba0a dump flObject scripts, too
svn-id: r6424
2003-01-12 13:06:59 +00:00
James Brown
37648803ae Remove the second biggest hack I've ever seen
svn-id: r6423
2003-01-12 10:33:30 +00:00
James Brown
a4af93c22c End of flObject rewrite. It works! It works! :P
svn-id: r6421
2003-01-12 10:20:09 +00:00
James Brown
ea9d3dd9bb Fhew. Fix crash.
svn-id: r6418
2003-01-12 08:37:59 +00:00
James Brown
daa5397e02 Small fix - _numLocalObjects is a 1-based array, so don't go reading bad memory :P
svn-id: r6417
2003-01-12 08:32:44 +00:00
James Brown
ef9a8d0714 New method of local object management. Buggy, segfaults on the Part 1 screen and I don't know why yet..
svn-id: r6416
2003-01-12 07:30:17 +00:00
James Brown
15decf5b15 Better warn on the flObject 188/189 load hack
svn-id: r6401
2003-01-11 18:53:15 +00:00
James Brown
911353c710 This is the second biggest hack I've ever seen! FlObject 188/189 hack.
svn-id: r6400
2003-01-11 18:52:19 +00:00
James Brown
158951dbd9 Clean up the code a little.
For some reason blast objects 188/189 are misbehaving, specifically you get a crash when talking to the voodoo lady. hit escape using
this save: http://www.enderboi.com/misc/comi.s04 - I can't work out how the heck an association is created to begin with..

svn-id: r6311
2003-01-01 11:25:04 +00:00
Max Horn
bac0245250 added V8 support to drawVerbBitmap - not even sure if that is used in COMI, though
svn-id: r6286
2002-12-31 03:32:06 +00:00
Max Horn
5d4f06cf1f implemented object drawing (still somewhat broken, we get a 'green screen' effetc :-). Oh yes, this probably breaks save game compatibility for COMI. Oh yeah. As if I would care <g>
svn-id: r6285
2002-12-31 03:26:02 +00:00
Max Horn
166ea5bcee get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled script dumping
svn-id: r6284
2002-12-31 02:09:57 +00:00
Max Horn
319facc9c3 cleanup
svn-id: r6214
2002-12-28 00:45:44 +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
8049e06258 fixed flobject loading in V8
svn-id: r6198
2002-12-27 14:36:28 +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
966d435a19 fixed verb scripts
svn-id: r6175
2002-12-26 20:37:49 +00:00
Max Horn
aa2a85de99 fixed bomp cursor in CMI partially - still seeing flickering/tearing/artifacts, though
svn-id: r6124
2002-12-25 12:41:41 +00:00
James Brown
23a339d151 Fix Dig regression
svn-id: r6121
2002-12-25 12:14:42 +00:00
Max Horn
65ee9da743 cleanup (really need to factor out a lot of this stuff into seperate methods)
svn-id: r6118
2002-12-25 11:59:55 +00:00
Paweł Kołodziejski
4c83d9ed06 fixed warnings(errors) for VC6.
Endy I'm here now ! :-)

svn-id: r6115
2002-12-25 07:48:37 +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
190685dc69 added a map from object names to object ids
svn-id: r6104
2002-12-24 16:10:31 +00:00
Max Horn
908de40919 some hacks to get V8 loading further. It now fails because it can't find the SMAP resource
svn-id: r6102
2002-12-24 15:27:27 +00:00
James Brown
5d2d6e11b3 Fix silly mistake
svn-id: r6099
2002-12-24 12:49:25 +00:00
James Brown
9df8cf4eba Fix a typo, add some more code.
Current crash is caused due to the non-existant mapping between objid's and the object names

svn-id: r6098
2002-12-24 12:27:35 +00:00
James Brown
600e516ef2 Cope with relocation of room scripts into a subbranch of LFLF, not ROOM
svn-id: r6097
2002-12-24 12:09:11 +00:00
Max Horn
559ac7b842 changed lots of stuff to read data in the V8 format; more changes still needed, and one open problem: V8 IMHD has no obj_id, we need to work around that somehow, not yet sure what the correct way is (two find out, we either need to get into a state where this actually matters, so that we can do trial & error, or we need a disassmbly)
svn-id: r6094
2002-12-24 04:02:21 +00:00
Max Horn
50f7ffbeb6 got rid of _curVirtScreen and VirtScreen::unk1; added some comments to gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default)
svn-id: r6037
2002-12-21 01:11:42 +00:00
Max Horn
5e0db4cb8c Patch #649356, INDY3: Possible intro fix
svn-id: r5924
2002-12-13 01:33:23 +00:00
Max Horn
8dd3d2ec29 more cleanup
svn-id: r5837
2002-12-04 21:46:05 +00:00
Jonathan Gray
54a5c1fb3a confine dodgy hack in indy3 that should probably be removed
svn-id: r5515
2002-11-11 04:42:43 +00:00
James Brown
4cf3def44b Game-specific a likely incorrect fix for Indy3 (Class 22 is the "Don't mask" flag, so why translate it to something else?)
*hurts khalek badly and mumbles about regression testing during a CVS freeze..*

svn-id: r5508
2002-11-10 18:11:39 +00:00
Jonathan Gray
18506e7714 properly translate class, read (i want my trains back), I'm told this will require regression testing for at least loom and zak by ender
svn-id: r5481
2002-11-10 09:14:20 +00:00
Paweł Kołodziejski
4db6c3b768 fix for bomp scalling, missing duplicate table
svn-id: r5470
2002-11-09 07:13:30 +00:00
Paweł Kołodziejski
85c7c9ffe6 applied patch: #634326, and changed strip ranges for after and before scumm v7,
added comments to saveload

svn-id: r5448
2002-11-06 17:55:44 +00:00
Max Horn
63e1069ec1 removed more unused variables; cleaned up some spaces
svn-id: r5442
2002-11-06 15:29:49 +00:00
Max Horn
1974075bb3 removed unused parameters from drawBomp
svn-id: r5440
2002-11-06 14:54:21 +00:00
Max Horn
503fd9ca64 removed some useless typecasts
svn-id: r5437
2002-11-06 14:02:07 +00:00
Paweł Kołodziejski
5d873255ea rewrote akos5 and bomp, corrected pitch in akos16, increased range of gfxbits
svn-id: r5433
2002-11-06 07:28:39 +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
James Brown
500be1e535 Make some BOMP'ed Dig events a little more happy
svn-id: r5272
2002-10-23 03:28:06 +00:00
James Brown
2d22cc4567 Patch 621733: drawBomp() masking
svn-id: r5128
2002-10-11 11:50:06 +00:00
James Brown
1388814706 Patch 616144: Sam and Max layering fix (drawMaskOnBoth rewrite)
svn-id: r5036
2002-09-29 15:20:02 +00:00
James Brown
7c6864efe8 Patch 613597: Sam and Max object ordering fixme thingzie.
svn-id: r5013
2002-09-24 15:23:57 +00:00
Max Horn
b46b35b544 renamed unk3/unk4 to scaleX/scaleY
svn-id: r4970
2002-09-19 11:06:10 +00:00