Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2015, 1:05:54 PM (9 years ago)
Author:
fvultier
Message:

HUD improved. Corrected text rescaling. Renamed reload to shieldRecharge in Pawn.cc, … to avoid confusion with the weapon system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/modules/overlays/hud/HUDWeapon.h

    r10724 r10739  
    7272        inline Vector2 getWeaponModeHUDActualSize() const
    7373            { return weaponModeHUDActualSize_; }
     74        inline void setPositionOffset(Vector2 positionOffset)
     75            {
     76                this->positionOffset_ = positionOffset;
     77                this->updatePosition();
     78            }           
    7479        inline void setWeaponIndex(int index)
    75             { weaponIndex_ = index;
    76               this->updatePosition();
     80            {
     81                weaponIndex_ = index;
     82                this->updatePosition();
    7783            }       
    7884
     
    94100
    95101        Vector2 weaponModeHUDActualSize_;
     102        Vector2 positionOffset_;
    96103        int weaponIndex_;
    97104    };
Note: See TracChangeset for help on using the changeset viewer.