breakout/highscores.h
2018-01-29 21:26:48 +01:00

24 lines
662 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);
bool HIGHSCORES_Login(char * username, char * password);
bool HIGHSCORES_Register(char * username, char * password);
void HIGHSCORES_ReloadList();
// End Prototypes
#endif