Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2006, 12:24:11 PM (18 years ago)
Author:
bensch
Message:

trunk: better texture-sequence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/texture_sequence.h

    r8297 r8309  
    1010
    1111#include <vector>
    12 #include <stdarg.h>
    1312
    1413
     
    1817  public:
    1918    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);
    2121    virtual ~TextureSequence();
    2222
    2323    bool loadImageSeries(unsigned int count, ...);
    24     bool loadImageSeries(unsigned int count, va_list textureNames);
    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);
    2626    bool addFrame(const std::string& image);
    2727    bool addFrame(SDL_Surface* surface);
Note: See TracChangeset for help on using the changeset viewer.