tools/templates/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Sat, 11 Aug 2018 21:43:55 +0200
changeset 13651 56a925256039
parent 359 59fbfc65fbda
permissions -rw-r--r--
Add separate TotalRounds var for Lua to count the *actual* number of rounds that have been played The internal TotalRounds (now TotalRoundsPre) is really WTF to use from a Lua standpoint and rarely useful. Scripters usually want to know the real number of rounds.

#include <QApplication>

#include "mainform.h"

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