tools/templates/main.cpp
author nemo
Mon, 30 Dec 2013 23:28:47 -0500
changeset 9892 5a0a7ef7af2d
parent 359 59fbfc65fbda
permissions -rw-r--r--
allow SDL 1.2 to at least do a 32767 map. We probably should add a TryDo somewhere to assert that limit on SDL 1.2 to avoid overflows. Ditto int version for SDL 2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
359
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     1
#include <QApplication>
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     2
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     3
#include "mainform.h"
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     4
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     5
int main(int argc, char *argv[])
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     6
{
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     7
    QApplication app(argc, argv);
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     8
    MyWindow *mainWin = new MyWindow;
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     9
    mainWin->show();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    10
    return app.exec();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    11
}