Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2014, 11:07:07 AM (11 years ago)
Author:
muemart
Message:

Move everything back to the Turret class, set the correct team, and (re)arm the turret. Also, hide it from the radar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/src/modules/objects/controllers/TurretController.h

    r10042 r10044  
    4444
    4545                private:
    46             bool gotOrient_;
    47             float attackRadius_;
    48             Ogre::Real maxPitch_;
    49             Ogre::Real maxYaw_;
    50             Quaternion startOrient_;
    51             Vector3 startDir_;
    52             Vector3 localZ_;
    53             Vector3 localZStart_;
    54             Vector3 localY_;
    55             Vector3 localYStart_;
    56             Vector3 localX_;
    57             Vector3 localXStart_;
    5846
    59             void aimAtPositionRot(const Vector3 &position);
    60             void aimAtTargetRot();
    6147                        void searchTarget();
    62                         bool isInRange(const Vector3 &position);
    6348                        bool isLookingAtTargetNew(float angle) const;
     49
     50                        bool once_;
    6451        };
    6552 }
Note: See TracChangeset for help on using the changeset viewer.