- Timestamp:
- Jan 3, 2007, 3:19:45 PM (18 years ago)
- Location:
- branches/mount_points/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/bsp/bsp_file.cc
r10033 r10165 430 430 char fileName [500]; 431 431 char ext [500]; 432 struct stat results;433 432 434 433 … … 660 659 int errorCode = 0; //!< the error code for the texture loading functions 661 660 unsigned int lightMap; //!< the OpenGL texture handle 662 int mipmapLevel = 0; //!< the maximum mipmap level for this texture663 int mipmapWidth = 0; //!< the width of the mipmap664 int mipmapHight = 0; //!< the height of the mipmap3661 //int mipmapLevel = 0; //!< the maximum mipmap level for this texture 662 //int mipmapWidth = 0; //!< the width of the mipmap 663 //int mipmapHight = 0; //!< the height of the mipmap3 665 664 float sc, scale, temp; 666 665 for(int i = 0; i < 128*128*3 ; i++) … … 1101 1100 { 1102 1101 int sto = array[0]; 1103 array[0] = scale * array[1] ;1104 array[1] = scale * array[2];1105 array[2] = scale * sto ;1102 array[0] = (int) scale * array[1] ; 1103 array[1] = (int) scale * array[2]; 1104 array[2] = (int) scale * sto ; 1106 1105 } 1107 1106 -
branches/mount_points/src/lib/graphics/importer/static_model.cc
r10147 r10165 116 116 117 117 // now check if it is a mount point identifier 118 if( this->data->getGroups().size() != 5) { 119 PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object\n", groupName.c_str()); 118 if( (*groupIt)._faces.size() != 6) { PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object (got %i faces)\n", groupName.c_str(), (*groupIt)._faces.size()); 120 119 } 121 120 … … 135 134 } 136 135 137 // vertex with the max count is the up-point136 // vertex with the max surrounding faces is the up-point (pyramid like object) 138 137 std::vector<Vector>::const_iterator it = vertices.begin(); 139 138 Vector tmpPoint; … … 167 166 center /= vertices.size(); 168 167 168 PRINTF(0)("Up Point\n"); 169 upPoint.debug(); 170 171 PRINTF(0)("Center\n"); 172 center.debug(); 169 173 170 174 } -
branches/mount_points/src/lib/graphics/importer/static_model_data.h
r10147 r10165 41 41 ObjectListDeclaration(StaticModelData); 42 42 43 p rivate:43 public: 44 44 //////////////////// 45 45 /// SUB-ELEMENTS /// -
branches/mount_points/src/story_entities/movie_loader.cc
r10114 r10165 63 63 64 64 65 ErrorMessage MovieLoader::init() { }65 ErrorMessage MovieLoader::init() { return ErrorMessage();} 66 66 67 67 68 ErrorMessage MovieLoader::loadData() { }68 ErrorMessage MovieLoader::loadData() { return ErrorMessage();} 69 69 70 70 … … 72 72 { 73 73 this->unsubscribeEvents(ES_GAME); 74 75 return ErrorMessage(); 74 76 } 75 77 … … 82 84 this->bRunning = true; 83 85 this->run(); 86 87 return true; 84 88 } 85 89 … … 89 93 90 94 this->bRunning = false; 95 96 return true; 91 97 } 92 98 93 bool MovieLoader::pause() { }94 bool MovieLoader::resume() { }99 bool MovieLoader::pause() { return false; } 100 bool MovieLoader::resume() { return false; } 95 101 96 102 void MovieLoader::run()
Note: See TracChangeset
for help on using the changeset viewer.