2013-01-19 22:25:53 +00:00
|
|
|
#include "main.h"
|
|
|
|
#include "include/Utils/Utils.h"
|
|
|
|
|
|
|
|
#include "boost/property_tree/ptree.hpp"
|
|
|
|
#include "boost/property_tree/xml_parser.hpp"
|
|
|
|
#include <set>
|
|
|
|
#include "boost/foreach.hpp"
|
|
|
|
|
|
|
|
|
2018-02-05 14:53:52 +00:00
|
|
|
extern std::shared_ptr<TMyApplication> App;
|
2013-01-19 22:25:53 +00:00
|
|
|
|
|
|
|
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
|
|
|
LPSTR lpszCmdLine, int nCmdShow)
|
|
|
|
{
|
2018-02-02 15:00:17 +00:00
|
|
|
|
|
|
|
//480x320
|
|
|
|
int height = 600;
|
2018-02-01 14:39:31 +00:00
|
|
|
int width = 800;
|
2013-01-19 22:25:53 +00:00
|
|
|
|
2018-02-02 15:00:17 +00:00
|
|
|
//int height = 480;
|
|
|
|
//int width = 800;
|
|
|
|
|
2018-02-01 14:39:31 +00:00
|
|
|
if (SE::CreateEngine(width, height)) {
|
|
|
|
|
|
|
|
App->OuterInit(width, height, width, height);
|
|
|
|
|
|
|
|
MainLoop(App.get());
|
|
|
|
|
|
|
|
App->OuterDeinit();
|
|
|
|
|
|
|
|
SE::DestroyEngine();
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
2013-01-19 22:25:53 +00:00
|
|
|
}
|