Initial commit of current work on Prime World Editor

This commit is contained in:
parax0
2015-07-26 17:39:49 -04:00
commit 66e8c2ebcb
305 changed files with 33469 additions and 0 deletions

24
UI/CNodeSelection.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef CNODESELECTION_H
#define CNODESELECTION_H
#include <list>
#include <Scene/CSceneNode.h>
class CSceneSelection
{
CSceneManager *mpScene;
std::vector<CSceneNode*> mSelectedNodes;
public:
CSceneSelection(CSceneManager *pScene);
void SelectNode(CSceneNode *pNode);
void DeselectNode(CSceneNode *pNode);
u32 SelectionSize();
CSceneNode* NodeByIndex(u32 Index);
void ClearSelection();
// Operators
CSceneNode* operator[](u32 Index);
};
#endif // CNODESELECTION_H