- Timestamp:
- May 20, 2009, 9:01:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/PickupInventory.h
r2972 r3001 39 39 #include "core/BaseObject.h" 40 40 41 namespace CEGUI { class Window; }41 namespace CEGUI { class Window; class WindowManager; class Image; } 42 42 43 43 // tolua_begin 44 44 namespace orxonox 45 45 { 46 class EquipmentItem; 47 class PassiveItem; 48 class UsableItem; 46 // tolua_end 47 class _OrxonoxExport BaseItem; 49 48 50 49 /** 51 50 @brief Static class for the inventory GUI window. 52 51 @author Daniel 'Huty' Haggenmueller 53 */ 52 */ 53 // tolua_begin 54 54 class _OrxonoxExport PickupInventory 55 55 { … … 70 70 static unsigned int getPassiveCount(); // tolua_export 71 71 72 static EquipmentItem* getEquipmentItem(unsigned int i); // tolua_export73 static UsableItem* getUsableItem(unsigned int i); // tolua_export74 static PassiveItem* getPassiveItem(unsigned int i); // tolua_export72 static unsigned int getCurrentUsableIndex(); // tolua_export 73 static bool isCurrentUsable(const BaseItem* item); // tolua_export 74 static void selectUsable(unsigned int i); // tolua_export 75 75 76 static std::string getImagesetForEquipment(unsigned int i); // tolua_export 77 static std::string getImagesetForUsable(unsigned int i); // tolua_export 78 static std::string getImagesetForPassive(unsigned int i); // tolua_export 76 static BaseItem* getEquipmentItem(unsigned int i); // tolua_export 77 static BaseItem* getUsableItem(unsigned int i); // tolua_export 78 static BaseItem* getPassiveItem(unsigned int i); // tolua_export 79 80 static std::string getImageForItem(const BaseItem* item); // tolua_export 81 82 static void clearInventory(CEGUI::WindowManager* winMgr, int equipCount, int usableCount); // tolua_export 83 static void updateTabs(CEGUI::WindowManager* winMgr, CEGUI::Window* equipWindow, CEGUI::Window* usableWindow); // tolua_export 84 85 static void updateEquipment(CEGUI::WindowManager* winMgr, CEGUI::Window* target); 86 static void updateUsable(CEGUI::WindowManager* winMgr, CEGUI::Window* target); 87 88 static void addItem(CEGUI::WindowManager* winMgr, CEGUI::Window* target, const std::string& id, BaseItem* item, const std::string& titleColour, int x, int y); // tolua_export 79 89 }; // tolua_export 80 90 } // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.