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>2012-11-18 21:54:47 +0000
committerStijn Buys <ingar@osirion.org>2012-11-18 21:54:47 +0000
commit5d959c5ba476eb0b103fe5953cca69939a6d836a (patch)
tree81015c1b3b62c0de1dcdeb9c2eda2ac67b7a74ea /src/game/game.cc
parent0b54403c6ac20f2cdd1454e90e9006379f374ec0 (diff)
Log dedicated server console messages to server.log,
print version number and command line to console on startup.
Diffstat (limited to 'src/game/game.cc')
-rw-r--r--src/game/game.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/game.cc b/src/game/game.cc
index b7c15db..c863582 100644
--- a/src/game/game.cc
+++ b/src/game/game.cc
@@ -4,7 +4,7 @@
the terms of the GNU General Public License version 2
*/
-
+#include "core/core.h"
#include "core/loader.h"
#include "game/game.h"
#include "game/base/game.h"
@@ -15,6 +15,8 @@
/// register game modules
void register_modules(bool register_noninteractive_modules)
{
+ con_print << "^F" << core::name() << " " << core::version() << std::endl;
+
con_print << "^BRegistering game modules..." << std::endl;
// interactive modules