summaryrefslogblamecommitdiff
path: root/source/dw/app/ini.rs
blob: d0642593f8dea05f14708c97979b57a77884ab35 (plain) (tree)



















                                                                         
// Copyright 2023 Gabriel Jensen.

use crate::dw::app::App;
use crate::dw::VER;

extern crate glfw;

impl App {
	pub fn ini(&mut self) -> i8 {
		eprintln!("DeltaWorld {}.{}.{}",VER.maj,VER.min,VER.pat);

		let mut gfx = self.inigfx();

		while !gfx.win.should_close() {
			gfx.glfw.poll_events();
		}

		return 0x45;
	}
}