mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
Expose blackcol variable, containing the palette index closest to #000000
Backported from PCExhumed. git-svn-id: https://svn.eduke32.com/eduke32@8433 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
120a2b4ca7
commit
6eec629cfd
2 changed files with 1 additions and 2 deletions
|
@ -510,7 +510,7 @@ EXTERN char *palookup[MAXPALOOKUPS];
|
||||||
extern uint8_t *basepaltable[MAXBASEPALS];
|
extern uint8_t *basepaltable[MAXBASEPALS];
|
||||||
EXTERN uint8_t paletteloaded;
|
EXTERN uint8_t paletteloaded;
|
||||||
EXTERN char *blendtable[MAXBLENDTABS];
|
EXTERN char *blendtable[MAXBLENDTABS];
|
||||||
EXTERN uint8_t whitecol, redcol;
|
EXTERN uint8_t whitecol, redcol, blackcol;
|
||||||
|
|
||||||
EXTERN int32_t maxspritesonscreen;
|
EXTERN int32_t maxspritesonscreen;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ palette_t curpalette[256]; // the current palette, unadjusted for brightness o
|
||||||
palette_t curpalettefaded[256]; // the current palette, adjusted for brightness and tint (ie. what gets sent to the card)
|
palette_t curpalettefaded[256]; // the current palette, adjusted for brightness and tint (ie. what gets sent to the card)
|
||||||
palette_t palfadergb = { 0, 0, 0, 0 };
|
palette_t palfadergb = { 0, 0, 0, 0 };
|
||||||
char palfadedelta = 0;
|
char palfadedelta = 0;
|
||||||
uint8_t blackcol;
|
|
||||||
|
|
||||||
int32_t realmaxshade;
|
int32_t realmaxshade;
|
||||||
float frealmaxshade;
|
float frealmaxshade;
|
||||||
|
|
Loading…
Reference in a new issue