From babef2ec1d88b6057b0e17bf1c04dfa3c9d0d5a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 27 Oct 2007 13:17:31 +0000 Subject: conditional -DDEBUG messages --- src/client/client.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/client/client.cc') diff --git a/src/client/client.cc b/src/client/client.cc index 14e6bb5..f146a8f 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -17,11 +17,16 @@ namespace client { +// public instances Camera camera; View view; Video video; Input input; +// private instance of the client console object +Console clientconsole; + + void quit(int status) { SDL_Quit(); @@ -30,12 +35,9 @@ void quit(int status) void init() { - // initialize console - Console clientconsole; + // set clientconsole as the common console object common::Console::instance = &clientconsole; - conmesg << "Project::OSiRiON " << OSIRION_VERSION << std::endl; - // Initialize the video subsystem video.init(); if (!video.initialized) { -- cgit v1.2.3