1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-12-15 07:00:58 +01:00

Score: inject 3DPB msg font into dat struct.

Fixed double free in sound.
This commit is contained in:
Muzychenko Andrey 2021-10-10 12:22:21 +03:00
parent 43593b168d
commit 69ecce88df
8 changed files with 117 additions and 141 deletions

View file

@ -17,15 +17,7 @@ struct score_msg_font_type
{
int GapWidth;
int Height;
gdrv_bitmap8* Chars[128];
};
struct score_font_rc
{
short Header0;
short Header1;
short Height;
char SomeLen[128];
gdrv_bitmap8* Chars[128]{};
};
@ -42,8 +34,4 @@ public:
static void set(scoreStruct* score, int value);
static void update(scoreStruct* score);
static void string_format(int score, char* str);
static void ApplyPalette();
private :
static void load_msg_font_3DPB(LPCSTR lpName);
static void load_msg_font_FT(LPCSTR lpName);
};