|
| cInventory (cInit *apInit) |
|
void | OnStart () |
|
void | Update (float afTimeStep) |
|
void | Reset () |
|
void | OnDraw () |
|
void | SetActive (bool abX) |
|
bool | IsActive () |
|
float | GetAlpha () |
|
void | AddWidget (iInventoryWidget *apWidget) |
|
void | AddItem (cGameItem *apGameItem) |
|
void | AddItemFromFile (const tString &asName, const tString &asFile, int alSlotIndex) |
|
void | RemoveItem (cInventoryItem *apItem) |
|
cInventoryItem * | GetItem (const tString &asName) |
|
void | SetMousePos (const cVector2f &avPos) |
|
void | AddMousePos (const cVector2f &avRel) |
|
void | SetNoteBookActive (bool abX) |
|
bool | GetNoteBookActive () |
|
void | OnMouseDown (eMButton aButton) |
|
void | OnMouseUp (eMButton aButton) |
|
void | OnDoubleClick (eMButton aButton) |
|
void | OnInventoryDown () |
|
void | OnShortcutDown (int alNum) |
|
cVector2f | GetMousePos () |
|
void | SetItemName (const tWString &asName) |
|
void | SetItemDesc (const tWString &asDesc) |
|
cInventoryItem * | GetCurrentItem () |
|
void | SetCurrentItem (cInventoryItem *apItem) |
|
cInventorySlot * | GetCurrentSlot () |
|
void | SetCurrentSlot (cInventorySlot *apSlot) |
|
void | SetCurrentItemOffset (const cVector2f &avOffset) |
|
cInventorySlot * | GetEquipSlot (int alIdx) |
|
cInventoryContext * | GetContext () |
|
cGameItemType * | GetItemType (int alIndex) |
|
void | SetDroppedInSlot (bool abX) |
|
void | SetMessage (const tWString &asMessage) |
|
void | AddPickupCallback (const tString &asItem, const tString &asFunction) |
|
void | AddUseCallback (const tString &asItem, const tString &asObject, const tString &asFunction) |
|
void | AddCombineCallback (const tString &asItem1, const tString &asItem2, const tString &asFunction) |
|
void | RemovePickupCallback (const tString &asFunction) |
|
void | RemoveUseCallback (const tString &asFunction) |
|
void | RemoveCombineCallback (const tString &asFunction) |
|
void | ClearCallbacks () |
|
void | CheckPickupCallback (const tString &asItem) |
|
bool | CheckUseCallback (const tString &asItem, const tString &asObject) |
|
bool | CheckCombineCallback (const tString &asItem1, const tString &asItem2, int alSlotIndex) |
|
void | SaveToGlobal (cInventory_GlobalSave *apSave) |
|
void | LoadFromGlobal (cInventory_GlobalSave *apSave) |
|
iSaveData * | CreateSaveData () |
|
| iUpdateable (const tString &asName) |
|
virtual void | OnPostSceneDraw () |
|
virtual void | OnPostGUIDraw () |
|
virtual void | OnPostBufferSwap () |
|
virtual void | OnExit () |
|
const tString & | GetName () |
|