From d3477eedc113a2c126f36f41384b8921d610906a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 8 Feb 2008 19:24:12 +0000 Subject: updated filesystem, removed inifile, updated game and tga loader minor cleanups --- src/game/game.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/game/game.cc') diff --git a/src/game/game.cc b/src/game/game.cc index 65e9450..f9c7aa4 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -21,10 +21,11 @@ namespace game bool Game::init() { using math::Vector3f; - using filesystem::IniFile; + //using filesystem::IniFile; con_print << "Initializing game..." << std::endl; + /* // read game.ini IniFile f; f.open("ini/game.ini"); @@ -90,14 +91,14 @@ bool Game::init() } f.close(); - /* + con_print << "Loading sectors..." << std::endl; for (unsigned n =0; n < sectors.size(); n++) con_print << " " << sectors[n]->label << " " << sectors[n]->name << std::endl; */ + star.location = Vector3f(256.0f, 0.0f, 256.0f); ship.location = Vector3f(0,0,0); - return true; } -- cgit v1.2.3