mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-22 20:17:46 +00:00
Use new settings in exdviewer, explorer and mdlviewer
This commit is contained in:
parent
127b57b820
commit
fdf935d85f
3 changed files with 12 additions and 3 deletions
|
@ -5,11 +5,14 @@
|
|||
#include <physis.hpp>
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include "settings.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
MainWindow w(physis_gamedata_initialize(argv[1]));
|
||||
const QString gameDir{getGameDirectory()};
|
||||
const std::string gameDirStd{gameDir.toStdString()};
|
||||
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <physis.hpp>
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include "settings.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
@ -15,7 +16,9 @@ int main(int argc, char* argv[]) {
|
|||
|
||||
app.setStyle("Windows");
|
||||
|
||||
MainWindow w(physis_gamedata_initialize(argv[1]));
|
||||
const QString gameDir{getGameDirectory()};
|
||||
const std::string gameDirStd{gameDir.toStdString()};
|
||||
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
|
|
|
@ -5,11 +5,14 @@
|
|||
#include <physis.hpp>
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include "settings.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
MainWindow w(physis_gamedata_initialize(argv[1]));
|
||||
const QString gameDir{getGameDirectory()};
|
||||
const std::string gameDirStd{gameDir.toStdString()};
|
||||
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
|
|
Loading…
Add table
Reference in a new issue