use std::{fmt::Debug, marker::PhantomData}; use egui_inspect::{derive::Inspect, Inspect}; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Inspect)] pub struct TileDef where { pub layer: (), //ADD pub blend_graphic: String, } impl Debug for TileDef where { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { loop {} } } impl Default for TileDef<> where { fn default() -> Self { loop {} } } #[derive(Serialize, Deserialize, Debug, Inspect, Clone, Copy)] pub struct TileBb { pub x: u8, pub y: u8, pub w: u8, pub h: u8, } // this is actually used #[derive(Serialize, Deserialize, Debug, Inspect)] pub struct TileDb { unknown_bg: TileDef, }