there is now a player character and the world renders using a cammera
This commit is contained in:
24
source/server_source/game_client.h
Normal file
24
source/server_source/game_client.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef GAME_CLIENT_H
|
||||
#define GAME_CLIENT_H
|
||||
|
||||
#include "transactions.h"
|
||||
|
||||
typedef struct {
|
||||
const char* ip;
|
||||
int port;
|
||||
int id;
|
||||
} server_info;
|
||||
|
||||
typedef struct {
|
||||
int socket;
|
||||
server_info info;
|
||||
}game_server;
|
||||
|
||||
int Connect(game_server* gs);
|
||||
|
||||
int Send(game_server* gs,packet* packet);
|
||||
int Recive(game_server* gs, packet* pakcet);
|
||||
|
||||
int Disconnect(game_server* gs);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user