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')
-rw-r--r--src/server/application.cc1
-rw-r--r--src/server/console.cc4
-rw-r--r--src/server/console.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/src/server/application.cc b/src/server/application.cc
index 0d3fe4b..ee5f32f 100644
--- a/src/server/application.cc
+++ b/src/server/application.cc
@@ -9,6 +9,7 @@
#include "server/application.h"
#include "server/timer.h"
#include "core/core.h"
+#include "game/game.h"
namespace server {
diff --git a/src/server/console.cc b/src/server/console.cc
index 3df0e09..a2e8503 100644
--- a/src/server/console.cc
+++ b/src/server/console.cc
@@ -18,6 +18,10 @@ std::ostream & Console::warningstream()
{
return std::cerr;
}
+std::ostream & Console::errorstream()
+{
+ return std::cerr;
+}
std::ostream & Console::debugstream()
{
diff --git a/src/server/console.h b/src/server/console.h
index 34166be..a5f45c3 100644
--- a/src/server/console.h
+++ b/src/server/console.h
@@ -20,6 +20,9 @@ public:
/// stream to send warning messages too
virtual std::ostream & warningstream();
+ /// stream to send warning messages too
+ virtual std::ostream & errorstream();
+
/// stream to send debug messages too
virtual std::ostream & debugstream();