Changeset 9707 in orxonox.OLD for branches/new_class_id/src/world_entities/npcs
- Timestamp:
- Aug 25, 2006, 9:58:58 PM (19 years ago)
- Location:
- branches/new_class_id/src/world_entities/npcs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/new_class_id/src/world_entities/npcs/ground_turret.cc ¶
r9656 r9707 28 28 29 29 #include "effects/explosion.h" 30 30 31 31 32 CREATE_FACTORY(GroundTurret, CL_GROUND_TURRET); -
TabularUnified branches/new_class_id/src/world_entities/npcs/npc_test.cc ¶
r9235 r9707 30 30 #include "effects/explosion.h" 31 31 32 #include "class_id.h" 32 33 CREATE_FACTORY(NPC2, CL_NPC_TEST2); 33 34 NewObjectListDefinitionID(NPC2, CL_NPC_TEST2); 34 35 35 36 NPC2::NPC2(const TiXmlElement* root) 36 37 : NPC(NULL) 37 38 { 38 this-> setClassID(CL_NPC_TEST2, "NPC2");39 this->registerObject(this, NPC2::_objectList); 39 40 40 41 if ((float)rand()/RAND_MAX > .5f) -
TabularUnified branches/new_class_id/src/world_entities/npcs/npc_test.h ¶
r9235 r9707 9 9 10 10 class NPC2 : public NPC { 11 NewObjectListDeclaration(NPC2); 11 12 12 13 public:
Note: See TracChangeset
for help on using the changeset viewer.