working server and gameloop
This commit is contained in:
11
game.h
11
game.h
@@ -1,6 +1,9 @@
|
||||
#ifndef GAME_H
|
||||
#define GAME_H 1
|
||||
|
||||
#include "network/networking.h"
|
||||
|
||||
|
||||
// Setup game board
|
||||
#define TOP_ROW 4
|
||||
#define BOT_ROW 21
|
||||
@@ -16,8 +19,16 @@ typedef struct
|
||||
|
||||
} GameData;
|
||||
|
||||
void SetupTermWin();
|
||||
void CloseTermWin();
|
||||
|
||||
void CreateGameServer(Server* serv,GameData*gd);
|
||||
void RunGameClient(Client* c);
|
||||
|
||||
void DrawWalls(GameData);
|
||||
void DrawHeader(GameData);
|
||||
|
||||
void MGameAlert(int y, int x, char* str);
|
||||
void GameAlert(char* str);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user