Commit Graph

6223 Commits

Author SHA1 Message Date
Max Horn
f91c575338 fixing off-by-one buglet (harmless in 99% of cases since the 'invalid' _imgBufOffs entries always contain the value of the last valid one)
svn-id: r9862
2003-08-25 20:05:02 +00:00
Max Horn
95b8558191 check for costume format, not engine version
svn-id: r9860
2003-08-25 14:54:32 +00:00
Max Horn
953e4216b8 implemented V1/C64 object masking, and simplified drawStripC64Mask a bit
svn-id: r9859
2003-08-25 14:27:29 +00:00
Travis Howell
285570f0d3 This fix should be v2 only
Update comment

svn-id: r9858
2003-08-25 14:17:34 +00:00
Max Horn
2257f8c0cd enable V1/C64 masking
svn-id: r9857
2003-08-25 13:15:59 +00:00
Max Horn
e40e6bb207 fixed and cleaned up V1 actor masking
svn-id: r9856
2003-08-25 13:13:43 +00:00
Torbjörn Andersson
528cde2735 Clarified the comments for our Surface class a bit. I plan on removing it
completely soon, so don't use it unless you really, really need to.

svn-id: r9855
2003-08-25 11:30:01 +00:00
Torbjörn Andersson
fcc904a813 FadeServer() is now called from ServiceWindows(), thus eliminating the need
for the making it a timer handler. This should eliminate the occasional
glitches I've been seeing with fades not being completed.

I'm also hoping that it will fix the problem where the game would sometimes
hang when moving between rooms. I know that at least once when I had that
happen to me the game was busy-waiting for the palette to fade.

At the very least, it's one place less to worry about thread-safety in.

svn-id: r9854
2003-08-25 06:13:28 +00:00
Max Horn
10d4af4eae fix for bug #782727 (COMI: no sentence line while inventory is shown) by drawing blast text after blast objects
svn-id: r9853
2003-08-24 21:58:16 +00:00
Max Horn
57493197e8 small cleanup for the Ogg playback code
svn-id: r9852
2003-08-24 21:54:46 +00:00
Max Horn
fcf04ecbfd commented my hack
svn-id: r9851
2003-08-24 17:38:20 +00:00
Max Horn
09368e09f2 fix for bug #786994 (DOTT: no custom cursor)
svn-id: r9850
2003-08-24 17:37:28 +00:00
Jonathan Gray
011d7b897d use less generic file name for settings.dat, I assume filenames > 8.3 are ok for everyone?
svn-id: r9849
2003-08-24 14:13:12 +00:00
Jonathan Gray
527fa147c5 make settings use SaveFileManager stuff as well
svn-id: r9848
2003-08-24 13:46:42 +00:00
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