Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2017, 2:46:20 PM (7 years ago)
Author:
patricwi
Message:

merged HUD branch to trunk

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/pickup/PickupManager.h

    r11071 r11353  
    4242
    4343#include "PickupRepresentation.h"
    44 
     44#include "interfaces/Pickupable.h"
    4545#include "util/Singleton.h"
    4646#include "interfaces/PickupListener.h"
     47#include "overlays/hud/HUDPickupSystem.h"
    4748
    4849namespace orxonox // tolua_export
     
    135136
    136137            void dropPickup(uint32_t pickup); //!< Drop the input Pickupable.
     138            static void useUnusePickup(uint32_t index); //tolua_export
    137139            void usePickup(uint32_t pickup, bool use); //!< Use (or unuse) the input Pickupable.
    138140             /**
     
    147149            static void dropPickupNetworked(uint32_t pickup); //!< Helper method to drop the input pickup on the server.
    148150            static void usePickupNetworked(uint32_t pickup, bool use); //!< Helper method to use (or unuse) the input Pickupable on the server.
     151            void setPickupSystem(HUDPickupSystem* system);
    149152
    150153        private:
     154            HUDPickupSystem* pickupSystem;
     155            std::vector<Pickupable*> picks;
     156
    151157            static PickupManager* singletonPtr_s;
    152158            static const std::string guiName_s; //!< The name of the PickupInventory
     
    166172            void updateGUI(void); //!< Updates the PickupInventory GUI.
    167173            uint32_t getPickupIndex(void); //!< Get a new index for a Pickupable.
    168 
     174           
    169175    }; // tolua_export
    170176
Note: See TracChangeset for help on using the changeset viewer.