Paweł Kołodziejski
d9adc5d71a
changes for v2 resources
...
svn-id: r7053
2003-04-21 11:19:56 +00:00
Paweł Kołodziejski
a114ddbbf7
shouldn't be increased to next search object ?
...
svn-id: r7009
2003-04-13 21:47:48 +00:00
Paweł Kołodziejski
e0d170faca
handle old_bundle offsets getVerbEntrypoint(), o5_setObjectName(), getObjOrActorName() funcs
...
svn-id: r7003
2003-04-13 16:42:33 +00:00
Paweł Kołodziejski
aff192d554
handle old_bundle size at addObjectToInventory() func
...
svn-id: r7002
2003-04-13 16:21:41 +00:00
Max Horn
fc08a317b0
fixed OLD_BUNDLE object image offset
...
svn-id: r6991
2003-04-12 18:43:23 +00:00
Max Horn
3fcac728a8
added GF_OLD_BUNDLE to findObjectInRoom
...
svn-id: r6986
2003-04-12 12:58:20 +00:00
Max Horn
9750a2407c
lots of unblocked aka GF_OLD_BUNDLE support code (still no load, but gets further :-)
...
svn-id: r6977
2003-04-12 02:09:00 +00:00
Max Horn
c739960176
added yet another sanity check (assert); fixed long standing evil bug in getObjNewDir / getObjOldDir
...
svn-id: r6763
2003-03-08 00:56:43 +00:00
Max Horn
20c6cfdd2d
some more dummy code for valgrind debugging
...
svn-id: r6762
2003-03-08 00:24:23 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a
and more cleanup
...
svn-id: r6718
2003-03-06 17:58:13 +00:00
Max Horn
45f6976805
Patch #697848 : Small removeObjectFromRoom() cleanup
...
svn-id: r6689
2003-03-05 11:39:27 +00:00
Max Horn
f6bac973f8
patch #696030 : CMI: More actor direction fixes
...
svn-id: r6662
2003-03-02 15:51:56 +00:00
Paweł Kołodziejski
d115e0ad75
fixed warnings
...
svn-id: r6659
2003-03-02 12:36:07 +00:00
Jonathan Gray
18acc2e800
patch #693475 attempt to address the actor facing problems in comi by erik
...
svn-id: r6643
2003-02-27 10:42:12 +00:00
James Brown
d1eb2636f4
Patch 671031: Fix for MI1 intro crash + others (move new object
...
clearing code into a more generic function, and call it earlier)
svn-id: r6548
2003-01-26 10:57:01 +00:00
Paweł Kołodziejski
3faa561c47
fix compilation under VC6
...
svn-id: r6495
2003-01-18 14:16:55 +00:00
James Brown
2810185599
Clip strip value when removing objects
...
svn-id: r6488
2003-01-17 15:23:27 +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
5bf741f960
Patch 667613: Extend gfxUsageBits[]
...
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
62780b34d7
clear object table for small header games, too
...
svn-id: r6448
2003-01-13 16:00:19 +00:00
Max Horn
d900d280c0
fixed checkRange output; added checkRange call to drawObject; cleanup
...
svn-id: r6447
2003-01-13 15:27:06 +00:00
Max Horn
0a3bc7d36f
removed obsolete FIXME
...
svn-id: r6446
2003-01-13 15:13:24 +00:00
Max Horn
6fada952c0
indention fix
...
svn-id: r6445
2003-01-13 15:06:58 +00:00
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