2012-08-02 13:02:59 +08:00
|
|
|
#include "../Classes/AppDelegate.h"
|
|
|
|
#include "cocos2d.h"
|
2012-09-26 15:23:10 +08:00
|
|
|
|
2012-08-24 17:55:29 +08:00
|
|
|
#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
|
|
|
|
2012-08-03 13:56:18 +08:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2012-08-02 13:02:59 +08:00
|
|
|
// create the application instance
|
2012-08-03 13:56:18 +08:00
|
|
|
AppDelegate app;
|
2013-01-28 18:32:34 +08:00
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
EGLView* eglView = EGLView::sharedOpenGLView();
|
2013-01-28 18:32:34 +08:00
|
|
|
eglView->setFrameSize(800, 480);
|
2012-11-01 15:38:48 +08:00
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
return Application::sharedApplication()->run();
|
2012-08-02 13:02:59 +08:00
|
|
|
}
|