tools/drawMapTest/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Fri, 31 Aug 2018 21:34:33 +0200
changeset 13728 247d1bcf3c5e
parent 4425 2314bb0c433d
permissions -rw-r--r--
Add 2nd optional parameter to HedgewarsScriptLoad. If false, its OK if file does not exist. Also, return true/false on success
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4425
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     1
#include <QtGui/QApplication>
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     2
#include "mainwindow.h"
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     3
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     4
int main(int argc, char *argv[])
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     5
{
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     6
    QApplication a(argc, argv);
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     7
    MainWindow w;
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     8
    w.show();
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
     9
    return a.exec();
2314bb0c433d Small testing app for DrawMap scene
unc0rr
parents:
diff changeset
    10
}