mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Merge commit 'origin/master' into 310
Conflicts: src/game/Player.cpp
This commit is contained in:
commit
950a4bf13f
52 changed files with 623 additions and 474 deletions
|
|
@ -1650,6 +1650,18 @@ struct WorldMapAreaEntry
|
|||
// int32 dungeonMap_id; // 9 pointer to DungeonMap.dbc (owerride x1,x2,y1,y2 coordinates)
|
||||
};
|
||||
|
||||
#define MAX_WORLD_MAP_OVERLAY_AREA_IDX 4
|
||||
|
||||
struct WorldMapOverlayEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
//uint32 worldMapAreaId; // 1 idx in WorldMapArea.dbc
|
||||
uint32 areatableID[MAX_WORLD_MAP_OVERLAY_AREA_IDX]; // 2-5
|
||||
// 6-7 always 0, possible part of areatableID[]
|
||||
//char* internal_name // 8
|
||||
// 9-16 some ints
|
||||
};
|
||||
|
||||
struct WorldSafeLocsEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
|
|
@ -1661,12 +1673,6 @@ struct WorldSafeLocsEntry
|
|||
// 21 name flags, unused
|
||||
};
|
||||
|
||||
struct WorldMapOverlayEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
uint32 areatableID[4]; // 2-5
|
||||
};
|
||||
|
||||
// GCC have alternative #pragma pack() syntax and old gcc version not support pack(pop), also any gcc version not support it at some platform
|
||||
#if defined( __GNUC__ )
|
||||
#pragma pack()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue