1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-21 19:57:44 +00:00
novus/armoury/src/main.cpp

21 lines
529 B
C++
Raw Normal View History

// 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"
#include "settings.h"
2022-04-11 21:59:37 -04:00
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
physis_initialize_logging();
const QString gameDir{getGameDirectory()};
const std::string gameDirStd{gameDir.toStdString()};
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
2022-04-11 21:59:37 -04:00
w.show();
return QApplication::exec();
2022-04-11 21:59:37 -04:00
}