RD-1: Added an inital port of d_main.c/d_main.h. Added some other basic files

This commit is contained in:
Jim
2026-05-20 19:15:27 +01:00
parent 21aedec4d4
commit f0b04bbcc2
11 changed files with 934 additions and 1 deletions

16
src/main.rs Normal file
View File

@@ -0,0 +1,16 @@
mod d_main;
mod m_argv;
mod doomdef;
mod math;
/// Main entry pointz
///
fn main() {
if let Err(e) = std::panic::catch_unwind(|| {
d_main::D_DoomMain();
}) {
eprintln!("Panic in Doom Main: {:?}", e);
}
}