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.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pbLoad_clicked();
void on_pbSave_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H