summaryrefslogtreecommitdiff
path: root/source/dw/app/ini.rs
blob: d0642593f8dea05f14708c97979b57a77884ab35 (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 {
		eprintln!("DeltaWorld {}.{}.{}",VER.maj,VER.min,VER.pat);

		let mut gfx = self.inigfx();

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

		return 0x45;
	}
}