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
Travis Howell
fc005be4d9
Remove my junk
...
svn-id: r9797
2003-08-20 12:08:44 +00:00
Travis Howell
327d37ae78
v1 zak costume colors should be perfect now
...
svn-id: r9796
2003-08-20 12:04:25 +00:00
Travis Howell
cc781cb9b1
Ooops that would have broken v2
...
svn-id: r9795
2003-08-20 11:49:22 +00:00
Travis Howell
1757d5a448
v1 zak costume color almost all right.
...
svn-id: r9794
2003-08-20 11:45:40 +00:00
Torbjörn Andersson
7651aa2bb7
Applied a different fix for the mouse offset problem. As far as I can tell,
...
the old way would have made it impossible to access the (not yet
implemented) menu icons at the top of the window. I hope this one works...
svn-id: r9793
2003-08-20 11:41:43 +00:00
Torbjörn Andersson
264b2d8767
Removed some memset()s that I added earlier out of paranoia. Added a FIXME
...
comment, noting that DrawMouse() used to handle the "luggage animations" as
well. I don't know if I broke anything when I moved that part of the code.
svn-id: r9792
2003-08-20 11:28:22 +00:00
Jonathan Gray
77f13830ed
SetMenuIcon(), other stubs in menu.cpp will have to be done for things to be visible, don't have time to do this at the moment. As a side note the demo is now finishable even though you can't see the inventory :)
...
svn-id: r9791
2003-08-20 11:13:13 +00:00
Jonathan Gray
52f3fa76dc
correction from olki that fixes mouse y offset being too high
...
svn-id: r9790
2003-08-20 11:04:32 +00:00
Travis Howell
e135f8a9b9
Leave masking disable for now, until it works well.
...
svn-id: r9789
2003-08-20 08:52:36 +00:00
Torbjörn Andersson
1100a46242
Cleaned up DrawSprite() and added scaling, based on the "line doubling"
...
method in the original code.
There are still a few minor things missing, but it should work well enough
for now.
svn-id: r9788
2003-08-20 06:51:35 +00:00