summaryrefslogblamecommitdiff
path: root/source/dw.rs
blob: 70ac3f8973918cf0cd5a527b39ad700d894dd58a (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                 
                 


                 











                   




                                                            


                                                   

 
            
// Copyright 2023 Gabriel Jensen.

pub struct VerTyp {
	pub maj: u64,
	pub min: u64,
	pub pat: u64,
}

pub const VER: VerTyp = VerTyp {
	maj: 0x0,
	min: 0x3,
	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"
	}
	else {
		panic!("data directory not found");
	}
}

pub mod app;