diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 51 |
1 files changed, 50 insertions, 1 deletions
@@ -17,4 +17,53 @@ After that is done there could be more high level methods/struct that provide mo Wishlist (things that would be nice): - serializing from rust types back to tmx/tsx (this needs including another xml lib, because roxmltree if fast because it is read-only) -- parsing from and serializing back to the tiled json based formats +- parsing from and serializing back to the tiled JSON based formats + +## Thanks to + +- https://docs.rs/tmx/0.3.1/ - Inspiration for data types. + +## Notes: + +Move: version="1.4" tiledversion="1.4.3" to some kind of file-wrapper type? Because it is also present in tilesets? Or just add those two to tileset and inherit it if its inline/embedded. + + +## progress + +| element | rust representation | parse from XML | tests for parse | +| -------------------- | ------------------- | -------------- | --------------- | +| `<map>` | partial | - | - | +| `<editorsettings>` | - | - | - | +| `.<chunksize>` | - | - | - | +| `.<export>` | - | - | - | +| `<tileset>` | partial | - | - | +| `.<tileoffset>` | complete | complete | complete | +| `.<grid>` | complete | complete | complete | +| `.<image>` | partial | - | - | +| `.<terraintypes>` | complete | - | - | +| `..<terrain>` | complete | complete | - | +| `.<transformations>` | complete | complete | complete | +| `.<tile>` | partial | - | - | +| `..<animation>` | complete | - | - | +| `.<frame>` | complete | - | - | +| `.<wangsets>` | partial | - | - | +| `..<wangset>` | partial | - | - | +| `...<wangcolor>` | complete | - | - | +| `...<wangtile>` | partial | - | - | +| `....Wang ID` | - | - | - | +| `<layer>` | - | - | - | +| `.<data>` | - | - | - | +| `.<chunk>` | - | - | - | +| `.<tile>` | - | - | - | +| `<objectgroup>` | - | - | - | +| `.<object>` | - | - | - | +| `.<ellipse>` | - | - | - | +| `.<point>` | - | - | - | +| `.<polygon>` | - | - | - | +| `.<polyline>` | - | - | - | +| `.<text>` | - | - | - | +| `<imagelayer>` | - | - | - | +| `<group>` | - | - | - | +| `<properties>` | complete | yes | yes | +| `.<property>` | complete | yes | yes | +| `<template>` | - | - | - | |