1
0
mirror of https://github.com/sigonasr2/Shep.git synced 2026-08-18 05:43:22 -05:00

Add Object model loading

This commit is contained in:
sigonasr2 2025-08-31 01:31:46 -05:00
parent 987135334a
commit b866a4e91c
8 changed files with 251 additions and 93 deletions

BIN
bin/assets/gfx/tree.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.10.2" name="Field Tiles" tilewidth="16" tileheight="16" tilecount="384" columns="24">
<image source="CuteRPG_Field_Tiles.png" width="384" height="256"/>
</tileset>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -1,93 +1,215 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="35" height="24" tilewidth="16" tileheight="16" infinite="0" nextlayerid="6" nextobjectid="2">
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="41" height="37" tilewidth="16" tileheight="16" infinite="0" nextlayerid="8" nextobjectid="2">
<tileset firstgid="1" source="Village.tsx"/>
<tileset firstgid="1025" source="Collision.tsx"/>
<layer id="1" name="Tile Layer 1" width="35" height="24">
<tileset firstgid="1026" source="Field Tiles.tsx"/>
<layer id="1" name="Tile Layer 1" width="41" height="37">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,33,34,34,34,34,34,34,34,34,34,34,34,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,4,34,34,34,34,34,34,5,0,0,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,69,34,34,34,34,68,66,66,66,66,66,66,69,5,0,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,69,35,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,97,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,99,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,4,34,34,34,34,34,34,5,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,69,34,34,34,34,68,66,66,66,66,66,66,69,5,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,69,35,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,65,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,67,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,97,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,99,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,7,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,9,0,6,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,100,66,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,65,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,65,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,289,290,290,290,290,324,322,325,290,290,290,290,290,290,290,291,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,289,290,324,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,289,290,324,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,353,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,355,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1369,1370,1371,1372,1369,1370,1348,1345,1371,
1393,1394,1395,1396,1324,1321,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1393,1394,1395,1396,1393,1394,1372,1369,1395,
1371,1372,1369,1370,1348,1345,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1321,1322,1323,1324,1321,1322,1394,1395,1323,
1395,1396,1393,1394,1372,1369,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1345,1346,1347,1348,1345,1346,1322,1323,1347,
1323,1324,1321,1322,1394,1395,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1369,1370,1371,1372,1369,1370,1346,1347,1371,
1347,1348,1345,1346,1322,1323,1370,1348,1345,1346,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1324,1321,0,
1371,1372,1369,1370,1346,1347,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1348,1345,0,
1393,1394,1395,1396,1324,1321,1370,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1393,1394,1395,1396,1393,1394,1372,1369,0,
1371,1372,1369,1370,1348,1345,1394,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1321,1322,1323,1324,1321,1322,1394,1395,0,
1395,1396,1393,1394,1372,1369,1322,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1322,1323,0,
1323,1324,1321,1322,1394,1395,1346,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1346,1347,0,
1347,1348,1345,1346,1322,1323,1370,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1324,1321,0,
1371,1372,1369,1370,1346,1347,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1348,1345,0,
1393,1394,1395,1396,1324,1321,1370,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1393,1394,1395,1396,1393,1394,1372,1369,0,
1371,1372,1369,1370,1348,1345,1394,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1321,1322,1323,1324,1321,1322,1394,1395,0,
1395,1396,1393,1394,1372,1369,1322,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1322,1323,0,
1323,1324,1321,1322,1394,1395,1346,1324,1321,1322,1323,1324,1321,1322,1323,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1346,1347,0,
1347,1348,1345,1346,1322,1323,1370,1348,1345,1346,1347,1348,1345,1346,1347,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1324,1321,0,
1371,1372,1369,1370,1346,1347,1396,1372,1369,1370,1371,1372,1369,1370,1371,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1348,1345,0,
1393,1394,1395,1396,1324,1321,1370,1396,1393,1394,1395,1396,1393,1394,1395,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1393,1394,1395,1396,1393,1394,1372,1369,0,
1371,1372,1369,1370,1348,1345,1394,1324,1321,1322,1323,1324,1321,1322,1323,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1321,1322,1323,1324,1321,1322,1394,1395,0,
1395,1396,1393,1394,1372,1369,1322,1348,1345,1346,1347,1348,1345,1346,1347,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1322,1323,0,
1323,1324,1321,1322,1394,1395,1346,1372,1369,1370,1371,1372,1369,1370,1371,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1346,1347,0,
1347,1348,1345,1346,1322,1323,1370,1396,1393,1394,1395,1396,1393,1394,1395,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1324,1321,0,
1371,1372,1369,1370,1346,1347,1396,1324,1321,1322,1323,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1369,1370,1371,1372,1369,1370,1348,1345,0,
1393,1394,1395,1396,1324,1321,1370,1396,1393,1394,1395,1396,1393,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1393,1394,1395,1396,1393,1394,1372,1369,0,
1371,1372,1369,1370,1348,1345,1394,1324,1321,1322,1323,1324,1321,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1321,1322,1323,1324,1321,1322,1394,1395,0,
1395,1396,1393,1394,1372,1369,1322,1348,1345,1346,1347,1348,1345,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1322,1323,0,
1323,1324,1321,1322,1394,1395,1346,1395,1396,1393,1394,1395,1396,1324,1321,1395,1396,1393,1394,1395,1396,1324,1321,1395,1396,1393,1394,1395,1396,1324,1321,1395,1396,1393,1394,1395,1396,1324,1321,1347,0,
1347,1348,1345,1346,1322,1323,1370,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1371,1372,1369,1370,1348,1345,1369,1370,1371,1372,1369,1370,1348,1345,1321,0,
1371,1372,1369,1370,1346,1347,1396,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1395,1396,1393,1394,1372,1369,1393,1394,1395,1396,1393,1394,1372,1369,1345,0,
1393,1394,1395,1396,1324,1321,1370,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1323,1324,1321,1322,1394,1395,1321,1322,1323,1324,1321,1322,1394,1395,1369,0,
1371,1372,1369,1370,1348,1345,1394,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1347,1348,1345,1346,1322,1323,1345,1346,1347,1348,1345,1346,1322,1323,1395,0,
1395,1396,1393,1394,1372,1369,1322,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1346,1347,1369,1370,1371,1372,1369,1370,1346,1347,1323,0,
1323,1324,1321,1322,1394,1395,1346,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1369,1370,1371,1372,1369,1370,1346,1347,0,
1347,1348,1345,1346,1322,1323,1370,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,1347,1348,1345,1346,0,
1371,1372,1369,1370,1346,1347,1396,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,0
</data>
</layer>
<layer id="5" name="Collision Layer" width="35" height="24" visible="0">
<layer id="7" name="Tree Layer 2" width="41" height="37">
<data encoding="csv">
1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,1025,1025,1025,0,0,0,0,0,0,0,0,1025,1025,0,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,
0,0,0,0,0,0,0,1025,1025,1025,1025,1025,1025,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,0,0
1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1323,1324,1321,1322,1323,1324,1394,1395,1321,
1347,1348,1345,1346,1370,1371,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1347,1348,1345,1346,1347,1348,1322,1323,1345,
1321,1322,1323,1324,1394,1395,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1371,1372,1369,1370,1371,1372,1348,1345,1369,
1345,1346,1347,1348,1322,1323,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1395,1396,1393,1394,1395,1396,1372,1369,1393,
1369,1370,1371,1372,1348,1345,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1323,1324,1321,1322,1323,1324,1396,1393,1321,
1393,1394,1395,1396,1372,1369,1324,1394,1395,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1370,1371,0,
1321,1322,1323,1324,1396,1393,1346,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1394,1395,0,
1347,1348,1345,1346,1370,1371,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1347,1348,1345,1346,1347,1348,1322,1323,0,
1321,1322,1323,1324,1394,1395,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1371,1372,1369,1370,1371,1372,1348,1345,0,
1345,1346,1347,1348,1322,1323,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1372,1369,0,
1369,1370,1371,1372,1348,1345,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1396,1393,0,
1393,1394,1395,1396,1372,1369,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1370,1371,0,
1321,1322,1323,1324,1396,1393,1346,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1394,1395,0,
1347,1348,1345,1346,1370,1371,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1347,1348,1345,1346,1347,1348,1322,1323,0,
1321,1322,1323,1324,1394,1395,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1371,1372,1369,1370,1371,1372,1348,1345,0,
1345,1346,1347,1348,1322,1323,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1372,1369,0,
1369,1370,1371,1372,1348,1345,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1396,1393,0,
1393,1394,1395,1396,1372,1369,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1370,1371,0,
1321,1322,1323,1324,1396,1393,1346,1322,1323,1324,1321,1322,1323,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1394,1395,0,
1347,1348,1345,1346,1370,1371,1324,1346,1347,1348,1345,1346,1347,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1347,1348,1345,1346,1347,1348,1322,1323,0,
1321,1322,1323,1324,1394,1395,1348,1370,1371,1372,1369,1370,1371,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1371,1372,1369,1370,1371,1372,1348,1345,0,
1345,1346,1347,1348,1322,1323,1372,1394,1395,1396,1393,1394,1395,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1372,1369,0,
1369,1370,1371,1372,1348,1345,1396,1322,1323,1324,1321,1322,1323,1324,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1396,1393,0,
1393,1394,1395,1396,1372,1369,1324,1346,1347,1348,1345,1346,1347,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1345,1346,1347,1348,1345,1346,1370,1371,0,
1321,1322,1323,1324,1396,1393,1346,1370,1371,1372,1369,1370,1371,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1323,1324,1321,1322,1323,1324,1394,1395,0,
1347,1348,1345,1346,1370,1371,1324,1346,1347,1348,1345,1346,1347,1348,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1347,1348,1345,1346,1347,1348,1322,1323,0,
1321,1322,1323,1324,1394,1395,1348,1370,1371,1372,1369,1370,1371,1372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1371,1372,1369,1370,1371,1372,1348,1345,0,
1345,1346,1347,1348,1322,1323,1372,1394,1395,1396,1393,1394,1395,1396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1395,1396,1393,1394,1395,1396,1372,1369,0,
1369,1370,1371,1372,1348,1345,1396,1345,1346,1347,1348,1345,1346,1370,1371,1345,1346,1347,1348,1345,1346,1370,1371,1345,1346,1347,1348,1345,1346,1370,1371,1345,1346,1347,1348,1345,1346,1370,1371,1393,0,
1393,1394,1395,1396,1372,1369,1324,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1321,1322,1323,1324,1394,1395,1323,1324,1321,1322,1323,1324,1394,1395,1371,0,
1321,1322,1323,1324,1396,1393,1346,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1345,1346,1347,1348,1322,1323,1347,1348,1345,1346,1347,1348,1322,1323,1395,0,
1347,1348,1345,1346,1370,1371,1324,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1369,1370,1371,1372,1348,1345,1371,1372,1369,1370,1371,1372,1348,1345,1323,0,
1321,1322,1323,1324,1394,1395,1348,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1393,1394,1395,1396,1372,1369,1395,1396,1393,1394,1395,1396,1372,1369,1345,0,
1345,1346,1347,1348,1322,1323,1372,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1396,1393,1323,1324,1321,1322,1323,1324,1396,1393,1369,0,
1369,1370,1371,1372,1348,1345,1396,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1369,1370,1371,1372,1323,1324,1321,1322,1323,1324,1396,1393,0,
1393,1394,1395,1396,1372,1369,1324,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,1393,1394,1395,1396,0,
1321,1322,1323,1324,1396,1393,1346,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,1321,1322,1323,1324,0
</data>
</layer>
<objectgroup id="4" name="Object Layer 1">
<object id="1" type="Building"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,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,7,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,9,0,6,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,100,66,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65,66,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,289,290,290,290,290,324,322,325,290,290,290,290,290,290,290,291,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,289,290,324,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,289,290,324,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,321,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,322,323,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,353,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,354,355,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="5" name="Collision Layer" width="41" height="37" visible="0">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,1025,1025,1025,0,0,0,0,0,0,0,0,1025,1025,0,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,
0,0,0,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,1025,1025,1025,1025,1025,1025,0,0,0,1025,1025,1025,1025,1025,1025,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,1025,1025,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1025,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,1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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<objectgroup id="4" name="Object Layer 1" visible="0">
<object id="1" type="Building" x="160" y="128" width="128" height="96">
<properties>
<property name="Building Type" propertytype="Buildings" value="building1"/>
</properties>

