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();
|
2018-01-18 15:24:26 +01:00
|
|
|
void HIGHSCORES_GenerateTexture(SDL_Renderer * renderer);
|
2018-01-18 16:05:42 +01:00
|
|
|
void HIGHSCORES_DrawText(char * text, SDL_Rect * Message_rect);
|
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
|