Source

cocos2d-qt / main.cpp

Full commit
#include <QtGui/QApplication>
#include <QDir>
//here's the first one to change
#include "main_menu.h"
#include "Srcs/game_engine.h"


int main(int argc, char *argv[])
{
    QApplication::setGraphicsSystem("raster");
    QApplication app(argc, argv);

    FileUtils::shareFileUtils()->setResourceDirectory("resource");

    //set up audio playback
    AudioManager::setUpAudioManager();
    //here is the second main_menu to change
    Director::sharedDirector()->startWithScene(MainMenu::scene());
    return app.exec();
}