All items you need should be in there.
If you only wish to inspect hook there and don't want access to structure, just pass int type instead.
- Код: Выделить всё
#pragma pack(push, 1)
struct _RMGStruct_
{
int VMT;
int RandomSeed;
int GameVersion;
int MapItemsVMT;
char MapItemsRef;
char gap_11[3];
void *MapItems;
int SizeX;
int SizeY;
int Levels;
char ObjectsTxtRef;
char gap_25[3];
int ObjectsTxt;
int ObjectsTxtEnd;
int ObjectsTxtMemEnd;
_Vector_ ObjectPrototypesByType[232];
char field_EB4;
char gap_EB5[3];
int field_EB8;
int field_EBC;
int field_EC0;
_Vector_ ObjectPositions;
int Progress;
char PlayerIsHuman[8];
int PlayerByOwner[8];
char gap_F00[36];
int PlayerTown[8];
int MonstersOrObjectsCount;
int HumansCount;
int HumansTeams;
int ComputersCount;
int ComputersTeams;
int field_F58;
int field_F5C;
int field_F60;
int field_F64;
char gap_F68[32];
char DenyHeroes[156];
char Artifacts_1024[144];
char field_10B4;
char gap_10B5[3];
int WaterAmount;
int MonstersStrength;
_FMes_ TemplateName;
char TemplatesUnk;
char gap_10D1[3];
void *Templates;
int TemplatesEnd;
int TemplatesMemEnd;
char field_10E0;
char gap_10E1[3];
void *GenZones;
int GenZonesEnd;
int GenZonesMemEnd;
char gap_10F0[4];
void *ObjectsUnk;
int ObjectsUnkEnd;
int ObjectsUnkMemEnd;
char field_1100;
char gap_1101[3];
int field_1104;
int field_1108;
int field_110C;
int ObjectCountByType[232];
char field_14B0;
char gap_14B1[3];
int field_14B4;
int field_14B8;
int field_14BC;
char field_14C0;
char gap_14C1[3];
int field_14C4;
int field_14C8;
int field_14CC;
char field_14D0;
char gap_14D1[3];
int field_14D4;
int field_14D8;
int field_14DC;
};
#pragma pack(pop)