working on adding a entity workflow
This commit is contained in:
25
source/game_source/engine.h
Normal file
25
source/game_source/engine.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user