2010-11-27 18:25:31 +08:00
|
|
|
// 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
|
|
|
|
};
|
|
|
|
|
2011-01-14 17:42:37 +08:00
|
|
|
const AppResourceEntry HelloWorldResourceEntry =
|
2010-11-27 18:25:31 +08:00
|
|
|
{
|
|
|
|
(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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|