Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/orxonox/objects/weaponSystem/Weapon.h

    r2907 r2908  
    6262            void magazineReloaded();
    6363
    64             //XMLPort functions
    6564            virtual void setMunitionType(std::string munitionType);
    6665            virtual const std::string getMunitionType();
     
    6968            virtual void setMagazineLoadingTime(float loadingTime);
    7069            virtual const float getMagazineLoadingTime();
    71             virtual void setBulletAmount(unsigned int amount);
    72             virtual const unsigned int getBulletAmount();
    73             virtual void setMagazineAmount(unsigned int amount);
    74             virtual const unsigned int getMagazineAmount();
    75             virtual void setUnlimitedMunition(bool unlimitedMunition);
    76             virtual const bool getUnlimitedMunition();
    7770
    78             //weapon actions
    7971            virtual void takeBullets();
    8072            virtual void takeMagazines();
    8173            virtual void createProjectile();
    82             virtual void reloadBullet();
    83             virtual void reloadMagazine();
    8474
    85             //manually set or reset
    86             virtual void setWeapon();
    87             virtual void setMunition();
    88            
    8975            inline void setParentWeaponSystem(WeaponSystem *parentWeaponSystem)
    9076                { this->parentWeaponSystem_=parentWeaponSystem; };
     
    9783                { return this->attachedToWeaponSlot_; }
    9884
     85            virtual void setWeapon();
    9986
    10087        private:
     
    10491            bool bulletReadyToShoot_;
    10592            bool magazineReadyToShoot_;
    106             bool unlimitedMunition_;
    10793            float bulletLoadingTime_;
    10894            float magazineLoadingTime_;
    109             unsigned int bulletAmount_;
    110             unsigned int magazineAmount_;
    11195            std::string munitionType_;
    11296
Note: See TracChangeset for help on using the changeset viewer.