View File

@ -48,8 +48,8 @@ public:
inline static constexpr bool DEBUG_CAMERA{true};
inline static constexpr float PLAYER_SPD{5.f};
inline static vf3d CAMERA_FOLLOW_POS{0,-3.77,-3.2};
inline static float CAMERA_TILT{51.35};
inline static vf3d CAMERA_FOLLOW_POS{0,-3.29,-2.5};
inline static float CAMERA_TILT{54.54};
inline static float FRAME_TIME_PER_CHAR{1/30.f};
inline static Action CONFIRM_DIALOG{{Key::ENTER,Key::SPACE,Key::Z,Key::SHIFT,Key::RETURN}};
@ -67,4 +67,16 @@ public:
S MOM_OUTFIT2{"Oh, you like your knight outfit that much don't you? I understand. Have fun today {}!"};
};
#undef S
using TileID=uint32_t;
using TileSetFilenamePair=std::pair<std::string,std::string>;
using GraphicFilename=std::string;
inline static const std::unordered_map<TileID,TileSetFilenamePair>TILE_MODELS{
{296,{"Field Tiles.tsx","tree.png"}},
{321,{"Field Tiles.tsx","tree.png"}},
{319,{"Field Tiles.tsx","tree.png"}},
{344,{"Field Tiles.tsx","tree.png"}},
};
inline static std::unordered_map<TileID,GraphicFilename>CONVERTED_TILE_MODELS;
};

