mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-23 12:37:45 +00:00
21 lines
No EOL
529 B
C++
21 lines
No EOL
529 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#include <QApplication>
|
|
#include <physis.hpp>
|
|
|
|
#include "mainwindow.h"
|
|
#include "settings.h"
|
|
|
|
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()));
|
|
w.show();
|
|
|
|
return QApplication::exec();
|
|
} |