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/HUDWeaponMode.h

    r10724 r10739  
    8282              this->updatePosition();
    8383            }
     84        inline void setPositionOffset(Vector2 positionOffset)
     85            {
     86                this->positionOffset_ = positionOffset;
     87                this->updatePosition();
     88            }
    8489
    8590    private:
     
    102107
    103108        Vector2 weaponModeHUDActualSize_;
     109        Vector2 positionOffset_;
    104110        int weaponIndex_;
    105111        int weaponModeIndex_;
Note: See TracChangeset for help on using the changeset viewer.