mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2025-03-01 17:25:28 +00:00
Mess_UnloadFont
This commit is contained in:
parent
7d9bca6f9a
commit
02eb3ab753
@ -95,6 +95,10 @@ void FontManager::AllShadowOn(void)
|
||||
}
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void FontManager::UnloadFont(Font*)
|
||||
{}
|
||||
|
||||
void validate_Font(void)
|
||||
{
|
||||
VALIDATE_SIZE(Font, 0x160);
|
||||
|
@ -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
|
||||
|
8
mess.cpp
8
mess.cpp
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user