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.cc

    r10724 r10739  
    102102        if (this->isInitialized())
    103103        {
    104             //this->textOverlay_->destroy();
     104            this->textOverlayLeft_->destroy();
     105            this->textOverlayRight_->destroy();
    105106        }
    106107    }
     
    280281    void HUDWeaponMode::updatePosition()
    281282    {
    282         this->setPosition(Vector2(weaponModeHUDActualSize_.x*weaponIndex_,weaponModeHUDActualSize_.y*weaponModeIndex_));
     283        this->setPosition(Vector2(weaponModeHUDActualSize_.x*weaponIndex_,weaponModeHUDActualSize_.y*weaponModeIndex_) + this->positionOffset_);
    283284    }     
    284285}
Note: See TracChangeset for help on using the changeset viewer.