mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 04:25:00 +01:00
Add torches
This commit is contained in:
parent
704819a988
commit
77099ab8a6
13 changed files with 427 additions and 133 deletions
|
|
@ -5,6 +5,8 @@ mod graphics;
|
|||
mod input;
|
||||
mod math;
|
||||
mod res;
|
||||
mod stringfmt;
|
||||
mod tiles;
|
||||
mod world;
|
||||
mod worldgen;
|
||||
|
||||
|
|
@ -18,6 +20,9 @@ fn try_main() -> anyhow::Result<()> {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
env_logger::builder()
|
||||
.filter_level(log::LevelFilter::Info)
|
||||
.init();
|
||||
if let Err(e) = try_main() {
|
||||
rfd::MessageDialog::new()
|
||||
.set_title("Fatal error")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue