tools/templates/main.cpp
author nemo
Mon, 23 May 2011 11:25:37 -0400
changeset 5215 d4c529624460
parent 359 59fbfc65fbda
permissions -rw-r--r--
Try and avoid problem reported by users like RDChrisco with cards that only support 512 texture size, and disable backgrounds. Also, reorganise the rq flags sprite loading a bit. Needs testing to make sure it matches the sprite uses. It should though.

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}