22 lines
545 B
C
22 lines
545 B
C
#ifndef __highscores_h__
|
|
#define __highscores_h__
|
|
|
|
// Structs
|
|
typedef struct userStruct {
|
|
char Username[50], Score[30];
|
|
} User;
|
|
// End Structs
|
|
|
|
// Prototypes
|
|
void HIGHSCORES_Initialize();
|
|
void printFontStyle(TTF_Font * ffont);
|
|
void HIGHSCORES_Draw(SDL_Renderer * renderer);
|
|
void HIGHSCORES_Deinitialize();
|
|
void HIGHSCORES_GenerateTexture(SDL_Renderer * renderer);
|
|
void HIGHSCORES_DrawText(char * text, SDL_Rect * Message_rect);
|
|
bool HIGHSCORES_UploadScore(char * username, int score);
|
|
void HIGHSCORES_ReloadList();
|
|
// End Prototypes
|
|
|
|
#endif
|