This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues/pull-requests.
BlankWorld/main.cpp

15 lines
274 B
C++
Raw Normal View History

2017-05-21 11:11:56 +08:00
#include "global.h"
#include "Game.h"
#include "MiniEngine/MiniEngine_Event.h"
using namespace MiniEngine;
2017-05-21 10:56:58 +08:00
2017-05-21 11:11:56 +08:00
int AppMain()
2017-05-21 10:56:58 +08:00
{
2017-05-21 11:11:56 +08:00
wnd=Window("Blank World",1024,768);
rnd=wnd.getRenderer();
font=Font("msyh.ttf",18);
GameMain();
ReleaseGlobal();
2017-05-21 10:56:58 +08:00
return 0;
}