Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/server.h')
-rw-r--r--src/server/server.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/server/server.h b/src/server/server.h
index 1f839a5..14d1d4b 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -7,16 +7,23 @@
#ifndef __INCLUDED_SERVER_H__
#define __INCLUDED_SERVER_H__
-#include "server/timer.h"
+#include "server/application.h"
#include "server/console.h"
+#include "game/game.h"
+/// contains classes and functions to run a dedicated server
namespace server {
- /// initialize the server
- void init();
- /// run the server
- void run();
- /// shutdown the server
- void shutdown();
-}
+
+/// global server application instance
+extern Application application;
+
+/// global server console instance
+extern Console console;
+
+/// global Game instance
+extern game::Game game;
+
+} // namespace server
#endif // __INCLUDED_SERVER_H__
+