1 2 3 4 5 6 7 8 9 10 11 12
//! Database module. pub use over::arr::Arr; pub use over::value::Value; pub use over::Obj as Database; use crate::GameResult; /// Loads all data for the game. pub fn load_data() -> GameResult<Database> { Ok(Database::from_file("data/game/main.over")?) }