crystal-of-rhylil/windows/Crystal of Rhylil/main.cpp

35 lines
640 B
C++
Raw Normal View History

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"
extern boost::shared_ptr<TMyApplication> App;
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
}