Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 22, 2005, 11:15:54 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: some changes in the storyentity framework: added a preLoad() function, since there is some stuff to be initialized before load(). written some comments to level loading doxygen stuff. now the worldinterface works

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

Legend:

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

    r3618 r3629  
    4242Projectile::~Projectile ()
    4343{
    44 
     44  /*
     45     do not delete the test projectModel, since it is pnode
     46     and will be cleaned out by world
     47  */
     48  //delete this->projectileModel;
    4549}
    4650
     
    7882  this->getAbsDir().matrix (matrix);
    7983  glMultMatrixf((float*)matrix); 
    80   this->model->draw();
     84  //this->model->draw();
     85  PRINTF(1)("draw draw draw draw draw draw \n");
     86  this->projectileModel->draw();
    8187
    8288  glPopMatrix();
  • orxonox/trunk/src/world_entities/test_gun.cc

    r3620 r3629  
    2525
    2626#include "vector.h"
     27#include "list.h"
    2728
    2829using namespace std;
     
    7778{
    7879  printf("TestGun::fire() - firing weapon now ---------------------------\n");
    79   //this->myWorld;
     80  //WorldEntity* pj = new Projectile();
     81  //this->worldEntities->add(pj);
    8082}
    8183
  • orxonox/trunk/src/world_entities/weapon.h

    r3620 r3629  
    6969  virtual void draw(void);
    7070
     71 protected:
     72  tList<WorldEntity>* worldEntities;
    7173
    7274 private:
     
    7678  Projectile* projectile;
    7779  //WeaponSound sound;
    78   tList<WorldEntity>* worldEntities;
    79 
    8080};
    8181
Note: See TracChangeset for help on using the changeset viewer.