mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-04 09:52:01 +00:00
- backend update from Raze.
This commit is contained in:
parent
646457eb03
commit
fe19aec059
2 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
||||||
#include "gameconfigfile.h"
|
#include "gameconfigfile.h"
|
||||||
#include "d_event.h"
|
#include "d_event.h"
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
|
#include "printf.h"
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -500,6 +500,12 @@ public:
|
||||||
mStreamData.uTextureBlendColor = texfx->BlendColor;
|
mStreamData.uTextureBlendColor = texfx->BlendColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
void SetTextureColors(float* modColor, float* addColor, float* blendColor)
|
||||||
|
{
|
||||||
|
mStreamData.uTextureAddColor.SetFlt(addColor[0], addColor[1], addColor[2], addColor[3]);
|
||||||
|
mStreamData.uTextureModulateColor.SetFlt(modColor[0], modColor[1], modColor[2], modColor[3]);
|
||||||
|
mStreamData.uTextureBlendColor.SetFlt(blendColor[0], blendColor[1], blendColor[2], blendColor[3]);
|
||||||
|
}
|
||||||
|
|
||||||
void SetFog(PalEntry c, float d)
|
void SetFog(PalEntry c, float d)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue