31 #include "common/list.h" 32 #include "hpl1/engine/game/SaveGame.h" 33 #include "hpl1/engine/math/MathTypes.h" 34 #include "hpl1/engine/scene/Entity.h" 35 #include "hpl1/engine/system/Container.h" 44 typedef cSTLIterator<iNode *, tNodeList, tNodeListIt> cNodeIterator;
48 kSaveData_BaseClass(iNode) {
49 kSaveData_ClassInit(iNode) public : cContainerList<int> mlstEntities;
50 cContainerList<int> mlstNodes;
59 iNode() : mbActive(
true) {}
62 int SetVisible(
bool abX,
bool abCascade);
63 bool AddEntity(
iEntity *apEntity);
64 bool RemoveEntity(
iEntity *apEntity);
67 void SetActive(
bool abX) { mbActive = abX; }
68 bool IsActive() {
return mbActive; }
70 virtual iNode *CreateChild() = 0;
72 cNodeIterator GetChildIterator();
virtual iSaveData * CreateSaveData()
Definition: Node.h:76
Definition: SaveGame.h:130
virtual void LoadFromSaveData(iSaveData *apSaveData)
Definition: SystemTypes.h:411
Definition: SaveGame.h:111
virtual void SaveToSaveData(iSaveData *apSaveData)
ListInternal::Iterator< t_T > iterator
Definition: list.h:52
Definition: SaveGame.h:183
virtual void SaveDataSetup(cSaveObjectHandler *apSaveObjectHandler, cGame *apGame)