diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-10 16:41:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-10 16:41:38 +0000 |
commit | 02fcd22d8cde355aa898a8c6bb4773d9434b8e9a (patch) | |
tree | 9397f1f5b61a0978acadc4c15fd330ee7138c59b /src/client/client.cc | |
parent | 4331f5c17901f46693dcb5c2df96276f6851be25 (diff) |
adds KeyPress, DevInfo and Stats widgets
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index e9bfba8..81aba9d 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -108,6 +108,7 @@ void Client::init(int count, char **arguments) // initialize user interface ui::init(); + new View(ui::root()); // Initialize the video subsystem if (!video::init()) { @@ -191,14 +192,14 @@ void Client::frame(float seconds) if (core::application()->load("intro")) { core::application()->connect(""); } - // if all fails, show the console + // show the console if everything fails if (!core::application()->connected() && !console()->visible()) { console()->toggle(); } } else { // show the main menu on non-interactive modules if (!core::game()->interactive() && !ui::root()->active()) { - ui::root()->show_window("main"); + ui::root()->show_window("main"); } } |