Cleanup grayscale.h

See #42
This commit is contained in:
Alexander Batalov 2022-06-18 16:56:42 +03:00
parent 54da5ffe36
commit a6eb844fa2
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,7 @@
#include <algorithm>
// 0x596D90
unsigned char _GreyTable[256];
static unsigned char _GreyTable[256];
// 0x44FA78
void grayscalePaletteUpdate(int a1, int a2)

View File

@ -1,8 +1,6 @@
#ifndef GRAYSCALE_H
#define GRAYSCALE_H
extern unsigned char _GreyTable[256];
void grayscalePaletteUpdate(int a1, int a2);
void grayscalePaletteApply(unsigned char* surface, int width, int height, int pitch);