Cleanup palette.h

See #42
This commit is contained in:
Alexander Batalov 2022-06-19 18:56:23 +03:00
parent b1a85de08b
commit bfc6fb04f4
2 changed files with 5 additions and 6 deletions

View File

@ -8,8 +8,10 @@
#include <string.h>
static void _palette_reset_();
// 0x6639D0
unsigned char gPalette[256 * 3];
static unsigned char gPalette[256 * 3];
// 0x663CD0
unsigned char gPaletteWhite[256 * 3];
@ -18,7 +20,7 @@ unsigned char gPaletteWhite[256 * 3];
unsigned char gPaletteBlack[256 * 3];
// 0x6642D0
int gPaletteFadeSteps;
static int gPaletteFadeSteps;
// 0x493A00
void paletteInit()
@ -55,7 +57,7 @@ void paletteInit()
// NOTE: Collapsed.
//
// 0x493AD0
void _palette_reset_()
static void _palette_reset_()
{
}

View File

@ -1,13 +1,10 @@
#ifndef PALETTE_H
#define PALETTE_H
extern unsigned char gPalette[256 * 3];
extern unsigned char gPaletteWhite[256 * 3];
extern unsigned char gPaletteBlack[256 * 3];
extern int gPaletteFadeSteps;
void paletteInit();
void _palette_reset_();
void paletteReset();
void paletteExit();
void paletteFadeTo(unsigned char* palette);