2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 02:15:07 +00:00

Add debug tool CVars, implementing warping capability

This commit is contained in:
2021-02-27 18:35:15 -08:00
parent 3b9da77bd2
commit 277c7fe1df
7 changed files with 705 additions and 383 deletions

27
hecl-gui/LayerDialog.hpp Normal file
View File

@@ -0,0 +1,27 @@
#ifndef LAYERDIALOG_HPP
#define LAYERDIALOG_HPP
#include <QDialog>
#include <memory>
namespace Ui {
class LayerDialog;
} // namespace Ui
struct Layer {
QString name;
bool active;
};
class LayerDialog : public QDialog {
Q_OBJECT
std::unique_ptr<Ui::LayerDialog> m_ui;
public:
explicit LayerDialog(QWidget* parent = nullptr);
~LayerDialog() override;
void createLayerCheckboxes(QList<Layer> layers);
QString getLayerBits() const;
};
#endif