mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-19 14:47:46 +00:00
You can now select which layers are currently visible in the object list view, and makes the performance *so much better* because it doesn't load everything by default.
22 lines
458 B
C++
22 lines
458 B
C++
// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#include <QObject>
|
|
|
|
#include <physis.hpp>
|
|
|
|
class AppState : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AppState(QObject *parent = nullptr);
|
|
|
|
QString basePath;
|
|
std::vector<std::pair<QString, physis_LayerGroup>> lgbFiles;
|
|
QList<uint32_t> visibleLayerIds;
|
|
|
|
Q_SIGNALS:
|
|
void mapLoaded();
|
|
void visibleLayerIdsChanged();
|
|
};
|