mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- moved hictinting data into the lookup tables.
This commit is contained in:
parent
594ec6626c
commit
1bc744b77b
18 changed files with 150 additions and 246 deletions
|
@ -7,7 +7,6 @@
|
|||
#include "pragmas.h"
|
||||
#include "baselayer.h"
|
||||
#include "engine_priv.h"
|
||||
#include "hightile.h"
|
||||
#include "polymost.h"
|
||||
#include "mdsprite.h"
|
||||
#include "v_video.h"
|
||||
|
@ -1085,9 +1084,9 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
|
|||
|
||||
pc[0] = pc[1] = pc[2] = 1.f;
|
||||
|
||||
auto& h = hictinting[globalpal];
|
||||
if (h.f & (HICTINT_USEONART|HICTINT_ALWAYSUSEART))
|
||||
GLInterface.SetTinting(h.f, h.tint, h.tint);
|
||||
auto& h = lookups.tables[globalpal];
|
||||
if (h.tintFlags & (TINTF_USEONART|TINTF_ALWAYSUSEART))
|
||||
GLInterface.SetTinting(h.tintFlags, h.tintColor, h.tintColor);
|
||||
else
|
||||
GLInterface.SetTinting(-1, 0xffffff, 0xffffff);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue