diff options
author | LawnCable <git@lawncable.net> | 2022-04-15 08:37:04 +0200 |
---|---|---|
committer | LawnCable <git@lawncable.net> | 2022-04-15 08:37:04 +0200 |
commit | d775eb1e9c6be67e5c07cabde79145b4ed3136e1 (patch) | |
tree | d51c17d4f55690e84e27fd8dcbe4f7e0110ad450 /src/lowlevel/data.rs | |
parent | 3e3f9d016e09493a37ae5935cecddb5a315350a6 (diff) | |
download | fast-tiled.rs-d775eb1e9c6be67e5c07cabde79145b4ed3136e1.tar.gz fast-tiled.rs-d775eb1e9c6be67e5c07cabde79145b4ed3136e1.tar.bz2 fast-tiled.rs-d775eb1e9c6be67e5c07cabde79145b4ed3136e1.tar.xz fast-tiled.rs-d775eb1e9c6be67e5c07cabde79145b4ed3136e1.zip |
improvements, wangset and images
alse parsing for may tileset related types
Diffstat (limited to 'src/lowlevel/data.rs')
-rw-r--r-- | src/lowlevel/data.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lowlevel/data.rs b/src/lowlevel/data.rs index 7b64a12..e2833b5 100644 --- a/src/lowlevel/data.rs +++ b/src/lowlevel/data.rs @@ -1,11 +1,13 @@ struct LayerData {} - +#[derive(Debug, PartialEq)] /// The encoding used to encode the tile layer data. When used, it can be “base64” and “csv” at the moment. pub enum Encoding { + /// Plain XML based, in <tile> tags + XML, Base64, CSV, } - +#[derive(Debug, PartialEq)] /// The compression used to compress the tile layer data. /// Tiled supports “gzip”, “zlib” and (as a compile-time option since Tiled 1.3) “zstd”. pub enum Compression { @@ -15,6 +17,7 @@ pub enum Compression { Zstd, } +#[derive(Debug, PartialEq)] pub struct EncodedData { pub encoding: Encoding, pub compression: Compression, |