From d198b7b8d9ff713d891f35ab173d1f428f610e7d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 16 Feb 2008 14:31:02 +0000 Subject: code cleanup --- src/core/core.h | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'src/core/core.h') diff --git a/src/core/core.h b/src/core/core.h index 0fc7e8d..4e2af22 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -7,33 +7,21 @@ #ifndef __INCLUDED_CORE_H__ #define __INCLUDED_CORE_H__ -#include "core/entity.h" -#include "core/player.h" -#include "core/gameinterface.h" #include "core/application.h" #include "core/commandbuffer.h" #include "core/cvar.h" +#include "core/entity.h" #include "core/func.h" +#include "core/gameinterface.h" +#include "core/netserver.h" +#include "core/netclient.h" +#include "core/netconnection.h" +#include "core/player.h" /// core contains the basic functionality of the engine namespace core { -/// pointer to the current GameInterface -GameInterface *game(); - -/// pointer to the current ApplicationInterface -Application *application(); - -/// broadcast a network message to all connected clients -void net_broadcast(std::ostringstream &osstream, int ignoreplayer=-1); - -/// send a network message to a player -void net_send(Player &player, std::ostringstream &osstream); - -/// send a network message to a player -void net_send(Player &player, std::string message); - } #endif // __INCLUDED_CORE_H__ -- cgit v1.2.3