mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-26 13:47:46 +00:00
Instead of extracting item sheets one at a time, it's now done on multiple threads. Loading gear is now faster since reused files are cached, switching between races is still wasteful, but it's a good enough improvement for now.
26 lines
No EOL
476 B
C++
26 lines
No EOL
476 B
C++
#pragma once
|
|
|
|
#include <QComboBox>
|
|
#include <QMainWindow>
|
|
#include <fmt/format.h>
|
|
#include <physis.hpp>
|
|
#include <unordered_map>
|
|
|
|
#include "fullmodelviewer.h"
|
|
#include "gearview.h"
|
|
#include "singlegearview.h"
|
|
|
|
struct GameData;
|
|
class FileCache;
|
|
|
|
class MainWindow : public QMainWindow {
|
|
public:
|
|
explicit MainWindow(GameData* data);
|
|
|
|
private:
|
|
SingleGearView* gearView = nullptr;
|
|
FullModelViewer* fullModelViewer = nullptr;
|
|
|
|
GameData& data;
|
|
FileCache cache;
|
|
}; |