From ca0c1d3e6f8b5fa4eb2e0a86fcf47b12fb600786 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 27 Sep 2008 17:16:15 +0000 Subject: mission targets, texture unloading, private messages --- src/render/camera.cc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/render/camera.cc') diff --git a/src/render/camera.cc b/src/render/camera.cc index e708b71..53d27f7 100644 --- a/src/render/camera.cc +++ b/src/render/camera.cc @@ -138,19 +138,22 @@ void Camera::view_next() case Free: // switch camera to Track mode set_mode(Track); - core::application()->notify_message(std::string("view: track")); + con_print << "view: track" << std::endl; + //core::application()->notify_message(core::Message::Info, std::string("view: track")); break; case Track: // switch camera to Cockpit mode set_mode(Cockpit); - core::application()->notify_message(std::string("view: cockpit")); + con_print << "view: cockpit" << std::endl; + //core::application()->notify_message(core::Message::Info, std::string("view: cockpit")); break; case Cockpit: // switch camera to Free mode set_mode(Free); - core::application()->notify_message(std::string("view: free")); + con_print << "view: free" << std::endl; + //core::application()->notify_message(core::Message::Info, std::string("view: free")); break; default: @@ -170,19 +173,22 @@ void Camera::view_previous() case Cockpit: // switch camera to Track mode set_mode(Track); - core::application()->notify_message(std::string("view: track")); + con_print << "view: track" << std::endl; + //core::application()->notify_message(std::string("view: track")); break; case Free: // switch camera to Cockpit mode set_mode(Cockpit); - core::application()->notify_message(std::string("view: cockpit")); + con_print << "view: cockpit" << std::endl; + //core::application()->notify_message(std::string("view: cockpit")); break; case Track: // switch camera to Free mode set_mode(Free); - core::application()->notify_message(std::string("view: free")); + con_print << "view: free" << std::endl; + //core::application()->notify_message(std::string("view: free")); break; default: -- cgit v1.2.3