2012-08-02 16:23:31 +08:00
|
|
|
#include "../Classes/AppDelegate.h"
|
2012-08-24 17:55:29 +08:00
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "CCEGLView.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string>
|
2012-08-02 13:02:59 +08:00
|
|
|
|
|
|
|
USING_NS_CC;
|
2012-08-24 17:55:29 +08:00
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
2013-03-09 02:00:21 +08:00
|
|
|
{
|
2012-08-02 13:02:59 +08:00
|
|
|
// create the application instance
|
2012-08-03 13:56:18 +08:00
|
|
|
AppDelegate app;
|
2013-09-18 17:00:21 +08:00
|
|
|
EGLView eglView;
|
|
|
|
eglView.init("TestCPP",900,640);
|
2013-07-15 16:24:42 +08:00
|
|
|
return Application::getInstance()->run();
|
2012-08-02 13:02:59 +08:00
|
|
|
}
|