Commit Graph

6209 Commits

Author SHA1 Message Date
Jonathan Gray
2c4f688e59 fix strange keyboard issues by passing the game the values it wants
svn-id: r9847
2003-08-24 13:18:19 +00:00
Jonathan Gray
a8ddcec684 be more tolerant of files being in different spots, and living on case sensitive filesystems
svn-id: r9846
2003-08-24 12:13:03 +00:00
Jonathan Gray
070a746de4 this should be signed
svn-id: r9845
2003-08-24 11:39:32 +00:00
Jonathan Gray
e52f4c89c7 correct slashes in paths
svn-id: r9844
2003-08-24 08:15:01 +00:00
Jonathan Gray
cf9ad3aee3 bring up the restore game menu when any -x param is specified, this is nicer than telling it to load a slot as it validates the saves and doesn't try to load a non existent save etc, its also similiar to what the original did (any command line params at all would load the restore menu)
svn-id: r9843
2003-08-24 06:57:32 +00:00
Jonathan Gray
d50c6f4ef8 we don't need to be told when we've hit a key
svn-id: r9842
2003-08-24 02:51:33 +00:00
Jonathan Gray
5d1863070b return read error in PlayCompSpeech for now so we get subtitles
svn-id: r9841
2003-08-24 02:43:44 +00:00
Travis Howell
14e3dd96e0 Ooops, inventory still needs to be clear when moving through inventory.
svn-id: r9840
2003-08-24 02:27:52 +00:00
Travis Howell
4b6800fcf9 Minor cleanup
svn-id: r9839
2003-08-24 02:15:12 +00:00
Travis Howell
72bfe15f50 Update comment
svn-id: r9838
2003-08-24 02:11:14 +00:00
Travis Howell
79036c5a1d Handle hiding of verbs/inventory in v1-v2 games correctly.
According to diasm. the verbs areas is only enabled and shown when (_userState & 128) is true and verbs/inventory area is cleared/redrawn on each state change.

svn-id: r9837
2003-08-24 01:47:45 +00:00
Max Horn
e8cd460441 work around compiler bug in GCC 2.95.x
svn-id: r9836
2003-08-24 00:40:55 +00:00
Jonathan Gray
ac3ee2684e fix --disable-engine so it doesn't try to compile disabled engine, what was I thinking...
svn-id: r9835
2003-08-23 23:33:05 +00:00
Max Horn
f74aa84b2d sync OS X static build rule with Makefile.noconf
svn-id: r9834
2003-08-23 20:36:46 +00:00
Ruediger Hanke
191c4b9b8e use startup message, avoid possible race condition on exit
svn-id: r9833
2003-08-23 18:03:17 +00:00
Ruediger Hanke
fda9c87218 little bugfix, safer code
svn-id: r9832
2003-08-23 18:01:21 +00:00
Jamieson Christian
6768da3e76 Added comment keyword, per Fingolfin
svn-id: r9831
2003-08-23 16:30:32 +00:00
Travis Howell
6cc598250d Add comment
svn-id: r9830
2003-08-23 15:16:07 +00:00
Max Horn
01f020da2b SetPalette conflicts with an OS symbol on OS X
svn-id: r9829
2003-08-23 14:42:37 +00:00
Jonathan Gray
4df7dd406f fix a resman method and make saving work using SaveFileManager
svn-id: r9828
2003-08-23 14:33:57 +00:00
Travis Howell
5e0f61a8b2 Typo
svn-id: r9827
2003-08-23 13:51:37 +00:00
Jamieson Christian
c6b5749f03 Added explicit 'ASFX' awareness for clarity
svn-id: r9826
2003-08-23 13:31:59 +00:00
Torbjörn Andersson
df247cff62 Unstubbed the Create/Draw/DeleteSurface() functions, and removed some
unnecessary stuff from our own Surface class. The former allows the in-game
dialogs to at least sort of work, and the latter gained me a few frames per
second, according to the built-in FPS counter.

svn-id: r9825
2003-08-23 13:02:21 +00:00
Travis Howell
b113720a6d Work around for sound resource in ST versions.
svn-id: r9824
2003-08-23 07:27:59 +00:00
Jamieson Christian
535b95fffc Fixed tempo value for Indy3 AD resources. Despite
the comment in the source, the disasm value DOES
sound closer to the original than the alternative
value that came from who-knows-where. The value
being used rendered too slow a tempo.

