Travis Howell
ae183c8c8c
Opcode change to load/save screen in original loom
...
svn-id: r9912
2003-08-29 15:06:00 +00:00
Travis Howell
cf4ae4097f
Update warnings in mingw makefile.
...
Add hack to allow nosubtitles in loomcd (Only once game has started)
Revert _roomPalette changes for 256 colors games, caused problems in loomcd, I'm not sure the older 256 color needs these changes.
svn-id: r9890
2003-08-28 12:21:35 +00:00
Travis Howell
221253b998
Force redraw so copy protection screen in monkeyega/vga is shown correctly.
...
svn-id: r9881
2003-08-27 15:13:04 +00:00
Travis Howell
5f5b9c1e0c
Ooops
...
svn-id: r9877
2003-08-27 06:56:54 +00:00
Travis Howell
e37c930533
Add change ot fix pallete issue in 256 color small_header games
...
svn-id: r9874
2003-08-27 03:54:50 +00:00
Travis Howell
06d07054c3
Fix room palette issues in small_header games.
...
Fix is only for EGA games so far.
svn-id: r9873
2003-08-27 01:12:18 +00:00
Jamieson Christian
6768da3e76
Added comment keyword, per Fingolfin
...
svn-id: r9831
2003-08-23 16:30:32 +00:00
Jamieson Christian
4748b92b33
Commented MI1 Demo fix.
...
svn-id: r9764
2003-08-18 13:55:12 +00:00
Travis Howell
be2e796247
OOps
...
svn-id: r9735
2003-08-17 08:00:26 +00:00
Travis Howell
53d1db8cae
Fix regressions in MI1 Amiga
...
Revert last change to MI1 demo fix and make it monkeyega target only.
svn-id: r9732
2003-08-17 02:34:34 +00:00
Jamieson Christian
0914e57d21
Changed fix for hanging MI1 EGA Demo after
...
finding GFX regressions in Indy3. New fix
runs exit script immediately when nuking
the resource for the current room, and
resets the current room to 0 (nothing).
Again, a warning is output in case other
cases of nuking the current room are found
and have undesirable behavior as a result
of this change.
svn-id: r9731
2003-08-16 21:45:00 +00:00
Jamieson Christian
c67485254a
Fixed hang in MI1 EGA Demo. Hang was the result
...
of a conflict between two scripts trying to
putActorInRoom() on the same actor. One script
was trying to reset an actor which had already
been appropriated and set up by another script.
A warning is displayed when putActorInRoom()
is ignored, just in case this crops up in other
games and causes undesirable behavior. (I
tested with MI2 up until Woodtick, and didn't
encounter any places where the opcode had to
be ignored.)
svn-id: r9727
2003-08-16 15:13:15 +00:00
Bertrand Augereau
03524d071e
Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.
...
svn-id: r9674
2003-08-13 23:07:05 +00:00
Bertrand Augereau
0563d61106
Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.
...
svn-id: r9670
2003-08-13 22:26:31 +00:00
Travis Howell
603f8b8e3a
Give pass its own id
...
svn-id: r9654
2003-08-13 02:21:36 +00:00
Torbjörn Andersson
5052770213
Allowed derefActor() and derefActorSafe() to treat actor 0 as a valid actor
...
since the original interpreters appear to have allowed it. This fixes bug
#786380 ("FOA - FISTS, script crash in Crete").
I do not know what the purpose of actor 0 was in the original. Either it's
a no-op, or it's used to store actor default values.
Note that in the FOA case the room-33-200 script will loop - at least with
the provided savegame - until you leave the room. However, this is quite
harmless.
svn-id: r9650
2003-08-12 16:43:43 +00:00
Marcus Comstedt
2ed0eee711
Replaced use of File with use of SaveFileManager where appropriate.
...
svn-id: r9627
2003-08-10 20:50:50 +00:00
Jonathan Gray
f1a3253fa2
remove GF_LOOM
...
svn-id: r9603
2003-08-08 11:32:40 +00:00
Max Horn
3e0cd37cea
get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNS
...
svn-id: r9554
2003-08-06 12:04:27 +00:00
Travis Howell
5dd4d3e8e4
Add GF_LOOM feature flag for loom games to reduce checks.
...
Will make it easier to add loom fm towns target in future.
svn-id: r9547
2003-08-06 09:30:48 +00:00
Travis Howell
e4e9538038
Add GF_INDY3 feature flag for indy3 games to reduce checks
...
Remove GF_ADLIB_DEFAULT since it is no longer used
svn-id: r9546
2003-08-06 09:10:19 +00:00
Max Horn
f18627bfd5
fix warning
...
svn-id: r9443
2003-08-03 18:34:46 +00:00
Max Horn
79a4972698
removed obsolete warning
...
svn-id: r9442
2003-08-03 18:26:46 +00:00
Max Horn
ffa32a2eca
o5_getStringWidth was missing getResultPos() (thanks to _Q for pointing this out)
...
svn-id: r9441
2003-08-03 18:23:54 +00:00
Max Horn
c3c39a33c3
cleanup for some comments & indention
...
svn-id: r9341
2003-07-31 18:46:31 +00:00
James Brown
636b8458b3
Forward-port ZakV2 hacks from 0.5.0 branch
...
svn-id: r9332
2003-07-31 15:32:57 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
...
svn-id: r9175
2003-07-24 17:44:00 +00:00
Travis Howell
13dae9b394
fm towns cd audio fix from Hibernatus
...
svn-id: r9141
2003-07-23 05:17:21 +00:00
Max Horn
b43125cd36
fix for bug #775839 ; unified the various Indy3 checks (this gets annoying, maybe we can merge the three GIDs after 0.5.0; any difference could be handled via _feature flags (e.g. added a GF_TOWNS flag)
...
svn-id: r9137
2003-07-22 22:33:34 +00:00
Travis Howell
f20c47bb21
Add Indy3 FM Towns support, patch #773434
...
svn-id: r9062
2003-07-18 05:49:21 +00:00
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Travis Howell
22edb8c39b
Revert my last change, made some in text text unreadable (black).
...
Could more palette change be required for 32 color Amiga versions ?
svn-id: r8965
2003-07-13 05:07:27 +00:00
Travis Howell
53ac8f62cf
Commit fixme to prevent some issues on Amiga verison of MI2
...
svn-id: r8963
2003-07-13 03:05:41 +00:00
Jonathan Gray
8e94094c9d
consistent case statement options, and make warnings more useful
...
svn-id: r8961
2003-07-13 02:25:36 +00:00
Travis Howell
817d600d8e
More fixes from Hibernatus
...
svn-id: r8792
2003-07-06 06:36:26 +00:00
Max Horn
095b68d74f
partially implemented the Audio CD query opcode in Zak256 (see bug #762589 ); cleanup
...
svn-id: r8680
2003-06-30 23:18:20 +00:00
Max Horn
2f11bb5dd7
fix for 'default talk color' use of actorSet opcode (fix for bug #755888 )
...
svn-id: r8655
2003-06-26 14:38:48 +00:00
Max Horn
22e979de21
still don't know how the o5_startMusic opcode works in Zak (if it is even music releated), but this way makes more sense (thanks to Hibernatus)
...
svn-id: r8643
2003-06-24 17:31:35 +00:00
Max Horn
1465598aad
finally implemented this TODO: using class File instead of fopen
...
svn-id: r8588
2003-06-21 20:27:48 +00:00
Max Horn
fc8e12444a
seems monkeyega & monkeyvga have byte values for the object name offset, too
...
svn-id: r8571
2003-06-20 11:14:18 +00:00
Max Horn
f301d1fa47
fixed Zak256 (and possibly other V3 games); Not quite sure if the behaviour is correct for V4 games, that needs testing
...
svn-id: r8568
2003-06-20 10:53:06 +00:00
Max Horn
a3feb46080
instead of casting to byte, rather allow offsets > 255
...
svn-id: r8564
2003-06-19 18:08:39 +00:00
Jamieson Christian
9e51924166
Fixed MSVC warnings
...
svn-id: r8544
2003-06-18 22:35:03 +00:00
Max Horn
f0a39d718a
fix for o5_walkActorToActor; this seems to be more like what V3 games expect (and fixes bug #755113 ); but I don't know for sure about V5 games (and I have to wonder if the corresponding code for V6 isn't maybe wrong, too...?)
...
svn-id: r8538
2003-06-18 12:33:46 +00:00
Max Horn
f7a8cbf7c7
Patch #754151 : Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
...
svn-id: r8482
2003-06-14 18:52:30 +00:00
Max Horn
f4a31da513
runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
...
svn-id: r8468
2003-06-14 12:23:30 +00:00
Torbjörn Andersson
423ccef9a2
Hack to avoid bad actor crash in o5_walkActorToActor() when using the camel
...
in the FOA "wits" path. We have a number of these hacks now...
svn-id: r8460
2003-06-13 17:35:44 +00:00
Max Horn
0503b553df
some walk fixes
...
svn-id: r8439
2003-06-11 21:45:47 +00:00
Max Horn
fedc3b7e62
Fix for bug #654286 : ZAK256: Ending credits are illegible
...
svn-id: r8383
2003-06-07 18:26:51 +00:00
Max Horn
49b9a8fc9d
follow our coding conventions
...
svn-id: r8377
2003-06-07 00:49:36 +00:00