World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
27 void FromFile(
void *data_mm6,
void *data_mm7,
void *data_mm8);
50 static void PlaceItemAt(
unsigned int put_cell_pos,
unsigned int uItemIdx,
int uChestID);
52 static bool Open(
int uChestID);
56 static void GrabItem(
bool all =
false);
72 extern std::vector<Chest>
vChests;
unsigned __int16 uint16_t
void RemoveItemAtChestIndex(int index)
ChestDesc(struct ChestDesc_mm7 *pChest)
void SetInitialized(bool b)
static void GrabItem(bool all=false)
struct ItemGen igChestItems[140]
static int CountChestItems(int uChestID)
static void PlaceItems(int uChestID)
void GenerateItemsInChest()
static void PlaceItemAt(unsigned int put_cell_pos, unsigned int uItemIdx, int uChestID)
char * ChestsDeserialize(char *pData)
static void OnChestLeftClick()
static int PutItemInChest(int a1, struct ItemGen *a2, int uChestID)
static void ToggleFlag(int uChestID, uint16_t uFlag, unsigned int bToggle)
char * ChestsSerialize(char *pData)
std::vector< Chest > vChests
static bool Open(int uChestID)
GLboolean GLboolean GLboolean b
static bool ChestUI_WritePointedObjectStatusString()
static bool CanPlaceItemAt(int a1, int a2, int uChestID)
void FromFile(void *data_mm6, void *data_mm7, void *data_mm8)
int16_t pInventoryIndices[140]
std::vector< ChestDesc > vChests