Alchemy
Loading...
Searching...
No Matches

inventory_menu.h File Reference

The item menu's state and commands. More...

Go to the source code of this file.

Data Structures

struct  InventoryMenuState
 The item menu's work, in the HEAP_SLOT_MENU work slot: its windows, the party figures, the items listed and the two choices a command makes. More...

Enumerations

enum  ItemMenuCommand {
  ITEM_COMMAND_USE , ITEM_COMMAND_EQUIP , ITEM_COMMAND_INSPECT , ITEM_COMMAND_GIVE ,
  ITEM_COMMAND_REMOVE , ITEM_COMMAND_DROP
}

Functions

 STATIC_ASSERT (offsetof(struct InventoryMenuState, paneIcons)==0x14)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, paneIndex)==0x1c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, paneCount)==0x1e)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, itemWindow)==0x20)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, infoWindow)==0x2c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, gridCursor)==0x44)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, entryIcons)==0x48)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, categoryIcons)==0xc8)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, messageWindow)==0x10c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedColumn)==0x110)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedRow)==0x111)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, columnCount)==0x112)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, rowCount)==0x113)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, ownerObjects)==0x114)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, ownerX)==0x134)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, ownerY)==0x144)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, ownerScale)==0x154)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedSlots)==0x174)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedItems)==0x178)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, cursor)==0x17c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, items)==0x1c8)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, ownerIds)==0x208)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, itemCount)==0x218)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, paneOwner)==0x21a)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedItemIcon)==0x21c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, messageOffset)==0x25a)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, equipPreview)==0x25c)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, selectedIndexByOwner)==0x260)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, mode)==0x268)
 STATIC_ASSERT (offsetof(struct InventoryMenuState, resourceSlots)==0x392)
 STATIC_ASSERT (sizeof(struct InventoryMenuState)==0x398)

Detailed Description

The item menu's state and commands.

Definition in file inventory_menu.h.

Enumeration Type Documentation

◆ ItemMenuCommand

Enumerator
ITEM_COMMAND_USE 
ITEM_COMMAND_EQUIP 
ITEM_COMMAND_INSPECT 
ITEM_COMMAND_GIVE 
ITEM_COMMAND_REMOVE 
ITEM_COMMAND_DROP 

Definition at line 114 of file inventory_menu.h.

Function Documentation

◆ STATIC_ASSERT() [1/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, paneIcons) = =0x14)

◆ STATIC_ASSERT() [2/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, paneIndex) = =0x1c)

◆ STATIC_ASSERT() [3/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, paneCount) = =0x1e)

◆ STATIC_ASSERT() [4/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, itemWindow) = =0x20)

◆ STATIC_ASSERT() [5/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, infoWindow) = =0x2c)

◆ STATIC_ASSERT() [6/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, gridCursor) = =0x44)

◆ STATIC_ASSERT() [7/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, entryIcons) = =0x48)

◆ STATIC_ASSERT() [8/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, categoryIcons) = =0xc8)

◆ STATIC_ASSERT() [9/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, messageWindow) = =0x10c)

◆ STATIC_ASSERT() [10/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedColumn) = =0x110)

◆ STATIC_ASSERT() [11/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedRow) = =0x111)

◆ STATIC_ASSERT() [12/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, columnCount) = =0x112)

◆ STATIC_ASSERT() [13/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, rowCount) = =0x113)

◆ STATIC_ASSERT() [14/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, ownerObjects) = =0x114)

◆ STATIC_ASSERT() [15/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, ownerX) = =0x134)

◆ STATIC_ASSERT() [16/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, ownerY) = =0x144)

◆ STATIC_ASSERT() [17/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, ownerScale) = =0x154)

◆ STATIC_ASSERT() [18/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedSlots) = =0x174)

◆ STATIC_ASSERT() [19/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedItems) = =0x178)

◆ STATIC_ASSERT() [20/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, cursor) = =0x17c)

◆ STATIC_ASSERT() [21/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, items) = =0x1c8)

◆ STATIC_ASSERT() [22/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, ownerIds) = =0x208)

◆ STATIC_ASSERT() [23/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, itemCount) = =0x218)

◆ STATIC_ASSERT() [24/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, paneOwner) = =0x21a)

◆ STATIC_ASSERT() [25/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedItemIcon) = =0x21c)

◆ STATIC_ASSERT() [26/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, messageOffset) = =0x25a)

◆ STATIC_ASSERT() [27/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, equipPreview) = =0x25c)

◆ STATIC_ASSERT() [28/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, selectedIndexByOwner) = =0x260)

◆ STATIC_ASSERT() [29/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, mode) = =0x268)

◆ STATIC_ASSERT() [30/31]

STATIC_ASSERT ( offsetof(struct InventoryMenuState, resourceSlots) = =0x392)

◆ STATIC_ASSERT() [31/31]

STATIC_ASSERT ( sizeof(struct InventoryMenuState) = =0x398)