axmol/HelloWorld/uphone/main.cpp

34 lines
725 B
C++

// Application main file.
// Original file name: cocosTemplateEntry.cpp
// Generated by TOPS Builder:Project wizard,Date:2010-09-27
// uphone headers
#include "TG3.h"
#include "helloworld_res_c.h"
// cocos2d
#include "AppDelegate.h"
const ResourceRegisterEntry ResRegList_HelloWorld[] =
{
TG_RESOURCE_DEFINE
};
const AppResourceEntry HelloWorldResourceEntry =
{
(ResourceRegisterEntry*)ResRegList_HelloWorld, // res list in this app
sizeof(ResRegList_HelloWorld) / sizeof(ResourceRegisterEntry), //number of item in res
};
Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
{
AppDelegate app;
app.Run();
return 1;
}