2026-05-18 09:01:14 -05:00
|
|
|
/*
|
|
|
|
|
* Entry point for the Desktop Dungeon Generator.
|
|
|
|
|
* Handles application initialization, module declarations,
|
|
|
|
|
* and starts the eframe/egui event loop.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-05-18 08:35:44 -05:00
|
|
|
mod app;
|
2026-03-06 11:42:20 -06:00
|
|
|
mod exporter;
|
2026-05-18 08:35:44 -05:00
|
|
|
mod interact;
|
2026-03-06 08:41:39 -06:00
|
|
|
mod layout;
|
2026-05-18 08:35:44 -05:00
|
|
|
mod rendering;
|
2026-04-20 10:23:49 -05:00
|
|
|
mod saveandload;
|
2026-03-06 09:40:22 -06:00
|
|
|
mod seed;
|
2026-03-06 09:56:26 -06:00
|
|
|
mod settings;
|
2026-03-06 09:24:24 -06:00
|
|
|
mod ui;
|
2026-03-06 08:41:39 -06:00
|
|
|
|
2026-05-18 08:35:44 -05:00
|
|
|
use app::DungeonApp;
|
2026-03-24 09:06:48 -05:00
|
|
|
|
2026-03-19 13:49:42 -05:00
|
|
|
// Boot the native app and start the egui event loop.
|
2026-03-05 19:17:01 -06:00
|
|
|
fn main() -> eframe::Result<()> {
|
|
|
|
|
let options = eframe::NativeOptions::default();
|
|
|
|
|
|
|
|
|
|
eframe::run_native(
|
|
|
|
|
"Desktop Dungeon Generator",
|
|
|
|
|
options,
|
|
|
|
|
Box::new(|_cc| Ok(Box::new(DungeonApp::default()))),
|
|
|
|
|
)
|
|
|
|
|
}
|