blob: 5e39556b93bf9d17116a04d6a453901dfb75a6e0 (
plain) (
tree)
|
|
// Copyright 2023 Gabriel Jensen.
use crate::dw::app::App;
use crate::dw::{datpth,VER};
extern crate glfw;
impl App {
pub fn ini(&mut self) -> i8 {
println!("\x1B[0m\x1B[1mDeltaWorld\x1B[0m {}.{}.{} \u{2014} Copyright 2023 \x1B[0m\x1B[1mGabriel Jensen\x1B[0m.\n",VER.maj,VER.min,VER.pat);
eprintln!("data directory at \"{}\"",datpth());
self.inisig();
let mut gfx = self.inigfx();
let cod = self.lop(&mut gfx);
println!("goodbye");
eprintln!("exiting with code {}",cod);
return cod;
}
}
|