Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2018, 2:01:20 AM (6 years ago)
Author:
landauf
Message:

[HUD_HS16] removed a lot of unused stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/overlays/hud/HUDPickupSystem.h

    r11700 r11702  
    3333#include "overlays/OverlaysPrereqs.h"
    3434
    35 #include <map>
    3635#include <vector>
    37 #include <string>
    3836
    39 
    40 #include <OgreOverlayManager.h>
    41 #include <OgrePanelOverlayElement.h>
    42 
     37#include "util/OgreForwardRefs.h"
    4338#include "overlays/OrxonoxOverlay.h"
    44 #include "worldentities/pawns/Pawn.h"
    45 #include "overlays/OverlayGroup.h"
    46 #include "pickup/Pickup.h"
    47 #include "pickup/PickupRepresentation.h"
    48 #include "HUDPickupItem.h"
    4939
    5040namespace orxonox
     
    5949        void sync(std::vector<Pickupable*> p, std::map<Pickupable*, uint32_t> indexes_);
    6050
    61         bool repaint=true; //if we shouldnt repaint, set this to false
    62 
    6351    private:
    6452       
    65         void destroyAll();
    6653        std::string getIcon(std::string repName);
    6754
    68         std::map<Pickupable*, HUDPickupItem*> picks;
    69 
     55        std::vector<HUDPickupItem*> items_;
    7056        Ogre::PanelOverlayElement* overlayElement_;
    71         WeakPtr<Pawn> owner_;
    72 
    73         std::vector<PickupRepresentation> pickupRepresentations_;
    7457    };
    7558}
Note: See TracChangeset for help on using the changeset viewer.