Changeset 4320 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- May 27, 2005, 1:13:42 AM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.cc
r4318 r4320 33 33 Camera::Camera(void) 34 34 { 35 this->setClassID(CL_CAMERA );35 this->setClassID(CL_CAMERA, "Camera"); 36 36 this->target = new CameraTarget(); 37 37 … … 190 190 CameraTarget::CameraTarget() 191 191 { 192 this->setClassID(CL_CAMERA_TARGET );192 this->setClassID(CL_CAMERA_TARGET, "CameraTarget"); 193 193 this->setMode(PNODE_MOVEMENT); 194 194 } -
orxonox/trunk/src/world_entities/character_attributes.cc
r4318 r4320 29 29 CharacterAttributes::CharacterAttributes () 30 30 { 31 this->setClassID(CL_CHARACTER_ATTRIBUTES );31 this->setClassID(CL_CHARACTER_ATTRIBUTES, "CharacterAttributes"); 32 32 } 33 33 -
orxonox/trunk/src/world_entities/satellite.cc
r4318 r4320 31 31 Satellite::Satellite (Vector axis, float speed) 32 32 { 33 this->setClassID(CL_SATELLITE );33 this->setClassID(CL_SATELLITE, "Satellite"); 34 34 this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); 35 35 this->speed = speed; -
orxonox/trunk/src/world_entities/skybox.cc
r4318 r4320 62 62 void SkyBox::preInit(void) 63 63 { 64 this->setClassID(CL_SKYBOX );64 this->setClassID(CL_SKYBOX, "SkyBox"); 65 65 this->skyModel = NULL; 66 66 this->material = new Material*[6]; -
orxonox/trunk/src/world_entities/terrain.cc
r4318 r4320 77 77 void Terrain::init(void) 78 78 { 79 this->setClassID(CL_TERRAIN );79 this->setClassID(CL_TERRAIN, "Terrain"); 80 80 this->objectList = 0; 81 81 } -
orxonox/trunk/src/world_entities/test_entity.cc
r4276 r4320 28 28 TestEntity::TestEntity () : WorldEntity() 29 29 { 30 this->setClassID(CL_TEST_ENTITY, "TestEntity"); 30 31 this->md2Model = new MD2Model(); 31 32 this->md2Model->loadModel(ResourceManager::getFullName("models/tris.md2")); -
orxonox/trunk/src/world_entities/test_gun.cc
r4311 r4320 45 45 : Weapon (parent, coordinate, direction) 46 46 { 47 this->setClassID(CL_TEST_GUN, "TestGun"); 47 48 this->model = (Model*)ResourceManager::getInstance()->load("models/test_gun.obj", OBJ, RP_CAMPAIGN); 48 49 this->idleTime = 0.2f; -
orxonox/trunk/src/world_entities/world_entity.cc
r4318 r4320 30 30 WorldEntity::WorldEntity(const TiXmlElement* root) 31 31 { 32 this->setClassID(CL_WORLD_ENTITY );32 this->setClassID(CL_WORLD_ENTITY, "WorldEntity"); 33 33 this->model = NULL; 34 34
Note: See TracChangeset
for help on using the changeset viewer.