tools/drawMapTest/main.cpp
author nemo
Sun, 02 Oct 2011 10:36:43 -0400
changeset 6081 537bbd5c1a62
parent 4425 2314bb0c433d
permissions -rw-r--r--
Basic test implementation of an ice flag. Allows for slick parts of terrain. Intended for ice gun, or "ice" mask on portions of land objects. In this test variant it is triggered on girders/objects/bridges of the snow/christmas theme, or on a map that uses blue as a mask colour. Probably needs sheepluva's slope detection to make slopes more slippery to climb.
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
}