Changeset 8087 in orxonox.OLD for branches/bsp_model/src/world_entities
- Timestamp:
- Jun 1, 2006, 5:10:54 PM (19 years ago)
- Location:
- branches/bsp_model/src/world_entities
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/WorldEntities.am
r8068 r8087 15 15 world_entities/test_entity.cc \ 16 16 world_entities/planet.cc \ 17 world_entities/bsp_entity.cc \ 17 18 \ 18 19 world_entities/weapons/test_gun.cc \ … … 67 68 test_entity.h \ 68 69 planet.h \ 70 bsp_entity.h \ 69 71 \ 70 72 weapons/test_gun.h \ -
branches/bsp_model/src/world_entities/bsp_entity.cc
r8083 r8087 16 16 #include "bsp_entity.h" 17 17 #include "util/loading/resource_manager.h" 18 using namespace std;19 18 20 19 CREATE_FACTORY(BSPEntity, CL_BSP_ENTITY); 20 21 21 22 /** 22 23 * constructs and loads a BSPEntity from a XML-element … … 42 43 { 43 44 printf("+++++++++++ LOADING NAME %s\n", name.c_str()); 44 45 45 46 this->bspManager->load(name.c_str(), 0.1f); 46 47 } … … 58 59 59 60 this->toList(OM_ENVIRON); 60 61 61 62 /** 62 63 * @todo: Write CL_BSP_ENTITY INTO THE src/defs/class_id.h (your own definition) … … 75 76 // all the clases this Entity is directly derived from must be called in this way, to load all settings. 76 77 // WorldEntity::loadParam(root); 77 78 78 79 LoadParam(root, "Name", this, BSPEntity, setName) 79 80 .describe("Sets the of the BSP file.");
Note: See TracChangeset
for help on using the changeset viewer.