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/modules/overlays/hud/HUDWeaponSystem.h

    r10721 r10724  
    3636#include <string>
    3737
    38 #include <OgreOverlayManager.h>
    39 #include <OgreMaterialManager.h>
    40 #include <OgreTechnique.h>
    41 #include <OgrePass.h>
    42 #include <OgrePanelOverlayElement.h>
    43 
    4438#include "overlays/OrxonoxOverlay.h"
    45 #include "overlays/OverlayText.h"
    46 #include "tools/interfaces/Tickable.h"
    4739#include "worldentities/pawns/Pawn.h"
    4840#include "overlays/OverlayGroup.h"
     
    5143namespace orxonox
    5244{
    53     class _OverlaysExport HUDWeaponSystem : public OrxonoxOverlay, public Tickable
     45    class _OverlaysExport HUDWeaponSystem : public OrxonoxOverlay
    5446    {
    5547    public:
     
    5850
    5951        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    60         virtual void tick(float dt);
    6152        virtual void changedOwner();
    6253        virtual void changedOverlayGroup();
Note: See TracChangeset for help on using the changeset viewer.