Changeset 2053 for code/branches/lod/src/orxonox
- Timestamp:
 - Oct 29, 2008, 3:39:35 PM (17 years ago)
 - Location:
 - code/branches/lod/src/orxonox
 - Files:
 - 
          
- 2 added
 - 4 edited
 
- 
          CMakeLists.txt (modified) (2 diffs)
 - 
          OrxonoxPrereqs.h (modified) (1 diff)
 - 
          OrxonoxStableHeaders.h (modified) (1 diff)
 - 
          gamestates/GSLevel.cc (modified) (3 diffs)
 - 
          objects/Planet.cc (added)
 - 
          objects/Planet.h (added)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
code/branches/lod/src/orxonox/CMakeLists.txt
r1844 r2053 57 57 objects/Tickable.cc 58 58 objects/WorldEntity.cc 59 objects/Planet.cc 59 60 60 61 objects/Projectile.cc … … 93 94 objects/SpaceShip.cc 94 95 objects/WorldEntity.cc 96 objects/Planet.cc 95 97 ) 96 98  - 
        
code/branches/lod/src/orxonox/OrxonoxPrereqs.h
r1755 r2053 91 91 class SpaceShipAI; 92 92 class WorldEntity; 93 class Planet; 93 94 94 95 class Projectile;  - 
        
code/branches/lod/src/orxonox/OrxonoxStableHeaders.h
r1841 r2053 46 46 #endif 47 47 #include <Ogre.h> 48 #include <OgreProgressiveMesh.h> 48 49 #include <CEGUI.h> 49 50 #include <boost/thread/recursive_mutex.hpp>  - 
        
code/branches/lod/src/orxonox/gamestates/GSLevel.cc
r1934 r2053 38 38 #include "core/CommandExecutor.h" 39 39 #include "core/ConsoleCommand.h" 40 #include "core/CommandLine.h"41 40 #include "core/ConfigValueIncludes.h" 42 41 #include "core/CoreIncludes.h" … … 50 49 namespace orxonox 51 50 { 52 SetCommandLineArgument(level, "sample.oxw").setShortcut("l");53 54 51 GSLevel::GSLevel(const std::string& name) 55 52 : GameState<GSGraphics>(name) … … 160 157 // call the loader 161 158 COUT(0) << "Loading level..." << std::endl; 162 std::string levelName; 163 CommandLine::getValue("level", &levelName); 164 startLevel_ = new Level(Settings::getDataPath() + std::string("levels/") + levelName); 159 startLevel_ = new Level(Settings::getDataPath() + "levels/sample.oxw"); 165 160 Loader::open(startLevel_); 166 161 }  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






