Update parsers to use more real C data.

This commit is contained in:
2025-06-23 22:23:18 -05:00
parent 22af9d1507
commit 24eab84f4f
17 changed files with 85 additions and 57 deletions

View File

@ -22,6 +22,21 @@
"NPC_INTERACT_TYPE_EVENT"
],
"valuesAsFlags": false
},
{
"id": 2,
"name": "tileSolidType",
"storageType": "string",
"type": "enum",
"values": [
"TILE_SOLID_NONE",
"TILE_SOLID_FULL",
"TILE_SOLID_TRIANGLE_TOP_RIGHT",
"TILE_SOLID_TRIANGLE_TOP_LEFT",
"TILE_SOLID_TRIANGLE_BOTTOM_RIGHT",
"TILE_SOLID_TRIANGLE_BOTTOM_LEFT"
],
"valuesAsFlags": false
}
]
}

View File

@ -36,7 +36,7 @@
"map.tmj"
],
"project": "map project.tiled-project",
"property.type": "string",
"property.type": "tileSolidType",
"recentFiles": [
"map.tmj",
"minogram.tsx",

View File

@ -437,8 +437,8 @@
"value":"NPC_INTERACT_TYPE_TEXT"
}],
"template":"templates\/NPC.tx",
"x":6575,
"y":6837.33333333333
"x":6575.625,
"y":6816.33333333333
}],
"opacity":1,
"type":"objectgroup",

View File

@ -13,7 +13,7 @@
</tile>
<tile id="18">
<properties>
<property name="solid" type="int" value="1"/>
<property name="solidType" propertytype="tileSolidType" value="TILE_SOLID_FULL"/>
</properties>
</tile>
<tile id="33">