diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-13 00:40:59 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-13 00:40:59 +0000 |
commit | 1f95c377b2abfaa454b1f2298af10956d95ad941 (patch) | |
tree | 2715cf49a8de16921775eff0dc1ac0ceace145b2 /src/osirion.cc | |
parent | 468ab7f566ee493b8c7ff6a95763d99ed2ccc200 (diff) |
split client from game module
Diffstat (limited to 'src/osirion.cc')
-rw-r--r-- | src/osirion.cc | 10 |
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; } |