Changeset 8309 in orxonox.OLD for trunk/src/lib/graphics/importer/texture_sequence.h
- Timestamp:
- Jun 11, 2006, 12:24:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture_sequence.h
r8297 r8309 10 10 11 11 #include <vector> 12 #include <stdarg.h>13 12 14 13 … … 18 17 public: 19 18 TextureSequence(unsigned int count = 0, ...); 20 // Texture(TEXTURE_TYPE type, int resolution); 19 TextureSequence(const std::vector<std::string>*& textureNames); 20 // Texture(TEXTURE_TYPE type, int resolution); 21 21 virtual ~TextureSequence(); 22 22 23 23 bool loadImageSeries(unsigned int count, ...); 24 bool loadImageSeries(unsigned int count, va_listtextureNames);25 bool loadImageSeries(const std::string& imagePrefix, unsigned int from, unsigned int to , const std::string& extension = "png");24 bool loadImageSeries(unsigned int count, std::vector<std::string>& textureNames); 25 bool loadImageSeries(const std::string& imagePrefix, unsigned int from, unsigned int to); 26 26 bool addFrame(const std::string& image); 27 27 bool addFrame(SDL_Surface* surface);
Note: See TracChangeset
for help on using the changeset viewer.