2018-01-15 15:42:14 +01:00
|
|
|
#ifndef __highscores_h__
|
|
|
|
#define __highscores_h__
|
|
|
|
|
|
|
|
// Structs
|
|
|
|
typedef struct userStruct {
|
2018-01-15 23:47:39 +01:00
|
|
|
char Username[50], Score[30];
|
2018-01-15 15:42:14 +01:00
|
|
|
} User;
|
|
|
|
// End Structs
|
|
|
|
|
2018-01-15 23:47:39 +01:00
|
|
|
// Prototypes
|
|
|
|
void HIGHSCORES_Initialize();
|
|
|
|
void printFontStyle(TTF_Font * ffont);
|
|
|
|
void HIGHSCORES_Draw(SDL_Renderer * renderer);
|
|
|
|
void HIGHSCORES_Deinitialize();
|
|
|
|
void HIGHSCORES_GenerateTexture(SDL_Renderer * renderer, char * text);
|
2018-01-16 12:10:37 +01:00
|
|
|
void HIGHSCORES_ReloadList();
|
2018-01-15 23:47:39 +01:00
|
|
|
// End Prototypes
|
|
|
|
|
2018-01-15 15:42:14 +01:00
|
|
|
#endif
|