This commit is contained in:
vladislav.khorev committed 2013-02-10 12:47:51 +00:00
1 parent 287ab26da1
commit b3eb112ae3
7 files changed
+44 -86

No files matched your search

@@ -4,12 +4,25 @@
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
LPSTR lpszCmdLine, int nCmdShow)
{
//Create application
TAndroidApplication Application;
int width = 800;
int height = 480;
Application.Width = 800;
Application.Height = 480;
if (CreateEngine(width, height))
{
//MyApplication scope
{
TAndroidApplication Application;
//Start application
return MainLoop(Application);
Application.OuterInit(width, height, width, height);
MainLoop(&Application);
Application.OuterDeinit();
}
DestroyEngine();
}
return 0;
}