Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2005, 12:59:06 AM (19 years ago)
Author:
patrick
Message:

christmas: link error

Location:
branches/christmas_branche/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/Makefile.am

    r6166 r6170  
    5050                 test_entity.h \
    5151                 space_ships/space_ship.h \
    52                  creatures/md2_creature.h \
     52                 creatures/md2_creature.cc \
    5353                 weapons/weapon_manager.h \
    5454                 weapons/weapon.h \
  • branches/christmas_branche/src/world_entities/creatures/md2_creature.cc

    r6167 r6170  
    2121
    2222#include "objModel.h"
     23#include "md2Model.h"
    2324#include "resource_manager.h"
    2425
     
    112113  PRINTF(4)("SPACESHIP INIT\n");
    113114
    114   EventHandler::getInstance()->grabEvents(true);
     115//   EventHandler::getInstance()->grabEvents(true);
    115116
    116117  bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false;
     
    253254{
    254255
     256  if( likely(this->models[0] != NULL))
     257    ((MD2Model*)this->models[0])->tick(time);
     258
     259
    255260  // MD2Creature controlled movement
    256261  this->calculateVelocity(time);
  • branches/christmas_branche/src/world_entities/world_entity.h

    r6169 r6170  
    7272  /** @returns a Reference to the Iterator */
    7373  std::list<WorldEntity*>::iterator& getEntityIterator() { return this->objectListIterator; }
     74
     75
    7476 protected:
    7577  //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
     78   std::vector<Model*>     models;             //!< The model that should be loaded for this entity.
    7679
    7780 private:
    78   std::vector<Model*>     models;             //!< The model that should be loaded for this entity.
    7981  bool                    supportsLOD;        //!< If this model format supports LOD (level of detail) this is true
    8082  BVTree*                 obbTree;            //!< this is the obb tree reference needed for collision detection
Note: See TracChangeset for help on using the changeset viewer.