mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 14:41:40 +00:00
- 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:
parent
317710e9c4
commit
4649d011c6
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue