axmol/samples/Lua/TestLua/proj.linux/main.cpp

20 lines
410 B
C++
Raw Normal View History

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)
{
2012-08-02 13:02:59 +08:00
// create the application instance
AppDelegate app;
EGLView* eglView = new EGLView();
eglView->init("TestCPP",900,640);
return Application::getInstance()->run();
2012-08-02 13:02:59 +08:00
}