Files
skevity/source/game_source/engine.h

26 lines
424 B
C

#ifndef ENGIN_H
#define ENGIN_H
typedef struct {
const char* username;
int userId;
int runs;
int hours;
int currentServerId;
} User;
typedef struct {
char username[256];
char password[256];
} AuthUser;
int GameInit(AuthUser* auth, User* user);
void GameRun(User* user);
void GameEnd();
void SetInput(char* buffer);
int GetInput(char* buffer);
int Render(char* outbuffer);
#endif // !ENGIN_H