parent
b2eda563f2
commit
5ffcf3126a
@ -1,6 +1,19 @@ |
|||||||
#pragma once |
#pragma once |
||||||
|
#include "TSXParser.h" |
||||||
|
|
||||||
enum MapName{ |
enum MapName{ |
||||||
LEVEL1, |
LEVEL1, |
||||||
LEVEL2, |
LEVEL2, |
||||||
CAMPAIGN_1_1, |
CAMPAIGN_1_1, |
||||||
|
}; |
||||||
|
|
||||||
|
struct TilesetData{ |
||||||
|
Renderable*tileset; |
||||||
|
std::map<int,XMLTag>foregroundTiles; |
||||||
|
}; |
||||||
|
|
||||||
|
struct TileRenderData{ |
||||||
|
Decal*tileset; |
||||||
|
vi2d pos; |
||||||
|
vi2d tileSheetPos; |
||||||
}; |
}; |
After Width: | Height: | Size: 560 KiB |
@ -1,4 +1,75 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||||||
<tileset version="1.10" tiledversion="1.10.1" name="grass_tiles_24x24" tilewidth="24" tileheight="24" tilecount="783" columns="29"> |
<tileset version="1.10" tiledversion="1.10.1" name="grass_tiles_24x24" tilewidth="24" tileheight="24" tilecount="783" columns="29"> |
||||||
<image source="grass_tiles_24x24.png" width="696" height="648"/> |
<image source="grass_tiles_24x24.png" width="696" height="648"/> |
||||||
|
<tile id="164" type="ForegroundTile"/> |
||||||
|
<tile id="165" type="ForegroundTile"/> |
||||||
|
<tile id="166" type="ForegroundTile"/> |
||||||
|
<tile id="167" type="ForegroundTile"/> |
||||||
|
<tile id="168" type="ForegroundTile"/> |
||||||
|
<tile id="169" type="ForegroundTile"/> |
||||||
|
<tile id="193" type="ForegroundTile"/> |
||||||
|
<tile id="194" type="ForegroundTile"/> |
||||||
|
<tile id="195" type="ForegroundTile"/> |
||||||
|
<tile id="196" type="ForegroundTile"/> |
||||||
|
<tile id="197" type="ForegroundTile"/> |
||||||
|
<tile id="198" type="ForegroundTile"/> |
||||||
|
<tile id="222" type="ForegroundTile"/> |
||||||
|
<tile id="223" type="ForegroundTile"/> |
||||||
|
<tile id="224" type="ForegroundTile"/> |
||||||
|
<tile id="225" type="ForegroundTile"/> |
||||||
|
<tile id="226" type="ForegroundTile"/> |
||||||
|
<tile id="227" type="ForegroundTile"/> |
||||||
|
<tile id="251" type="ForegroundTile"/> |
||||||
|
<tile id="252" type="ForegroundTile"/> |
||||||
|
<tile id="253" type="ForegroundTile"/> |
||||||
|
<tile id="254" type="ForegroundTile"/> |
||||||
|
<tile id="255" type="ForegroundTile"/> |
||||||
|
<tile id="256" type="ForegroundTile"/> |
||||||
|
<tile id="280" type="ForegroundTile"/> |
||||||
|
<tile id="281" type="ForegroundTile"/> |
||||||
|
<tile id="282" type="ForegroundTile"/> |
||||||
|
<tile id="283" type="ForegroundTile"/> |
||||||
|
<tile id="284" type="ForegroundTile"/> |
||||||
|
<tile id="285" type="ForegroundTile"/> |
||||||
|
<tile id="310"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="6" y="12" width="18" height="12"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="311"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="0" y="0" width="24" height="24"/> |
||||||
|
<object id="2" x="0" y="0" width="24" height="24"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="312"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="0" y="0" width="24" height="24"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="313"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="0" y="0" width="9" height="24"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="339"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="13" y="0" width="11" height="22"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="340"> |
||||||
|
<objectgroup draworder="index" id="3"> |
||||||
|
<object id="7" x="0" y="0" width="24" height="22"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="341"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="0" y="0" width="24" height="22"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
|
<tile id="342"> |
||||||
|
<objectgroup draworder="index" id="2"> |
||||||
|
<object id="1" x="0" y="0" width="6" height="22"/> |
||||||
|
</objectgroup> |
||||||
|
</tile> |
||||||
</tileset> |
</tileset> |
||||||
|
Loading…
Reference in new issue