mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 22:17:43 +00:00
Changed game exporter to export from a full disc image using nod instead of a pre-extracted disc filesystem; also fixed issue with tabbing in/out with a file dialog open, and fixed a memory leak in CAnimSet
This commit is contained in:
@@ -12,6 +12,8 @@ class CResourceEntry;
|
||||
class CWorldEditor;
|
||||
class IEditor;
|
||||
|
||||
const int gkTickFrequencyMS = 8;
|
||||
|
||||
class CEditorApplication : public QApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -35,6 +37,9 @@ public:
|
||||
inline CResourceBrowser* ResourceBrowser() const { return mpResourceBrowser; }
|
||||
inline CProjectOverviewDialog* ProjectDialog() const { return mpProjectDialog; }
|
||||
|
||||
inline void SetEditorTicksEnabled(bool Enabled) { Enabled ? mRefreshTimer.start(gkTickFrequencyMS) : mRefreshTimer.stop(); }
|
||||
inline bool AreEditorTicksEnabled() const { return mRefreshTimer.isActive(); }
|
||||
|
||||
public slots:
|
||||
void AddEditor(IEditor *pEditor);
|
||||
void TickEditors();
|
||||
|
||||
Reference in New Issue
Block a user