tools/templates/main.cpp
author nemo
Tue, 22 Jun 2010 23:08:57 -0400
changeset 3537 8f5b3108f29c
parent 359 59fbfc65fbda
permissions -rw-r--r--
New approach to the low-res problem. Basically, we already have a 1024 minimum, and the tallest maps are restricting themselves to 2048 maximum. All backgrounds are scaled down 50%, then scaled up on draw. Saves memory, and backgrounds are already deliberately fuzzed for depth of field anyway.

#include <QApplication>

#include "mainform.h"

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