Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 10, 2005, 6:39:18 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: redesigning directory structure - created lib and added all importand classes, did exclude collision.* since i couldnt integrate it into the new pnode model (have to do this with fuzzy)

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

Legend:

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

    r3471 r3474  
    1818#include "player.h"
    1919#include "stdincl.h"
    20 #include "collision.h"
     20//#include "collision.h"
    2121#include "importer/objModel.h"
    2222
     
    7676  bFire = false;
    7777  acceleration = 10.0;
    78   setCollision(new CollisionCluster(1.0, Vector(0,0,0)));
     78  //setCollision(new CollisionCluster(1.0, Vector(0,0,0)));
    7979}
    8080
  • orxonox/trunk/src/world_entities/world_entity.cc

    r3472 r3474  
    2020#include "world_entity.h"
    2121#include "stdincl.h"
    22 #include "collision.h"
     22//#include "collision.h"
    2323
    2424using namespace std;
     
    3838  this->setClassName ("WorldEntity");
    3939  this->bDraw = true;
    40   collisioncluster = NULL;
     40  //  collisioncluster = NULL;
    4141}
    4242
     
    4646WorldEntity::~WorldEntity ()
    4747{
    48   if( collisioncluster != NULL) delete collisioncluster;
     48  // if( collisioncluster != NULL) delete collisioncluster;
    4949}
    5050
     
    8585   Any previously assigned collision hull will be deleted on reassignment
    8686*/
     87/*
    8788void WorldEntity::setCollision (CollisionCluster* newhull)
    8889{
     
    9192  collisioncluster = newhull;
    9293}
    93 
     94*/
    9495
    9596/**
  • orxonox/trunk/src/world_entities/world_entity.h

    r3472 r3474  
    1010#include "p_node.h"
    1111
    12 class CollisionCluster;
     12//class CollisionCluster;
    1313class OBJModel;
    1414
     
    2424  OBJModel* model;                  //!< The model that should be loaded for this entity.
    2525 
    26   void setCollision (CollisionCluster* newhull);
     26  //void setCollision (CollisionCluster* newhull);
    2727 
    2828  bool isFree ();
     
    4949  bool bDraw;                         //!< If it should be visible.
    5050
    51   CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity.
     51  //CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity.
    5252};
    5353
Note: See TracChangeset for help on using the changeset viewer.