Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2015, 7:51:49 PM (9 years ago)
Author:
fvultier
Message:

The weapon system HUD rescales properly if the window size changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/orxonox/weaponsystem/Munition.h

    r10713 r10724  
    7878            inline unsigned int getMaxMunitionPerMagazine() const
    7979                { return this->maxMunitionPerMagazine_; }
    80             inline bool getUseSeparateMagazines() const
    81                 { return deployment_ == MunitionDeployment::Separate; }
    82             inline bool getStackMunition() const
    83                 { return deployment_ == MunitionDeployment::Stack; }
     80            inline MunitionDeployment::Value getMunitionDeployment() const
     81                { return deployment_; }
     82
    8483
    8584            bool canTakeMunition(unsigned int amount, WeaponMode* user) const;
Note: See TracChangeset for help on using the changeset viewer.