diff --git a/src/graphics.rs b/src/graphics.rs deleted file mode 100644 index 39b3d04..0000000 --- a/src/graphics.rs +++ /dev/null @@ -1,8 +0,0 @@ -use egui_inspect::derive::Inspect; -use serde::{Deserialize, Serialize}; - -#[derive(Default, Clone, Copy, Debug, Inspect, Serialize, Deserialize)] -pub(crate) struct ScreenVec {} -/// Screen position/offset scalar -/// We assume this game won't be played above 32767*32767 resolution -pub(crate) type ScreenSc = i16; diff --git a/src/main.rs b/src/main.rs index 158add0..1fef382 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,12 +7,10 @@ use res::Res; mod command; mod debug; mod game; -mod graphics; mod math; mod res; mod texture_atlas; mod tiles; -mod world; pub(crate) struct App { pub(crate) game: GameState, diff --git a/src/math.rs b/src/math.rs index 6fd4fef..385ba85 100644 --- a/src/math.rs +++ b/src/math.rs @@ -1,6 +1,4 @@ -use crate::world::TPosSc; use egui_inspect::derive::Inspect; -use num_traits::Num; use serde::{Deserialize, Serialize}; use std::fmt::Debug; #[derive(Clone, Copy, Debug, Inspect)] diff --git a/src/world.rs b/src/world.rs deleted file mode 100644 index 787829d..0000000 --- a/src/world.rs +++ /dev/null @@ -1,3 +0,0 @@ -use egui_inspect::derive::Inspect; -use std::fmt::Debug; -pub(crate) type TPosSc = u32;