Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3655 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Mar 26, 2005, 3:28:39 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: moved protoclass to folder proto
added protosingleton
added resourceManager
modiefied some stuff to work better

Location:
orxonox/trunk/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r3654 r3655  
    2222#include "track_manager.h"
    2323#include "objModel.h"
     24#include "resource_manager.h"
    2425#include "weapon.h"
    2526#include "test_gun.h"
     
    4445     the player.cc for debug also
    4546  */
    46   this->model = new OBJModel("../data/models/reaplow.obj");
     47  this->model = (Model*) ResourceManager::load("../data/models/reaplow.obj", OBJ);
    4748  travelSpeed = 15.0;
    4849  velocity = new Vector();
  • orxonox/trunk/src/world_entities/player.h

    r3620 r3655  
    1010
    1111template<class T> class tList;
    12 class OBJModel;
    1312class Weapon;
    1413class Vector;
  • orxonox/trunk/src/world_entities/world_entity.h

    r3608 r3655  
    1212//class CollisionCluster;
    1313class CharacterAttributes;
    14 class OBJModel;
     14class Model;
    1515
    1616
     
    4848 
    4949 protected:
    50   OBJModel* model;                  //!< The model that should be loaded for this entity.
     50  Model* model;                  //!< The model that should be loaded for this entity.
    5151  CharacterAttributes* charAttr;      //!< the character attributes of a world_entity
    5252 
Note: See TracChangeset for help on using the changeset viewer.