summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: be70826938d60cc960ca0f2b11fda7a412992d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#include <cstdio>
#include <exception>

#include "asset-manager.hpp"
#include "window.hpp"

PKEWindowProperties windowProps{};

int main() { 
	printf("PKE ENTERING\n");
	try {
		AssetManagerInit();
		CreateWindow(&windowProps);
	} catch (const std::exception &exc) {
		printf("EXCEPTION: %s\n", exc.what());
	} catch (...) {
		printf("UNHANDLED EXCEPTION\n");
	}
	DestroyWindow();
	printf("PKE EXITING\n");
	return 0;
}