This commit is contained in:
欧志刚
2014-04-07 17:00:28 +08:00
commit de5a9bc9e0
232 changed files with 19977 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "../Classes/AppDelegate.h"
#include "cocos2d.h"
#include "CCEGLView.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string>
USING_NS_CC;
int main(int argc, char **argv)
{
// create the application instance
AppDelegate app;
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
eglView->setFrameSize(800, 480);
return CCApplication::sharedApplication()->run();
}