diff options
Diffstat (limited to 'source/dw.rs')
-rw-r--r-- | source/dw.rs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/source/dw.rs b/source/dw.rs index b09c2e6..70ac3f8 100644 --- a/source/dw.rs +++ b/source/dw.rs @@ -12,12 +12,26 @@ pub const VER: VerTyp = VerTyp { pat: 0x0, }; +#[allow(dead_code)] +pub struct Pos<T> { + x: T, + y: T, + z: T, +} + +#[allow(dead_code)] +pub struct Cub { + //pos +} + pub const fn datpth() -> &'static str { if cfg!(unix) { //return "/usr/share/local/deltaworld"; return "/home/delta/Repositories/deltaworld" } - return ""; + else { + panic!("data directory not found"); + } } pub mod app; |