리소스 데이터 구조 - LeeInJae/meteor GitHub Wiki

(old) 존&맵 파일 데이터 구조(11월 1일)

[meteor.data]

  • { NumOfMapType : UINT, NumOfAtlas : UINT },
  • { "map_type" : wchar_t[32] } x NumOfMapType,
  • { "atlas_id" : wchar_t[32] } x NumOfAtlas

[map_type.png] [map_type.map]

  • { MapCount : UINT, TileCount : UINT, TileWidth : UINT, TileHeight : UINT },
  • { TileX : float, TileY : float} x TileCount,
  • { NumOfColumn : UINT, NumOfRow : UINT, { TileNo : UINT, Mask : UINT }, ... } x MapCount

[atlas_id.png] [atlas_id.data]

  • { AnimationCount : UINT, SpriteCount : UINT },
  • { Left : float, Right : float, Width : float, Height : float, SpriteWidth : UINT, SpriteHeight : UINT } x SpriteCount,
  • { "animation_id" : wchar_t[32], Fps : UINT, NumOfFrame : UINT, { SpriteNo : UINT }, ... } x AnimationCount

[zone_id.zone]

  • { "map_type" : wchar_t[32], MapNo : UINT, NumOfObject : UINT }
  • { "object_type" : wchar_t[16], "object_id" : wchar_t[32], ObjectX : USHORT, ObjectY : USHORT, ObjectDirection : USHORT, Reserved : USHORT } x NumOfObject