Changeset 9863 in orxonox.OLD for branches/new_class_id/src/lib
- Timestamp:
- Oct 2, 2006, 4:53:38 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/collision_reaction/collision_handle.h
r9715 r9863 64 64 65 65 std::vector<Collision*> collisionList; //!< a list full of collisions 66 /// TODO Take a std::set here! 66 67 std::vector<ClassID> targetList; //!< a list of target classes for filtering @TODO TAKE SET INSTEAD OF VECTOR HERE 67 68 -
branches/new_class_id/src/lib/graphics/importer/material.cc
r9833 r9863 261 261 } 262 262 263 264 265 /**266 * @brief Adds a Texture Path to the List of already existing Paths267 * @param pathName The Path to add.268 */269 void Material::addTexturePath(const std::string& pathName)270 {271 printf("HUPS\n");272 //ResourceManager::getInstance()->addImageDir(pathName);273 }274 263 275 264 /** -
branches/new_class_id/src/lib/graphics/importer/material.h
r9823 r9863 67 67 const Texture& diffuseTexture(unsigned int i = 0) const { return this->textures[i]; }; 68 68 69 static void addTexturePath(const std::string& pathName);70 71 69 static const std::string& blendFuncToString(GLenum blendFunc); 72 70 static GLenum stringToBlendFunc(const std::string& blendFuncString); -
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.cc
r9828 r9863 92 92 rebuildInfo(); 93 93 94 this->debug();94 //this->debug(); 95 95 } 96 96 -
branches/new_class_id/src/lib/graphics/importer/objModel.cc
r9831 r9863 19 19 20 20 #include <string.h> 21 #include "loading/resource_manager.h" 21 22 22 23 #define PARSELINELENGTH 8192 … … 76 77 else 77 78 this->objPath = "./"; 78 Material::addTexturePath(this->objPath);79 Resources::ResourceManager::getInstance()->addResourcePath("Texture", this->objPath); 79 80 80 81 this->readFromObjFile (fileName); -
branches/new_class_id/src/lib/graphics/text_engine/resource_font.cc
r9854 r9863 21 21 PRINTF(5)("NOT FOUND FONT: %s\n", fontName.c_str()); 22 22 std::string fileName = this->Resource::locateFile(fontName); 23 24 printf("FONTFILE %s TO %s\n", fontName.c_str(), fileName.c_str());25 23 26 24 this->Font::loadFontFromTTF(fileName, renderSize);
Note: See TracChangeset
for help on using the changeset viewer.