Changeset 5860 in orxonox.OLD for trunk/src/lib/graphics/importer/multi_frame_texture.cc
- Timestamp:
- Dec 1, 2005, 8:38:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/multi_frame_texture.cc
r5858 r5860 34 34 MultiFrameTexture::MultiFrameTexture(unsigned int count, ...) 35 35 { 36 this->setClassID(CL_ TEXTURE, "Texture");36 this->setClassID(CL_MULTI_FRAME_TEXTURE, "MultiFrameTexture"); 37 37 38 va_list textureNameList; 39 va_start(textureNameList, count); 40 41 this->loadImageSeries(count, textureNameList); 38 42 } 39 43 … … 48 52 49 53 50 54 /** 55 * rebuilds all the textures from the Images stored in this FrameSequence 56 */ 51 57 bool MultiFrameTexture::rebuild() 52 58 { … … 64 70 65 71 } 72 73 74 75 bool MultiFrameTexture::loadImageSeries(unsigned int count, ...) 76 { 77 va_list textureNameList; 78 va_start(textureNameList, count); 79 80 this->loadImageSeries(count, textureNameList); 81 } 82 83 bool MultiFrameTexture::loadImageSeries(unsigned int count, va_list textures) 84 { 85 86 87 } 88 89 90 bool MultiFrameTexture::addFrame(const char* imageName) 91 { 92 93 94 } 95 96 97 bool MultiFrameTexture::addFrame(SDL_Surface* surface) 98 { 99 100 101 } 102 103
Note: See TracChangeset
for help on using the changeset viewer.