mirror of https://github.com/axmolengine/axmol.git
28 lines
561 B
C++
28 lines
561 B
C++
// Application main file.
|
|
|
|
// Original file name: cocosTemplateEntry.cpp
|
|
// Generated by TOPS Builder:Project wizard,Date:2010-09-27
|
|
|
|
// uphone header
|
|
#include "TG3.h"
|
|
// cocos2d
|
|
#include "cocos2d.h"
|
|
// game
|
|
#include "AppDelegate.h"
|
|
|
|
|
|
Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
|
|
{
|
|
AppDelegate app;
|
|
|
|
#ifndef _TRANZDA_VM_ // on uphone emulator, we copy resources files to Work7/TG3/APP/ folder instead of zip file
|
|
cocos2d::CCFileUtils::setResource("TestCocos2dx.zip");
|
|
#endif
|
|
|
|
app.Run();
|
|
|
|
return 1;
|
|
}
|
|
|
|
|