From dd70d90ba59a63672cd2f0086d85608139c410a6 Mon Sep 17 00:00:00 2001 From: "Martin Felis (berta)" Date: Tue, 6 Apr 2010 22:55:49 +0200 Subject: [PATCH] asteroids techdemo 10.04 --- asteroids/main.cc | 4 +++- engine/Engine.cc | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/asteroids/main.cc b/asteroids/main.cc index fcf4a1c..bd7038d 100644 --- a/asteroids/main.cc +++ b/asteroids/main.cc @@ -22,12 +22,14 @@ int main (int argc, char* argv[]) { engine.SetPhysics (new asteroids::Physics); engine.SetView (new asteroids::View); - SetLogPrintLevel (Engine::LogLevelMessage); + SetLogPrintLevel (Engine::LogLevelDebug); if (engine.Init (argc, argv) != 0) { cout << "Could not start engine!" << endl; exit (-1); } + + SDL_WM_SetCaption("Asteroids -TechDemo- 10.04","Asteroids"); engine.GetView()->SetGridSize (8,8); dynamic_cast(engine.GetPhysics())->SetWorldSize (28, 20); diff --git a/engine/Engine.cc b/engine/Engine.cc index 660792d..ead5d74 100644 --- a/engine/Engine.cc +++ b/engine/Engine.cc @@ -74,7 +74,6 @@ int Engine::OnInit (int argc, char* argv[]) { exit (-1); } - /* Model */ if (mModel == NULL) mModel = new ModelBase ();