Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2009, 10:38:48 PM (16 years ago)
Author:
landauf
Message:

Added CMakeLists, ObjectsPrereqs.h and _ObjectsExport
Changed Paths in the files of the objects module
Compiles now again

Btw, I had to link the objects module into the weaponsystem module because the projectile is hardcoded at the moment and therefore needs a collision shape. This will be changed somewhen in the future.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries2/src/modules/objects/Planet.cc

    r5728 r5730  
    3737#include "core/XMLPort.h"
    3838#include "objects/Scene.h"
    39 #include "Camera.h"
     39#include "objects/worldentities/Camera.h"
    4040#include "CameraManager.h"
    4141
    4242namespace orxonox
    4343{
    44     CreateFactory(Planet);   
     44    CreateFactory(Planet);
    4545
    4646    /**
     
    6060        if (this->isInitialized() && this->mesh_.getEntity())
    6161            this->detachOgreObject(this->mesh_.getEntity());
    62     }   
     62    }
    6363
    6464    void Planet::tick(float dt)
     
    107107        billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->atmosphere_, Vector3(0,0,0));
    108108
    109         this->attachOgreObject(this->billboard_.getBillboardSet());   
     109        this->attachOgreObject(this->billboard_.getBillboardSet());
    110110        this->billboard_.getBillboardSet()->setUseAccurateFacing(true);
    111111        this->setCastShadows(true);
     
    148148        {
    149149            XMLPortParam(Planet, "atmosphere", setAtmosphere, getAtmosphere, xmlelement, mode).defaultValues("planet/Atmosphere");
    150             XMLPortParam(Planet, "atmospheresize", setAtmosphereSize, getAtmosphereSize, xmlelement,mode);     
    151             XMLPortParam(Planet, "imagesize", setImageSize, getImageSize, xmlelement,mode);         
     150            XMLPortParam(Planet, "atmospheresize", setAtmosphereSize, getAtmosphereSize, xmlelement,mode);
     151            XMLPortParam(Planet, "imagesize", setImageSize, getImageSize, xmlelement,mode);
    152152            XMLPortParam(Planet, "mesh", setMeshSource, getMeshSource, xmlelement, mode);
    153153            XMLPortParam(Planet, "shadow", setCastShadows, getCastShadows, xmlelement, mode).defaultValues(true);
Note: See TracChangeset for help on using the changeset viewer.