Changeset 11702 for code/trunk/src/modules/overlays/hud/HUDPickupSystem.h
- Timestamp:
- Jan 6, 2018, 2:01:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/overlays/hud/HUDPickupSystem.h
r11700 r11702 33 33 #include "overlays/OverlaysPrereqs.h" 34 34 35 #include <map>36 35 #include <vector> 37 #include <string>38 36 39 40 #include <OgreOverlayManager.h> 41 #include <OgrePanelOverlayElement.h> 42 37 #include "util/OgreForwardRefs.h" 43 38 #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"49 39 50 40 namespace orxonox … … 59 49 void sync(std::vector<Pickupable*> p, std::map<Pickupable*, uint32_t> indexes_); 60 50 61 bool repaint=true; //if we shouldnt repaint, set this to false62 63 51 private: 64 52 65 void destroyAll();66 53 std::string getIcon(std::string repName); 67 54 68 std::map<Pickupable*, HUDPickupItem*> picks; 69 55 std::vector<HUDPickupItem*> items_; 70 56 Ogre::PanelOverlayElement* overlayElement_; 71 WeakPtr<Pawn> owner_;72 73 std::vector<PickupRepresentation> pickupRepresentations_;74 57 }; 75 58 }
Note: See TracChangeset
for help on using the changeset viewer.