Torbjörn Andersson
4fad04846a
Changed to use #include "bs2/..." and removed the inclusion of standard C
...
headers. Most (all?) of the ones we need should probably come from stdafx.h
instead.
svn-id: r10588
2003-10-04 08:07:03 +00:00
Max Horn
5a074e6137
added namespace Sword2
...
svn-id: r10581
2003-10-04 00:52:27 +00:00
Torbjörn Andersson
49fa159ed4
More cleanup, plus support for cutscene leadout music. For now, we only
...
play that music for cutscenes that have subtitles.
svn-id: r10460
2003-09-28 14:13:57 +00:00
Torbjörn Andersson
442fd0cdf8
I don't think UpdatePaletteMatchTable() has to write the table to file. In
...
fact, I'm not even sure the !data case ever happens.
svn-id: r10425
2003-09-27 15:30:17 +00:00
Torbjörn Andersson
4ae1674a44
Removed ancient version history. Much of it doesn't apply to us, and was
...
cluttering up the files anyway. (Though I do feel a slight twinge of guilt
for removing historical records like this. :-)
svn-id: r10384
2003-09-23 16:53:25 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Torbjörn Andersson
bb5f479a8c
Added a WaitForFade() function, to replace numerous while-loops scattered
...
througout the code.
svn-id: r10127
2003-09-09 12:14:08 +00:00
Torbjörn Andersson
1ebb3cb742
Unstubbed DimPalette() (used when pausing the game) and re-indented the
...
code to be more in line with the ScummVM coding style.
svn-id: r9878
2003-08-27 07:01:05 +00:00
Torbjörn Andersson
fda7df57fa
Handle the fadeNow parameter to BS2_SetPalette() so that the palette is
...
only uploaded to the backend if fadeNow == RDPAL_INSTANT. Otherwise, assume
that FadeServer() will do it for us, eventually.
I think this is the correct behaviour, and it prevents the bug where the
unfaded room image might flash by briefly when moving the mouse while
changing rooms.
svn-id: r9868
2003-08-26 15:19:29 +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
01f020da2b
SetPalette conflicts with an OS symbol on OS X
...
svn-id: r9829
2003-08-23 14:42:37 +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
Jonathan Gray
48ceff0545
patch #790060 SWORD2: Initial graphics work from erik very nice indeed :)
...
svn-id: r9737
2003-08-17 14:07:16 +00:00
Paweł Kołodziejski
e5e117006a
back disable warnings into stdafx.h, vc6 is lack of warnings support
...
svn-id: r9337
2003-07-31 18:35:01 +00:00
Jonathan Gray
b11c3a6c0b
remove bs2 specific osystem var
...
svn-id: r9330
2003-07-31 15:24:23 +00:00
Jonathan Gray
6822552a10
slightly changed version of erik's implmentation of FadeServer
...
svn-id: r9328
2003-07-31 14:51:02 +00:00
Jonathan Gray
d520390cc5
rename functions with windows specific names
...
svn-id: r9233
2003-07-28 07:47:21 +00:00
Jonathan Gray
a05c4bda0f
-Werror cleanup
...
svn-id: r9230
2003-07-28 07:22:40 +00:00
Travis Howell
ccc40eecc9
Compiles on mingw now
...
svn-id: r9222
2003-07-28 03:12:49 +00:00
Jonathan Gray
dc6aa9912c
bs2 driver
...
svn-id: r9212
2003-07-28 01:47:41 +00:00