Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-16 14:31:02 +0000
committerStijn Buys <ingar@osirion.org>2008-02-16 14:31:02 +0000
commitd198b7b8d9ff713d891f35ab173d1f428f610e7d (patch)
tree6a1f76ee5788ee3dfac858e2c8233207637c01bc /src/core/core.h
parentd6ee7ec642cc6b3097c8d321a1a00630e24027d1 (diff)
code cleanup
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h24
1 files changed, 6 insertions, 18 deletions
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__