- Fixed: ActorStencilColor() did not set the palette part of the actor's

fill color, so it would always produce black for STYLE_Shaded.


SVN r990 (trunk)
This commit is contained in:
Randy Heit 2008-05-23 02:13:31 +00:00
parent 317710e9c4
commit 4649d011c6
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
May 22, 2008
- Fixed: ActorStencilColor() did not set the palette part of the actor's
fill color, so it would always produce black for STYLE_Shaded.
- Added volume reduction for stereo sounds played in 3D to obtain levels
closer to FMOD 3, which downmixed all stereo sounds to mono before
playing them in 3D. Also added experimental 3D spread for stereo sounds

View file

@ -1477,7 +1477,7 @@ static void ActorTranslation (FScanner &sc, AActor *defaults, Baggage &bag)
//==========================================================================
//
//==========================================================================
static void ActorStencilColor (FScanner &sc,AActor *defaults, Baggage &bag)
static void ActorStencilColor (FScanner &sc, AActor *defaults, Baggage &bag)
{
int r,g,b;
@ -1500,7 +1500,7 @@ static void ActorStencilColor (FScanner &sc,AActor *defaults, Baggage &bag)
g=GPART(c);
b=BPART(c);
}
defaults->fillcolor = MAKERGB(r,g,b);
defaults->fillcolor = MAKERGB(r,g,b) | (ColorMatcher.Pick (r, g, b) << 24);
}