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-13 00:40:59 +0000
committerStijn Buys <ingar@osirion.org>2008-02-13 00:40:59 +0000
commit1f95c377b2abfaa454b1f2298af10956d95ad941 (patch)
tree2715cf49a8de16921775eff0dc1ac0ceace145b2 /src/osirion.cc
parent468ab7f566ee493b8c7ff6a95763d99ed2ccc200 (diff)
split client from game module
Diffstat (limited to 'src/osirion.cc')
-rw-r--r--src/osirion.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/osirion.cc b/src/osirion.cc
index 058fe25..696104f 100644
--- a/src/osirion.cc
+++ b/src/osirion.cc
@@ -1,13 +1,21 @@
-/* client/main.cc
+/*
+ osirion.cc
This file is part of the Osirion project and is distributed under
the terms and conditions of the GNU General Public License version 2
*/
#include "client/client.h"
+#include "game/game.h"
int main(int count, char **arguments)
{
+ // preload the game object
+ game::Game *game = new game::Game();
+
client::main(count, arguments);
+
+ game = 0; // prevents variable not used warning
+
return 0;
}