More enum/struct fixes.

This commit is contained in:
tomrus88 2009-12-21 17:05:54 +03:00
parent ad75d9680c
commit 8607a9d618
4 changed files with 43 additions and 23 deletions

View file

@ -568,11 +568,11 @@ struct BattlemasterListEntry
int32 mapid[8]; // 1-8 mapid
uint32 type; // 9 (3 - BG, 4 - arena)
uint32 maxplayersperteam; // 10
//uint32 unk1; // 11 (0 or 1)
//uint32 canJoinAsGroup; // 11 (0 or 1)
char* name[16]; // 12-27
// 28 string flag, unused
// 29 unused
//uint32 unk2; // 30 new 3.1
//uint32 maxGroupSize // 29 maxGroupSize?
//uint32 HolidayWorldStateId; // 30 new 3.1
};
#define MAX_OUTFIT_ITEMS 24
@ -1077,8 +1077,8 @@ struct MapEntry
uint32 MapID; // 0
//char* internalname; // 1 unused
uint32 map_type; // 2
//uint32 unk_330; // 3 some kind of flags (0x100 - CAN_CHANGE_PLAYER_DIFFICULTY)
// 4 0 or 1 for battlegrounds (not arenas)
//uint32 mapFlags; // 3 some kind of flags (0x100 - CAN_CHANGE_PLAYER_DIFFICULTY)
//uint32 isPvP; // 4 0 or 1 for battlegrounds (not arenas)
char* name[16]; // 5-20
// 21 name flags, unused
uint32 linked_zone; // 22 common zone for instance and continent map
@ -1087,11 +1087,11 @@ struct MapEntry
//char* allianceIntro[16]; // 40-55 text for PvP Zones
// 56 intro text flags
uint32 multimap_id; // 57 index in LoadingScreens.dbc
// 58 BattlefieldMapIconScale
//float BattlefieldMapIconScale; // 58 BattlefieldMapIconScale
int32 entrance_map; // 59 map_id of entrance map
float entrance_x; // 60 entrance x coordinate (if exist single entry)
float entrance_y; // 61 entrance y coordinate (if exist single entry)
// 62 time of day override
//uint32 timeOfDayOverride; // 62 time of day override
uint32 addon; // 63 expansion
// 64 some kind of time?
//uint32 maxPlayers; // 65 max players