Changeset 9715 in orxonox.OLD for branches/new_class_id/src/world_entities/npcs
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (18 years ago)
- Location:
- branches/new_class_id/src/world_entities/npcs
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/npcs/attractor_mine.cc
r9709 r9715 34 34 35 35 #include "class_id.h" 36 NewObjectListDefinitionID(AttractorMine, CL_ATTRACTOR_MINE);36 ObjectListDefinitionID(AttractorMine, CL_ATTRACTOR_MINE); 37 37 CREATE_FACTORY(AttractorMine); 38 38 #include "script_class.h" -
branches/new_class_id/src/world_entities/npcs/attractor_mine.h
r9709 r9715 9 9 10 10 class AttractorMine : public NPC { 11 NewObjectListDeclaration(AttractorMine);11 ObjectListDeclaration(AttractorMine); 12 12 13 13 public: -
branches/new_class_id/src/world_entities/npcs/door.cc
r9709 r9715 27 27 28 28 #include "class_id.h" 29 NewObjectListDefinitionID(Door, CL_DOOR);29 ObjectListDefinitionID(Door, CL_DOOR); 30 30 CREATE_FACTORY(Door); 31 31 … … 159 159 float distance; 160 160 161 for ( NewObjectList<Playable>::const_iterator it = Playable::objectList().begin();161 for (ObjectList<Playable>::const_iterator it = Playable::objectList().begin(); 162 162 it != Playable::objectList().end(); 163 163 ++it) … … 173 173 174 174 175 for ( NewObjectList<GenericNPC>::const_iterator it = GenericNPC::objectList().begin();175 for (ObjectList<GenericNPC>::const_iterator it = GenericNPC::objectList().begin(); 176 176 it != GenericNPC::objectList().end(); 177 177 ++it) -
branches/new_class_id/src/world_entities/npcs/door.h
r9709 r9715 21 21 class Door : public WorldEntity 22 22 { 23 NewObjectListDeclaration(Door);23 ObjectListDeclaration(Door); 24 24 25 25 public: -
branches/new_class_id/src/world_entities/npcs/gate.cc
r9709 r9715 32 32 33 33 #include "class_id.h" 34 NewObjectListDefinitionID(Gate, CL_GATE);34 ObjectListDefinitionID(Gate, CL_GATE); 35 35 CREATE_FACTORY(Gate); 36 36 … … 200 200 201 201 // for all players 202 for ( NewObjectList<Playable>::const_iterator it = Playable::objectList().begin();202 for (ObjectList<Playable>::const_iterator it = Playable::objectList().begin(); 203 203 it != Playable::objectList().end(); 204 204 ++it) … … 212 212 213 213 214 for ( NewObjectList<GenericNPC>::const_iterator it = GenericNPC::objectList().begin();214 for (ObjectList<GenericNPC>::const_iterator it = GenericNPC::objectList().begin(); 215 215 it != GenericNPC::objectList().end(); 216 216 ++it) -
branches/new_class_id/src/world_entities/npcs/gate.h
r9709 r9715 22 22 class Gate : public WorldEntity 23 23 { 24 NewObjectListDeclaration(Gate);24 ObjectListDeclaration(Gate); 25 25 26 26 public: -
branches/new_class_id/src/world_entities/npcs/generic_npc.cc
r9709 r9715 33 33 34 34 #include "class_id.h" 35 NewObjectListDefinitionID(GenericNPC, CL_GENERIC_NPC);35 ObjectListDefinitionID(GenericNPC, CL_GENERIC_NPC); 36 36 CREATE_FACTORY(GenericNPC); 37 37 -
branches/new_class_id/src/world_entities/npcs/generic_npc.h
r9709 r9715 25 25 class GenericNPC : public NPC 26 26 { 27 NewObjectListDeclaration(GenericNPC);27 ObjectListDeclaration(GenericNPC); 28 28 29 29 -
branches/new_class_id/src/world_entities/npcs/ground_turret.cc
r9709 r9715 31 31 #include "class_id.h" 32 32 33 NewObjectListDefinitionID(GroundTurret, CL_GROUND_TURRET);33 ObjectListDefinitionID(GroundTurret, CL_GROUND_TURRET); 34 34 CREATE_FACTORY(GroundTurret); 35 35 -
branches/new_class_id/src/world_entities/npcs/ground_turret.h
r9709 r9715 14 14 class GroundTurret : public NPC 15 15 { 16 NewObjectListDeclaration(GroundTurret);16 ObjectListDeclaration(GroundTurret); 17 17 18 18 public: -
branches/new_class_id/src/world_entities/npcs/network_turret.cc
r9709 r9715 32 32 33 33 #include "class_id.h" 34 NewObjectListDefinitionID(NetworkTurret, CL_NETWORK_TURRET);34 ObjectListDefinitionID(NetworkTurret, CL_NETWORK_TURRET); 35 35 CREATE_FACTORY(NetworkTurret); 36 36 -
branches/new_class_id/src/world_entities/npcs/network_turret.h
r9709 r9715 14 14 class NetworkTurret : public NPC 15 15 { 16 NewObjectListDeclaration(NetworkTurret);16 ObjectListDeclaration(NetworkTurret); 17 17 public: 18 18 NetworkTurret(const TiXmlElement* root = NULL); -
branches/new_class_id/src/world_entities/npcs/npc.cc
r9705 r9715 20 20 #include "npc.h" 21 21 22 NewObjectListDefinition(NPC);22 ObjectListDefinition(NPC); 23 23 24 24 NPC::NPC(const TiXmlElement* root) -
branches/new_class_id/src/world_entities/npcs/npc.h
r9705 r9715 8 8 9 9 class NPC : public WorldEntity { 10 NewObjectListDeclaration(NPC);10 ObjectListDeclaration(NPC); 11 11 public: 12 12 NPC (const TiXmlElement* root); -
branches/new_class_id/src/world_entities/npcs/npc_test.cc
r9709 r9715 31 31 32 32 #include "class_id.h" 33 NewObjectListDefinitionID(NPC2, CL_NPC_TEST2);33 ObjectListDefinitionID(NPC2, CL_NPC_TEST2); 34 34 CREATE_FACTORY(NPC2); 35 35 -
branches/new_class_id/src/world_entities/npcs/npc_test.h
r9707 r9715 9 9 10 10 class NPC2 : public NPC { 11 NewObjectListDeclaration(NPC2);11 ObjectListDeclaration(NPC2); 12 12 13 13 public: -
branches/new_class_id/src/world_entities/npcs/npc_test1.cc
r9705 r9715 25 25 #include "power_ups/laser_power_up.h" 26 26 27 NewObjectListDefinition(NPCTest1);27 ObjectListDefinition(NPCTest1); 28 28 29 29 NPCTest1::NPCTest1() -
branches/new_class_id/src/world_entities/npcs/npc_test1.h
r9705 r9715 8 8 9 9 class NPCTest1 : public NPC { 10 NewObjectListDeclaration(NPCTest1);10 ObjectListDeclaration(NPCTest1); 11 11 public: 12 12 NPCTest1 (); -
branches/new_class_id/src/world_entities/npcs/repair_station.cc
r9709 r9715 27 27 28 28 #include "class_id.h" 29 NewObjectListDefinitionID(RepairStation, CL_DOOR +1 );29 ObjectListDefinitionID(RepairStation, CL_DOOR +1 ); 30 30 CREATE_FACTORY(RepairStation); 31 31 -
branches/new_class_id/src/world_entities/npcs/repair_station.h
r9709 r9715 27 27 class RepairStation : public WorldEntity 28 28 { 29 NewObjectListDeclaration(RepairStation);29 ObjectListDeclaration(RepairStation); 30 30 public: 31 31 RepairStation (); -
branches/new_class_id/src/world_entities/npcs/space_turret.cc
r9712 r9715 30 30 31 31 #include "class_id.h" 32 NewObjectListDefinitionID(SpaceTurret, CL_SPACE_TURRET);32 ObjectListDefinitionID(SpaceTurret, CL_SPACE_TURRET); 33 33 CREATE_FACTORY(SpaceTurret); 34 34 -
branches/new_class_id/src/world_entities/npcs/space_turret.h
r9709 r9715 18 18 class SpaceTurret : public NPC 19 19 { 20 NewObjectListDeclaration(SpaceTurret);20 ObjectListDeclaration(SpaceTurret); 21 21 22 22 public:
Note: See TracChangeset
for help on using the changeset viewer.