2023-08-06 08:48:11 -04:00
|
|
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2022-04-11 21:59:37 -04:00
|
|
|
#include <QApplication>
|
2022-08-10 14:52:28 -04:00
|
|
|
#include <physis.hpp>
|
2022-04-11 21:59:37 -04:00
|
|
|
|
|
|
|
#include "mainwindow.h"
|
|
|
|
|
|
|
|
int main(int argc, char* argv[]) {
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
2023-04-09 15:31:19 -04:00
|
|
|
physis_initialize_logging();
|
|
|
|
|
2022-08-10 14:52:28 -04:00
|
|
|
MainWindow w(physis_gamedata_initialize(argv[1]));
|
2022-04-11 21:59:37 -04:00
|
|
|
w.show();
|
|
|
|
|
2023-04-09 15:31:19 -04:00
|
|
|
return QApplication::exec();
|
2022-04-11 21:59:37 -04:00
|
|
|
}
|