svn-id: r9823
2003-08-22 20:24:06 +00:00
Jonathan Gray
0649a8e30d enable boot param like option for bs2, valid numbers can be found in startup.inf
svn-id: r9822
2003-08-22 08:40:27 +00:00
Travis Howell
ab59623930 Add screenshot option for sdl backends, patch #590233
svn-id: r9821
2003-08-22 07:40:40 +00:00
Travis Howell
8a87b25fdc *** empty log message ***
svn-id: r9820
2003-08-22 07:20:33 +00:00
Torbjörn Andersson
641d164e21 Added light mask support (in the demo this is most visible when walking
under the shack), plus some other cleanups. The s->blend & 0x02 case looks
bogus to me, but I don't know where it's used and I can't see that the
original did it differently.

svn-id: r9819
2003-08-22 07:04:50 +00:00
Torbjörn Andersson
812f42ce8e Only hide the mouse cursor if both the mouse animation and the luggage
animation are removed.

svn-id: r9818
2003-08-22 06:59:05 +00:00
Travis Howell
d960058e49 Enable bs2
svn-id: r9817
2003-08-22 06:58:02 +00:00
Jonathan Gray
a02eba1bee add sword2 cd dirs
svn-id: r9816
2003-08-22 06:40:29 +00:00
Jonathan Gray
5018d206bc stop bs2 trying to cache clusters
svn-id: r9815
2003-08-22 06:39:18 +00:00
Jonathan Gray
abf7f33dc4 loom towns needs this as well you can now learn f
svn-id: r9814
2003-08-22 03:14:29 +00:00
Jamieson Christian
bcd1f49125 More tweaks to the PPQN and tempo of AD resources.
Loom, Indy3 and monkeyvga are now all running
at the right tempo and returning appropriate
quarter note counts for the script timers.
Fixes a sync regression with the Indy3 opening
sequence under -eadlib.

Ask me if I care that these numbers may not
precisely match the disasm.

svn-id: r9813
2003-08-22 02:24:55 +00:00
Jonathan Gray
485852ba6c change sound queue overflow error to warning as error was supposed to be temporarily apparently...
svn-id: r9812
2003-08-22 01:47:15 +00:00
Jonathan Gray
d9a78a5feb change description of -b option to be more correct, also some consistency in -h output
svn-id: r9811
2003-08-22 01:18:49 +00:00
Jamieson Christian
47c33674ec Fix for Bug [792178] MI1: Intro asynchronity regression
Reverted Hoenicke's change. Why was this change made anyway?
Do not reinstate the "tempo tweak" before talking to me
about why it was needed.

svn-id: r9810
2003-08-21 15:51:28 +00:00
Jonathan Gray
446ca58580 crude fix for bug #786995 stop arrow keys being sent to scripts as they are currently stolen by the keyboard cursor control stuff. I will soon either gut the keyboard cursor stuff or make it non default as it breaks several things
svn-id: r9809
2003-08-21 15:33:25 +00:00
Jonathan Gray
a51be5d39e -Werror cleanup, don't try to free const variables...
svn-id: r9808
2003-08-21 14:58:47 +00:00
Jonathan Gray
ce42f4d3dd patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
svn-id: r9807
2003-08-21 13:39:21 +00:00
Torbjörn Andersson
255c7ae5ff When a menu icon reaches its full size it can be drawn directly, without
being run through the shrinker first.

svn-id: r9806
2003-08-21 11:42:27 +00:00
Oliver Kiehl
bfefcc3567 Draw combined cursor properly. Thanks to joost for finding out that the
maximum cursor size in SDL is 80x80. This *might* cause problems in some cases

svn-id: r9805
2003-08-20 21:46:00 +00:00
Torbjörn Andersson
8b9158817d Lots of cleanup.
Oh, and the menus should work now. :-)

svn-id: r9804
2003-08-20 21:17:23 +00:00
Marcus Comstedt
470fd27009 Need explicit include of stdafx because of free_check kluge...
svn-id: r9803
2003-08-20 20:03:50 +00:00
Torbjörn Andersson
875decf544 Initial (slightly buggy) support for "luggage" mouse cursors, i.e. cursors
made up from two different images.

svn-id: r9802
2003-08-20 15:43:25 +00:00
Travis Howell
f16aec61f0 Fix speedy music regression in monkeyega/vga/pass.
Add unique tag to sfx when converting AD resources, to solve sfx cutting off music issue in monkeyega/vga.

svn-id: r9801
2003-08-20 15:19:23 +00:00
Travis Howell
be0d723e7f Change Amiga palette option to Amiga version
svn-id: r9800
2003-08-20 14:01:39 +00:00
Robert Göffringmann
af17c1ac51 copied some fixes which only were in 0.5.1 branch.
svn-id: r9799
2003-08-20 12:12:11 +00:00
Joost Peters
123af30147 fix warning (properly initialise 2 dimensional arrays)
svn-id: r9798
2003-08-20 12:08:55 +00:00