Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/console.cc12
-rw-r--r--src/client/console.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index 80b6224..3b94b4d 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -24,21 +24,21 @@ namespace client {
const float DEFAULT_CONSOLE_HEIGHT = 0.7f;
const size_t DEFAULT_MAX_HISTO_LINES = 512;
+// the global console buffer object
+ConsoleBuffer Console::con_buffer;
+
/* -- ConsoleBuffer ------------------------------------------------ */
-ConsoleBuffer::ConsoleBuffer()
+ConsoleBuffer::ConsoleBuffer() : sys::ConsoleInterface()
{
- con_print << "^BInitializing console..." << std::endl;
+ //con_print << "^BInitializing console..." << std::endl;
}
ConsoleBuffer::~ConsoleBuffer()
{
- con_print << "^BShutting down console..." << std::endl;
+ //con_print << "^BShutting down console..." << std::endl;
}
-// the global console buffer object
-ConsoleBuffer Console::con_buffer;
-
//--- Console -----------------------------------------------------
Console::Console(ui::Widget *parent) : ui::Window(parent)
diff --git a/src/client/console.h b/src/client/console.h
index 7400c32..c567d70 100644
--- a/src/client/console.h
+++ b/src/client/console.h
@@ -21,7 +21,7 @@ namespace client {
class ConsoleBuffer : public sys::ConsoleInterface {
public:
ConsoleBuffer();
- ~ConsoleBuffer();
+ virtual ~ConsoleBuffer();
};
/* -- class Console ------------------------------------------------ */