From 9d632dd826c8a312095de0f56df66b2580d336cb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 6 Jul 2008 11:21:21 +0000 Subject: major update. server clean up and much added documentation --- src/game/g_game.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/game/g_game.hpp') diff --git a/src/game/g_game.hpp b/src/game/g_game.hpp index 7ab8df40..61342d76 100644 --- a/src/game/g_game.hpp +++ b/src/game/g_game.hpp @@ -7,7 +7,7 @@ #include #include "g_math.hpp" #include "g_collision.hpp" -#include "g_protocol.hpp" +#include struct TUNING_PARAMS { @@ -114,14 +114,14 @@ class WORLD_CORE public: WORLD_CORE() { - mem_zero(players, sizeof(players)); + mem_zero(characters, sizeof(characters)); } TUNING_PARAMS tuning; - class PLAYER_CORE *players[MAX_CLIENTS]; + class CHARACTER_CORE *characters[MAX_CLIENTS]; }; -class PLAYER_CORE +class CHARACTER_CORE { public: WORLD_CORE *world; @@ -144,8 +144,8 @@ public: void tick(); void move(); - void read(const NETOBJ_PLAYER_CORE *obj_core); - void write(NETOBJ_PLAYER_CORE *obj_core); + void read(const NETOBJ_CHARACTER_CORE *obj_core); + void write(NETOBJ_CHARACTER_CORE *obj_core); void quantize(); }; -- cgit 1.4.1