tools/drawMapTest/main.cpp
author nemo
Sun, 03 Jun 2012 23:04:21 -0400
changeset 7174 80480d21e6ed
parent 4425 2314bb0c433d
permissions -rw-r--r--
Workaround for bug #144. This workaround had occurred to me a while ago, but wasn't sure if placing them unfairly was better than not placing them at all. Argument for not placing at all is people should probably abort the game when they notice it. Argument for placing unfairly is people can still abort, and if we really wanted them to abort, we should probably just have halted launch if all hogs failed to spawn. This way at least play can continue.
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
}