2015-06-15 16:33:24 +08:00
|
|
|
#include "main.h"
|
|
|
|
#include "AppDelegate.h"
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
|
2015-06-26 21:00:32 +08:00
|
|
|
#if _MSC_VER > 1800
|
|
|
|
#pragma comment(lib,"libcocos2d_2015.lib")
|
|
|
|
#pragma comment(lib,"libbox2d_2015.lib")
|
|
|
|
#pragma comment(lib,"libSpine_2015.lib")
|
|
|
|
#pragma comment(lib,"libbullet_2015.lib")
|
|
|
|
#pragma comment(lib,"librecast_2015.lib")
|
|
|
|
#else
|
|
|
|
#pragma comment(lib,"libcocos2d_2013.lib")
|
|
|
|
#pragma comment(lib,"libbox2d_2013.lib")
|
|
|
|
#pragma comment(lib,"libSpine_2013.lib")
|
|
|
|
#pragma comment(lib,"libbullet_2013.lib")
|
|
|
|
#pragma comment(lib,"librecast_2013.lib")
|
|
|
|
#endif
|
2015-06-15 16:33:24 +08:00
|
|
|
|
|
|
|
int APIENTRY _tWinMain(HINSTANCE hInstance,
|
|
|
|
HINSTANCE hPrevInstance,
|
|
|
|
LPTSTR lpCmdLine,
|
|
|
|
int nCmdShow)
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(hPrevInstance);
|
|
|
|
UNREFERENCED_PARAMETER(lpCmdLine);
|
|
|
|
|
|
|
|
// create the application instance
|
|
|
|
AppDelegate app;
|
|
|
|
return Application::getInstance()->run();
|
|
|
|
}
|