Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9518 in orxonox.OLD for branches/proxy/src/world_entities/weapons


Ignore:
Timestamp:
Jul 27, 2006, 6:58:04 PM (18 years ago)
Author:
bensch
Message:

targetting turrets are firing all the time now, but the hack is out :/

Location:
branches/proxy/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/weapons/aim.cc

    r9516 r9518  
    7171  this->range = 10000;
    7272  this->angle = M_PI_4;
    73   this->targetGroup = OM_GROUP_02_PROJ;
     73  this->targetGroup = OM_GROUP_01;
    7474  this->anim = new tAnimation<Aim>(this, &Aim::setSize);
    7575  this->anim->setInfinity(ANIM_INF_CONSTANT);
     
    132132void Aim::setTargetGroupS(const std::string& groupName)
    133133{
    134   printf("::::::::::::::::::::::: TEST\n");
    135134  OM_LIST id = ObjectManager::StringToOMList(groupName);
    136135  if (id != OM_NULL)
     
    138137  else
    139138    PRINTF(2)("List %s not found for targetting\n", groupName.c_str());
    140 
    141   printf("targetGroup: %s, %d", groupName.c_str(), id);
    142139}
    143140
  • branches/proxy/src/world_entities/weapons/targeting_turret.h

    r9516 r9518  
    2626  virtual void draw() const;
    2727
     28  const PNode* getLockedTarget() const { return lockedTarget; };
     29
    2830private:
    2931  void init();
Note: See TracChangeset for help on using the changeset viewer.