[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/usata.cpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/usata.cpp |
Date: |
Tue, 01 Mar 2005 19:27:13 -0500 |
Index: usata2/src/usata.cpp
diff -u usata2/src/usata.cpp:1.25 usata2/src/usata.cpp:1.26
--- usata2/src/usata.cpp:1.25 Fri Feb 25 19:50:47 2005
+++ usata2/src/usata.cpp Wed Mar 2 00:27:11 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: usata.cpp,v 1.25 2005/02/25 19:50:47 skunix Exp $
+// $Id: usata.cpp,v 1.26 2005/03/02 00:27:11 skunix Exp $
#include "usata.hpp"
#include "config.hpp"
@@ -113,6 +113,11 @@
input_manager(new input::Manager)
{
+
+ log::BufferedStream logstream;
+ boost::format vstring("(version %1%)");
+
+ logstream << "Usata initializing " << vstring%PROGRAM_VERSION <<
log::commit;
input_manager->add_driver(input::default_driver());
input_manager->quit_signal.connect(boost::bind(&Usata::on_quit, this));
@@ -173,8 +178,6 @@
updated=true;
scene_manager->update();
}
- if (cnt > 560)
- quit=true;
if (updated)
{
@@ -190,10 +193,6 @@
int
Usata::run()
{
- log::BufferedStream logstream;
- boost::format vstring("(version %1%)");
-
- logstream << "Usata initializing " << vstring%PROGRAM_VERSION <<
log::commit;
setup_video();
boost::filesystem::path datapath = find_data();
// FIXME: catch exceptions
@@ -201,9 +200,8 @@
mSceneLoader.reset( new SceneLoader(datapath) );
mSceneLoader->load("start.xml");
-
- GuiNode::create(scene_manager.get());
boost::thread::yield();
+ GuiNode::create(scene_manager.get());
return loop();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Usata-commits] Changes to usata2/src/usata.cpp,
David Lau <=