mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 22:17:43 +00:00
Added ability to rebuild the resource database from the project resources folder. Editor can detect if the resource database is corrupt on load and if so prompts the user to repair it.
This commit is contained in:
@@ -33,6 +33,7 @@ public:
|
||||
CEditorApplication(int& rArgc, char **ppArgv);
|
||||
~CEditorApplication();
|
||||
void InitEditor();
|
||||
bool CloseAllEditors();
|
||||
bool CloseProject();
|
||||
bool OpenProject(const QString& rkProjPath);
|
||||
void EditResource(CResourceEntry *pEntry);
|
||||
@@ -42,6 +43,8 @@ public:
|
||||
bool CookAllDirtyPackages();
|
||||
bool CookPackageList(QList<CPackage*> PackageList);
|
||||
|
||||
bool RebuildResourceDatabase();
|
||||
|
||||
// Accessors
|
||||
inline CGameProject* ActiveProject() const { return mpActiveProject; }
|
||||
inline CWorldEditor* WorldEditor() const { return mpWorldEditor; }
|
||||
|
||||
Reference in New Issue
Block a user