Jump to content
Sign in to follow this  
Avenger

WMP fileformat

Recommended Posts

class CWorldMapHeader

DWORD m_nMapCount

DWORD m_nMapOffset

 

class CWorldMapData

RESREF m_resMosaic

DWORD m_nWidth

DWORD m_nHeight

DWORD m_nMapID

STRREF m_strTitle

DWORD m_nStartCenteredOnX

DWORD m_nStartCenteredOnY

DWORD m_nAreas

DWORD m_nAreasOffset

DWORD m_nOffsetToLinks

DWORD m_nLinks

RESREF m_resAreaIcons

DWORD nUnused[32]

 

CWORLDMAPAREA_FLAGS_VISIBLE 0X00000001

CWORLDMAPAREA_FLAGS_ENABLED 0X00000002

CWORLDMAPAREA_FLAGS_EXPLORABLE 0X00000004

CWORLDMAPAREA_FLAGS_EXPLORED 0X00000008

 

class CWorldMapArea

RESREF m_resCurrentArea

RESREF m_resOriginalArea

SCRIPTNAME m_strName

DWORD m_dwFlags

DWORD m_sequence

DWORD m_mapLocationX

DWORD m_mapLocationY

STRREF m_strLabel

STRREF m_strAreaName

RESREF m_resAreaLoadMosaic

DWORD m_nNorthEdgeStartingLink

DWORD m_nNorthEdgeCount

DWORD m_nWestEdgeStartingLink

DWORD m_nWestEdgeCount

DWORD m_nSouthEdgeStartingLink

DWORD m_nSouthEdgeCount

DWORD m_nEastEdgeStartingLink

DWORD m_nEastEdgeCount

DWORD nUnused[32]

 

CWORLDMAPLINKS_FLAGS_DESTAREA_NORTHEDGE 0X00000001

CWORLDMAPLINKS_FLAGS_DESTAREA_EASTEDGE 0X00000002

CWORLDMAPLINKS_FLAGS_DESTAREA_SOUTHEDGE 0X00000004

CWORLDMAPLINKS_FLAGS_DESTAREA_WESTEDGE 0X00000008

 

class CWorldMapLinks

DWORD m_nArea

SCRIPTNAME m_entryPoint

DWORD m_nDistanceScale

DWORD m_dwLinkFlags

RESREF m_resRandomEncounterArea0

RESREF m_resRandomEncounterArea1

RESREF m_resRandomEncounterArea2

RESREF m_resRandomEncounterArea3

RESREF m_resRandomEncounterArea4

DWORD m_nEncounterProbability

DWORD nUnused[32]

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...