Changeset 10053 in orxonox.OLD for branches/mount_points
- Timestamp:
- Dec 13, 2006, 12:25:54 AM (18 years ago)
- Location:
- branches/mount_points/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
r10052 r10053 27 27 ObjectInformationFile::ObjectInformationFile() 28 28 { 29 this->init(); 29 30 } 30 31 … … 42 43 43 44 /** 45 * initizlizing function 46 */ 47 void ObjectInformationFile::init() 48 { 49 50 } 51 52 53 /** 44 54 * standard deconstructor 45 55 */ -
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.h
r10052 r10053 37 37 virtual ~ObjectInformationFile(); 38 38 39 private: 40 void init(); 39 41 40 42 -
branches/mount_points/src/world_entities/world_entity.cc
r10052 r10053 70 70 this->damage = 0.0f; // no damage dealt by a default entity 71 71 this->scaling = 1.0f; 72 this->oiFile = NULL; 72 73 73 74 /* OSOLETE */ … … 104 105 for (unsigned int i = 0; i < this->models.size(); i++) 105 106 this->setModel(NULL, i); 107 108 if( this->oiFile) 109 delete this->oiFile; 106 110 107 111 // Delete the obbTree … … 263 267 { 264 268 PRINTF(0)("loading the oif File: %s", fileName.c_str()); 269 270 this->oiFile = new ObjectInformationFile(fileName); 265 271 } 266 272
Note: See TracChangeset
for help on using the changeset viewer.