diff --git a/src/reskit/cli/settings.rs b/src/reskit/cli/settings.rs
index c23281e..381a99d 100644
--- a/src/reskit/cli/settings.rs
+++ b/src/reskit/cli/settings.rs
@@ -11,7 +11,7 @@ pub struct Args {
}
-#[derive(Clone, ValueEnum)]
+#[derive(Clone, Debug, ValueEnum)]
pub enum TileOrder {
Tile,
Sprite
diff --git a/src/reskit/level/converter.rs b/src/reskit/level/converter.rs
index f2d8e5d..a44bc6d 100644
--- a/src/reskit/level/converter.rs
+++ b/src/reskit/level/converter.rs
@@ -1,7 +1,7 @@
use std::{error::Error, fs::read_to_string, path::Path, borrow::Cow};
use image::{DynamicImage, GenericImageView};
use roxmltree::Node;
-use crate::reskit::utility::print_warning;
+use crate::reskit::{utility::print_warning, cli::settings::TileOrder};
use super::ecs;
#[derive(Debug)]
@@ -15,8 +15,10 @@ pub struct TiledTilemap {
#[derive(Debug)]
pub struct TiledTileset {
+ pub first_gid: usize,
pub image: DynamicImage,
- pub palettes: Vec