Massive overhaul of property system done over the last few months. There is unfinished/broken stuff still, but it compiles now.

This commit is contained in:
Aruki
2018-06-22 15:24:04 -06:00
parent 7099b97529
commit ce3dfdc397
174 changed files with 4570 additions and 2050 deletions

View File

@@ -8,11 +8,12 @@
#include <QUndoCommand>
// todo: make this more general... it shouldn't be relying on a CPropertyModel pointer
class CResizeScriptArrayCommand : public IUndoCommand
//FIXME
/*class CResizeScriptArrayCommand : public IUndoCommand
{
CWorldEditor *mpEditor;
CPropertyPtr mpArray;
QVector<IProperty*> mDeletedProperties;
CWorldEditor* mpEditor;
IPropertyNew* mpArray;
QVector<IPropertyNew*> mDeletedProperties;
CPropertyModel *mpModel;
int mOldSize;
@@ -20,11 +21,11 @@ class CResizeScriptArrayCommand : public IUndoCommand
bool mNewSizeLarger;
public:
CResizeScriptArrayCommand(IProperty *pProp, CWorldEditor *pEditor, CPropertyModel *pModel, int NewSize);
CResizeScriptArrayCommand(IPropertyNew *pProp, CWorldEditor *pEditor, CPropertyModel *pModel, int NewSize);
~CResizeScriptArrayCommand();
void undo();
void redo();
bool AffectsCleanState() const { return true; }
};
};*/
#endif // CRESIZESCRIPTARRAYCOMMAND_H