1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 13:07:44 +00:00
novus/mdlviewer/src/main.cpp
Joshua Goins 7407d26247 Overhaul mdlviewer to use the MDL part, and add the full model viewer
This is a major code overhaul for mdlviewer, which will make it easier
to extend and modify in the future (trust me, the old code was garbage).

The different views are now split up (SingleGearView, FullModelViewer,
and MDLPart) which makes the functionality easier to handle, and less
error-prone.

Right now bone debugging is disabled (not that it worked that well
anyway) but will be brought back in a future commit.
2023-04-09 15:31:19 -04:00

15 lines
No EOL
280 B
C++

#include <QApplication>
#include <physis.hpp>
#include "mainwindow.h"
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
physis_initialize_logging();
MainWindow w(physis_gamedata_initialize(argv[1]));
w.show();
return QApplication::exec();
}