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

30 lines
581 B
C++

#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)
{
int height = 480;
int width = 800;
if (SE::CreateEngine(width, height)) {
App->OuterInit(width, height, width, height);
MainLoop(App.get());
App->OuterDeinit();
SE::DestroyEngine();
}
return 0;
}