1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-28 06:37:44 +00:00
novus/exdviewer/src/main.cpp

16 lines
348 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
2022-03-16 00:31:24 -04:00
#include <QApplication>
#include <physis.hpp>
2022-03-15 15:34:38 -04:00
2022-03-16 00:31:24 -04:00
#include "mainwindow.h"
2022-03-15 15:34:38 -04:00
int main(int argc, char* argv[]) {
2022-03-16 00:31:24 -04:00
QApplication app(argc, argv);
2022-03-15 15:34:38 -04:00
MainWindow w(physis_gamedata_initialize(argv[1]));
2022-03-16 00:31:24 -04:00
w.show();
2022-03-15 15:34:38 -04:00
2022-03-16 00:31:24 -04:00
return app.exec();
2022-03-15 15:34:38 -04:00
}