RD-1: Added an inital port of d_main.c/d_main.h. Added some other basic files
This commit is contained in:
16
src/main.rs
Normal file
16
src/main.rs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user