Mess_UnloadFont

This commit is contained in:
krystalgamer 2024-05-28 20:20:39 +02:00
parent 7d9bca6f9a
commit 02eb3ab753
3 changed files with 16 additions and 0 deletions

View File

@ -95,6 +95,10 @@ void FontManager::AllShadowOn(void)
}
}
// @TODO
void FontManager::UnloadFont(Font*)
{}
void validate_Font(void)
{
VALIDATE_SIZE(Font, 0x160);

View File

@ -34,7 +34,11 @@ class FontManager
EXPORT static char* GetFontName(Font*);
EXPORT static void AllShadowOff(void);
EXPORT static void AllShadowOn(void);
EXPORT static void UnloadFont(Font*);
};
static Font* FontRelated;
void validate_Font(void);
#endif

View File

@ -1,4 +1,5 @@
#include "mess.h"
#include "FontTools.h"
static unsigned char gTextJustify;
@ -25,3 +26,10 @@ void Mess_SetRGBBottom(unsigned char a2, unsigned char a3, unsigned char a4)
{
gRGBBottom = a2 | (a3 << 8) | (a4 << 16);
}
// @NotOk
// global
void Mess_UnloadFont(void)
{
FontManager::UnloadFont(FontRelated);
}