Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 3:39:35 PM (16 years ago)
Author:
runom
Message:

Added planets class

Location:
code/branches/lod/src/orxonox
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lod/src/orxonox/CMakeLists.txt

    r1844 r2053  
    5757  objects/Tickable.cc
    5858  objects/WorldEntity.cc
     59  objects/Planet.cc
    5960
    6061  objects/Projectile.cc
     
    9394    objects/SpaceShip.cc
    9495    objects/WorldEntity.cc
     96    objects/Planet.cc
    9597  )
    9698
  • code/branches/lod/src/orxonox/OrxonoxPrereqs.h

    r1755 r2053  
    9191    class SpaceShipAI;
    9292    class WorldEntity;
     93    class Planet;
    9394
    9495    class Projectile;
  • code/branches/lod/src/orxonox/OrxonoxStableHeaders.h

    r1841 r2053  
    4646#endif
    4747#include <Ogre.h>
     48#include <OgreProgressiveMesh.h>
    4849#include <CEGUI.h>
    4950#include <boost/thread/recursive_mutex.hpp>
  • code/branches/lod/src/orxonox/gamestates/GSLevel.cc

    r1934 r2053  
    3838#include "core/CommandExecutor.h"
    3939#include "core/ConsoleCommand.h"
    40 #include "core/CommandLine.h"
    4140#include "core/ConfigValueIncludes.h"
    4241#include "core/CoreIncludes.h"
     
    5049namespace orxonox
    5150{
    52     SetCommandLineArgument(level, "sample.oxw").setShortcut("l");
    53 
    5451    GSLevel::GSLevel(const std::string& name)
    5552        : GameState<GSGraphics>(name)
     
    160157        // call the loader
    161158        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");
    165160        Loader::open(startLevel_);
    166161    }
Note: See TracChangeset for help on using the changeset viewer.