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