View File

@ -131,6 +131,26 @@ void ShepGame::LoadMap(const std::string&filename){
if(tiles[y][x]!=0)collisionTiles.emplace(x,y);
}
}
for(const XMLTag&tag:map.GetData().TilesetData){
const std::string tilesetName{tag.data.at("source")};
const uint32_t firstgid{uint32_t(tag.GetInteger("firstgid"))};
for(const auto&[tileID,tilesetFilenamePair]:GameSettings::TILE_MODELS){
if(tilesetFilenamePair.first==tilesetName){
const GameSettings::TileID newTileID{tileID+firstgid};
GameSettings::CONVERTED_TILE_MODELS[newTileID]=tilesetFilenamePair.second;
}
}
}
for(const LayerTag&layer:map.GetData().GetLayers()){
std::vector<std::vector<int32_t>>tiles{layer.tiles};
for(int y:std::ranges::iota_view(size_t(0),tiles.size())){
for(int x:std::ranges::iota_view(size_t(0),tiles[0].size())){
if(GameSettings::CONVERTED_TILE_MODELS.count(tiles[y][x])){
AddGameObject({float(x),0.f,float(y)},{2,2,2},GameObject::ObjectID::DEFAULT,GameSettings::CONVERTED_TILE_MODELS[tiles[y][x]],MeshType::SPRITE);
}
}
}
}
if(map.GetData().ZoneData.count("Building")>0){
const std::vector<ZoneData>&zones{map.GetData().ZoneData.at("Building")};
for(const ZoneData&zone:zones){

View File

@ -50,10 +50,10 @@ struct XMLTag{
const std::string FormatTagData(std::map<std::string,std::string>tiles);
friend std::ostream& operator << (std::ostream& os, XMLTag& rhs);
std::string str();
int GetInteger(std::string dataTag);
float GetFloat(std::string dataTag);
double GetDouble(std::string dataTag);
bool GetBool(std::string dataTag);
int GetInteger(std::string dataTag)const;
float GetFloat(std::string dataTag)const;
double GetDouble(std::string dataTag)const;
bool GetBool(std::string dataTag)const;
std::string GetString(std::string dataTag)const;
};
@ -102,7 +102,6 @@ private:
MapTag MapData;
std::string name;
Renderable*optimizedTile=nullptr;
std::vector<XMLTag> TilesetData;
std::vector<LayerTag> LayerData;
std::string mapType="";
std::set<std::string>spawns;
@ -125,6 +124,7 @@ public:
friend std::ostream& operator << (std::ostream& os, std::vector<XMLTag>& rhs);
const std::string&GetBGM()const;
std::map<std::string,std::vector<::ZoneData>>ZoneData;
std::vector<XMLTag> TilesetData;
};
struct Property{
@ -175,20 +175,20 @@ class TMXParser{
"(width:"<<rhs.width<<", height:"<<rhs.height<<", Tile width:"<<rhs.tilewidth<<", Tile height:"<<rhs.tileheight<<",playerSpawnLocation:"<<rhs.playerSpawnLocation<<")\n";
return os;
}
int XMLTag::GetInteger(std::string dataTag) {
return std::stoi(data[dataTag]);
int XMLTag::GetInteger(std::string dataTag)const{
return std::stoi(data.at(dataTag));
}
float XMLTag::GetFloat(std::string dataTag) {
return std::stof(data[dataTag]);
float XMLTag::GetFloat(std::string dataTag)const{
return std::stof(data.at(dataTag));
}
double XMLTag::GetDouble(std::string dataTag) {
return std::stod(data[dataTag]);
double XMLTag::GetDouble(std::string dataTag)const{
return std::stod(data.at(dataTag));
}
std::string XMLTag::GetString(std::string dataTag)const{
return data.at(dataTag);
}
bool XMLTag::GetBool(std::string dataTag) {
if (data[dataTag]=="0"||data[dataTag]=="false") {
bool XMLTag::GetBool(std::string dataTag)const{
if (data.at(dataTag)=="0"||data.at(dataTag)=="false") {
return false;
}else{
return true;