2010-10-01 07:35:28 +08:00
|
|
|
// Application main file.
|
|
|
|
|
|
|
|
// Original file name: cocosTemplateEntry.cpp
|
|
|
|
// Generated by TOPS Builder:Project wizard,Date:2010-09-27
|
|
|
|
|
|
|
|
#include "TG3.h"
|
2010-10-09 09:58:27 +08:00
|
|
|
#include "Cocos2dSimpleGameAppDelegate.h"
|
2010-10-01 07:35:28 +08:00
|
|
|
#include "cocostemplate_res_c.h"
|
|
|
|
|
|
|
|
const ResourceRegisterEntry ResRegList_cocosTemplate[] =
|
|
|
|
{
|
|
|
|
TG_RESOURCE_DEFINE
|
|
|
|
};
|
|
|
|
|
|
|
|
const AppResourceEntry cocosTemplateResourceEntry =
|
|
|
|
{
|
|
|
|
(ResourceRegisterEntry*)ResRegList_cocosTemplate, // res list in this app
|
|
|
|
sizeof(ResRegList_cocosTemplate) / sizeof(ResourceRegisterEntry), //number of item in res
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
|
|
|
|
{
|
|
|
|
AppDelegate app;
|
|
|
|
// app.WM_SetResourceEntry(&cocosTemplateResourceEntry);
|
|
|
|
app.Run();
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|