blob: 5d168eba45e6f397fe7aae6d2e3462063285059b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2023 Gabriel Jensen.
use crate::dw::app::App;
use crate::dw::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);
let mut gfx = self.inigfx();
let cod = self.lop(&mut gfx);
println!("goodbye");
eprintln!("exiting with code {}",cod);
return cod;
}
}
|