Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2053


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

Added planets class

Location:
code/branches/lod
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lod/bin/def_keybindings.ini

    r1887 r2053  
    254254
    255255[MouseAxes]
    256 MouseXNeg="scale 1 moveYaw"
    257 MouseXPos="scale -1 moveYaw"
    258 MouseYNeg="scale 1 movePitch"
    259 MouseYPos="scale -1 movePitch"
     256MouseXNeg=
     257MouseXPos=
     258MouseYNeg=
     259MouseYPos=
    260260
  • code/branches/lod/src/core/XMLPort.h

    r1889 r2053  
    468468                            for (ticpp::Iterator<ticpp::Element> child = xmlsubelement->FirstChildElement(false); child != child.end(); child++)
    469469                            {
     470                                COUT(2) << child->Value() << std::endl;
    470471                                Identifier* identifier = ClassByName(child->Value());
    471472                                if (identifier)
  • code/branches/lod/src/core/input/InputManager.cc

    r1934 r2053  
    4747#include "core/CommandExecutor.h"
    4848#include "core/ConsoleCommand.h"
    49 #include "core/CommandLine.h"
    5049#include "util/Debug.h"
    5150
     
    6362    SetConsoleCommand(InputManager, calibrate, true);
    6463    SetConsoleCommand(InputManager, reload, false);
    65     SetCommandLineSwitch(keyboard_no_grab);
    6664
    6765    std::string InputManager::bindingCommmandString_s = "";
     
    155153#if defined OIS_LINUX_PLATFORM
    156154            paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
    157             paramList.insert(std::make_pair(std::string("x11_mouse_grab"), "true"));
    158             paramList.insert(std::make_pair(std::string("x11_mouse_hide"), "true"));
    159             bool kbNoGrab;
    160             CommandLine::getValue("keyboard_no_grab", &kbNoGrab);
    161             if (kbNoGrab)
    162                 paramList.insert(std::make_pair(std::string("x11_keyboard_grab"), std::string("false")));
    163             else
    164                 paramList.insert(std::make_pair(std::string("x11_keyboard_grab"), std::string("true")));
    165155#endif
    166156
  • 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    }
  • code/branches/lod/src/util/OrxonoxPlatform.h

    r1921 r2053  
    137137}
    138138
    139 //-----------------------------------------------------------------------
    140 // Version Information
    141 //-----------------------------------------------------------------------
    142 
    143 #define ORXONOX_VERSION_MAJOR 0
    144 #define ORXONOX_VERSION_MINOR 1
    145 #define ORXONOX_VERSION_PATCH 2
    146 #define ORXONOX_VERSION_SUFFIX ""
    147 #define ORXONOX_VERSION_NAME "Bellatrix"
    148 
    149 #define ORXONOX_VERSION ((ORXONOX_VERSION_MAJOR << 16) | (ORXONOX_VERSION_MINOR << 8) | ORXONOX_VERSION_PATCH)
    150139
    151140
Note: See TracChangeset for help on using the changeset viewer.