mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 17:35:43 +00:00
Added project settings dialog; added build name lookup functionality
This commit is contained in:
34
src/Editor/CProjectSettingsDialog.h
Normal file
34
src/Editor/CProjectSettingsDialog.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef CPROJECTSETTINGSDIALOG_H
|
||||
#define CPROJECTSETTINGSDIALOG_H
|
||||
|
||||
#include "Editor/WorldEditor/CWorldEditor.h"
|
||||
#include <Core/GameProject/CGameProject.h>
|
||||
#include <Core/Resource/CWorld.h>
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class CProjectSettingsDialog;
|
||||
}
|
||||
|
||||
class CProjectSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Ui::CProjectSettingsDialog *mpUI;
|
||||
CGameProject *mpProject;
|
||||
|
||||
QVector<CResourceEntry*> mWorldEntries;
|
||||
QVector<CResourceEntry*> mAreaEntries;
|
||||
TResPtr<CWorld> mpWorld;
|
||||
|
||||
public:
|
||||
explicit CProjectSettingsDialog(QWidget *pParent = 0);
|
||||
~CProjectSettingsDialog();
|
||||
|
||||
public slots:
|
||||
void ActiveProjectChanged(CGameProject *pProj);
|
||||
void SetupPackagesList();
|
||||
void CookPackage();
|
||||
void CookAllDirtyPackages();
|
||||
};
|
||||
|
||||
#endif // CPROJECTSETTINGSDIALOG_H
|
||||
Reference in New Issue
Block a user