Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2011, 9:07:17 PM (14 years ago)
Author:
dafrick
Message:

Cleanup. Adding shield and boost shaking to Assff.

Location:
code/branches/gameimmersion/src/orxonox/weaponsystem
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion/src/orxonox/weaponsystem/WeaponMode.cc

    r8386 r8577  
    6666
    6767        this->damage_ = 0;
    68 ///////////////////me
    6968        this->healthdamage_ = 0;
    7069        this->shielddamage_ = 0;
    71 ///////////////////end me
     70
    7271        this->muzzleOffset_ = Vector3::ZERO;
    7372        this->muzzlePosition_ = Vector3::ZERO;
     
    109108
    110109        XMLPortParam(WeaponMode, "damage",           setDamage,           getDamage,           xmlelement, mode);
    111 //////////me
    112110        XMLPortParam(WeaponMode, "healthdamage",     setHealthDamage,     getHealthDamage,     xmlelement, mode);
    113111        XMLPortParam(WeaponMode, "shielddamage",     setShieldDamage,     getShieldDamage,     xmlelement, mode);
    114 /////////end me
    115112        XMLPortParam(WeaponMode, "muzzleoffset",     setMuzzleOffset,     getMuzzleOffset,     xmlelement, mode);
    116113    }
  • code/branches/gameimmersion/src/orxonox/weaponsystem/WeaponMode.h

    r8533 r8577  
    107107            inline float getDamage() const
    108108                { return this->damage_; }
    109 ////////////////////me, copied to projectile.cc
    110 
    111109            inline void setHealthDamage(float healthdamage)
    112110                { this->healthdamage_ = healthdamage; }
     
    119117                { return this->shielddamage_; }
    120118
    121 ///////////////////end me
    122119            inline void setMuzzleOffset(const Vector3& offset)
    123120                { this->muzzleOffset_ = offset; }
Note: See TracChangeset for help on using the changeset viewer.