- Timestamp:
- Feb 6, 2006, 1:29:20 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/class_id.h
r7035 r7041 172 172 CL_WATER = 0x00000308, 173 173 CL_PLANET = 0x00000309, 174 CL_BUILDING = 0x00000310, 174 175 175 176 // Playables 176 CL_SPACE_SHIP = 0x000003 0a,177 CL_HELICOPTER = 0x000003 0b,178 CL_SPAWNING_POINT = 0x000003 0c,179 CL_MD2_CREATURE = 0x000003 0d,180 CL_HOVER = 0x000003 0e,181 CL_TURBINE_HOVER = 0x000003 0f,177 CL_SPACE_SHIP = 0x0000035a, 178 CL_HELICOPTER = 0x0000035b, 179 CL_SPAWNING_POINT = 0x0000035c, 180 CL_MD2_CREATURE = 0x0000035d, 181 CL_HOVER = 0x0000035e, 182 CL_TURBINE_HOVER = 0x0000035f, 182 183 183 184 // Powerups 184 CL_TURRET_POWER_UP = 0x000003 11,185 CL_LASER_POWER_UP = 0x000003 12,186 CL_WEAPON_POWER_UP = 0x000003 13,187 CL_PARAM_POWER_UP = 0x000003 14,185 CL_TURRET_POWER_UP = 0x00000381, 186 CL_LASER_POWER_UP = 0x00000382, 187 CL_WEAPON_POWER_UP = 0x00000383, 188 CL_PARAM_POWER_UP = 0x00000384, 188 189 189 190 // Weapons 190 CL_TEST_GUN = 0x000003 30,191 CL_TURRET = 0x000003 31,192 CL_AIMING_TURRET = 0x000003 32,193 CL_CANNON = 0x000003 33,194 CL_TARGETING_TURRET = 0x000003 34,195 CL_HYPERBLASTER = 0x000003 35,191 CL_TEST_GUN = 0x000003a0, 192 CL_TURRET = 0x000003a1, 193 CL_AIMING_TURRET = 0x000003a2, 194 CL_CANNON = 0x000003a3, 195 CL_TARGETING_TURRET = 0x000003a4, 196 CL_HYPERBLASTER = 0x000003a5, 196 197 197 198 // Projectiles 198 CL_TEST_BULLET = 0x000003 40,199 CL_ROCKET = 0x000003 41,200 CL_LASER = 0x000003 42,201 CL_BOMB = 0x000003 43,202 CL_GROUND_TURRET = 0x000003 44,203 CL_GUIDED_MISSILE = 0x000003 45,204 CL_HYPERBLAST = 0x000003 46,199 CL_TEST_BULLET = 0x000003e0, 200 CL_ROCKET = 0x000003e1, 201 CL_LASER = 0x000003e2, 202 CL_BOMB = 0x000003e3, 203 CL_GROUND_TURRET = 0x000003e4, 204 CL_GUIDED_MISSILE = 0x000003e5, 205 CL_HYPERBLAST = 0x000003e6, 205 206 206 207 // NPC's -
trunk/src/world_entities/Makefile.am
r7028 r7041 62 62 world_entities/environments/water.cc \ 63 63 world_entities/environments/model_entity.cc \ 64 world_entities/environments/building.cc \ 64 65 \ 65 66 world_entities/elements/image_entity.cc \ … … 124 125 world_entities/environments/water.h \ 125 126 world_entities/environments/model_entity.h \ 127 world_entities/environments/building.h \ 126 128 \ 127 129 world_entities/elements/image_entity.h \ -
trunk/src/world_entities/environments/building.cc
r7040 r7041 16 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 17 17 18 #include " model_entity.h"18 #include "building.h" 19 19 20 20 #include "load_param.h" … … 24 24 25 25 26 CREATE_FACTORY( ModelEntity, CL_MODEL_ENTITY);26 CREATE_FACTORY(Building, CL_BUILDING); 27 27 28 28 /** 29 29 * initializes a skybox from a XmlElement 30 30 */ 31 ModelEntity::ModelEntity(const TiXmlElement* root)31 Building::Building(const TiXmlElement* root) 32 32 { 33 this->setClassID(CL_ MODEL_ENTITY, "ModelEntity");33 this->setClassID(CL_BUILDING, "Building"); 34 34 this->toList(OM_ENVIRON_NOTICK); 35 35 … … 42 42 * default destructor 43 43 */ 44 ModelEntity::~ModelEntity()44 Building::~Building() 45 45 { 46 46 } -
trunk/src/world_entities/environments/building.h
r7040 r7041 1 1 /*! 2 * @file model_entity.h3 * Definition of the ModelEntity, that handles the Display of an atmosphere for orxonox.2 * @file building.h 3 * Definition of the Building, that handles the Display of an atmosphere for orxonox. 4 4 */ 5 5 6 #ifndef _ MODEL_ENTITY_H7 #define _ MODEL_ENTITY_H6 #ifndef _BUILDING_H 7 #define _BUILDING_H 8 8 9 9 /* INCLUDES */ … … 12 12 /* FORWARD DECLARATION */ 13 13 14 //! A Class to handle a ModelEntity15 class ModelEntity: public WorldEntity14 //! A Class to handle a Building 15 class Building : public WorldEntity 16 16 { 17 17 public: 18 ModelEntity(const TiXmlElement* root);18 Building(const TiXmlElement* root); 19 19 20 virtual ~ ModelEntity();20 virtual ~Building(); 21 21 22 22 }; 23 23 24 #endif /* _ MODEL_ENTITY_H */24 #endif /* _BUILDING_H */ 25 25 26 26
Note: See TracChangeset
for help on using the changeset viewer.