Changeset 8298 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jun 9, 2006, 3:03:55 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture_sequence.cc
r8297 r8298 134 134 frameSize++; 135 135 } 136 _imagePrefix += "." + extension; 137 printf("TESTING %s\n", _imagePrefix.c_str()); 136 138 137 139 PRINTF(4)("Found %d '#'s in %s... searching for LOD's\n", frameSize, imagePrefix.c_str()); … … 140 142 { 141 143 sprintf(tmpString, "%d", i); 142 _imagePrefix.replace(index+frameSize -strlen(tmpString), index+frameSize, tmpString);143 printf("TEST STRING %s\n", _imagePrefix.c_str());144 _imagePrefix.replace(index+frameSize -strlen(tmpString), strlen(tmpString), tmpString); 145 this->addFrame(_imagePrefix); 144 146 } 145 147 return true; … … 155 157 bool TextureSequence::addFrame(const std::string& imageName) 156 158 { 159 printf("adding %s\n", imageName.c_str()); 157 160 SDL_Surface* addSurface = IMG_Load(imageName.c_str()); 158 161 bool success = this->addFrame(addSurface); -
trunk/src/lib/gui/gl/glgui_cursor.cc
r8297 r8298 68 68 69 69 TextureSequence* seq = new TextureSequence(); 70 seq->loadImageSeries(" test_###", 0, 222, "png");70 seq->loadImageSeries("reap_mouse/reap_mouse_##", 0, 49, "tif"); 71 71 72 72 this->resize();
Note: See TracChangeset
for help on using the changeset viewer.