tools/templates/main.cpp
author unc0rr
Thu, 12 Mar 2009 20:29:01 +0000
changeset 1888 e76274ce7365
parent 359 59fbfc65fbda
permissions -rw-r--r--
Add an ability to run engine without IPC connection. It requires two parameters: 1) ful path to share/hedgewars/Data 2) full path to record file (hwd_24 or hws_24) debug #0.txt will be created it path passed in 1st param

#include <QApplication>

#include "mainform.h"

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