diff --git a/source/build/include/build.h b/source/build/include/build.h index 30acb47cc..28f1e5db1 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -510,7 +510,7 @@ EXTERN char *palookup[MAXPALOOKUPS]; extern uint8_t *basepaltable[MAXBASEPALS]; EXTERN uint8_t paletteloaded; EXTERN char *blendtable[MAXBLENDTABS]; -EXTERN uint8_t whitecol, redcol; +EXTERN uint8_t whitecol, redcol, blackcol; EXTERN int32_t maxspritesonscreen; diff --git a/source/build/src/palette.cpp b/source/build/src/palette.cpp index 857e80ff1..d91079a59 100644 --- a/source/build/src/palette.cpp +++ b/source/build/src/palette.cpp @@ -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 palfadergb = { 0, 0, 0, 0 }; char palfadedelta = 0; -uint8_t blackcol; int32_t realmaxshade; float frealmaxshade;