29 lines
584 B
Rust
29 lines
584 B
Rust
/*
|
|
* Entry point for the Desktop Dungeon Generator.
|
|
* Handles application initialization, module declarations,
|
|
* and starts the eframe/egui event loop.
|
|
*/
|
|
|
|
mod app;
|
|
mod exporter;
|
|
mod interact;
|
|
mod layout;
|
|
mod rendering;
|
|
mod saveandload;
|
|
mod seed;
|
|
mod settings;
|
|
mod ui;
|
|
|
|
use app::DungeonApp;
|
|
|
|
// Boot the native app and start the egui event loop.
|
|
fn main() -> eframe::Result<()> {
|
|
let options = eframe::NativeOptions::default();
|
|
|
|
eframe::run_native(
|
|
"Desktop Dungeon Generator",
|
|
options,
|
|
Box::new(|_cc| Ok(Box::new(DungeonApp::default()))),
|
|
)
|
|
}
|