Changeset 7218 in orxonox.OLD for branches/std/src/lib/graphics
- Timestamp:
- Mar 12, 2006, 3:00:04 PM (19 years ago)
- Location:
- branches/std/src/lib/graphics
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/lib/graphics/effects/lense_flare.cc
r7216 r7218 131 131 * @param mode the mode character 132 132 */ 133 GLint LenseFlare:: charToFogMode(const char*mode)133 GLint LenseFlare::stringToFogMode(const std::string& mode) 134 134 {} 135 135 -
branches/std/src/lib/graphics/effects/lense_flare.h
r7216 r7218 43 43 44 44 private: 45 GLint charToFogMode(const char*mode);45 GLint stringToFogMode(const std::string& mode); 46 46 void setSourceVisibility(bool visibility) ; 47 47 -
branches/std/src/lib/graphics/importer/static_model.cc
r7210 r7218 499 499 * String is different from the argument addFace, 500 500 * in this, that the first Vertex/Normal/Texcoord is 1 instead of 0 501 * 502 * @TODO make it std::string conform 501 503 */ 502 504 bool StaticModel::addFace (const std::string& faceStringInput) -
branches/std/src/lib/graphics/importer/texture_sequence.cc
r6624 r7218 124 124 * @returns true on success 125 125 */ 126 bool TextureSequence::addFrame(const char*imageName)126 bool TextureSequence::addFrame(const std::string& imageName) 127 127 { 128 if (imageName == NULL) 129 return false; 130 131 SDL_Surface* addSurface = IMG_Load(imageName); 128 SDL_Surface* addSurface = IMG_Load(imageName.c_str()); 132 129 bool success = this->addFrame(addSurface); 133 130 delete addSurface; -
branches/std/src/lib/graphics/importer/texture_sequence.h
r7195 r7218 23 23 bool loadImageSeries(unsigned int count, ...); 24 24 bool loadImageSeries(unsigned int count, va_list textureNames); 25 bool addFrame(const char*image);25 bool addFrame(const std::string& image); 26 26 bool addFrame(SDL_Surface* surface); 27 27 bool addFrame(GLuint texture);
Note: See TracChangeset
for help on using the changeset viewer.