Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2005, 8:38:37 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: some initial work at MultiFrameTexture.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/multi_frame_texture.cc

    r5858 r5860  
    3434MultiFrameTexture::MultiFrameTexture(unsigned int count, ...)
    3535{
    36   this->setClassID(CL_TEXTURE, "Texture");
     36  this->setClassID(CL_MULTI_FRAME_TEXTURE, "MultiFrameTexture");
    3737
     38  va_list textureNameList;
     39  va_start(textureNameList, count);
     40
     41  this->loadImageSeries(count, textureNameList);
    3842}
    3943
     
    4852
    4953
    50 
     54/**
     55 * rebuilds all the textures from the Images stored in this FrameSequence
     56 */
    5157bool MultiFrameTexture::rebuild()
    5258{
     
    6470
    6571}
     72
     73
     74
     75bool MultiFrameTexture::loadImageSeries(unsigned int count, ...)
     76{
     77  va_list textureNameList;
     78  va_start(textureNameList, count);
     79
     80  this->loadImageSeries(count, textureNameList);
     81}
     82
     83bool MultiFrameTexture::loadImageSeries(unsigned int count, va_list textures)
     84{
     85
     86
     87}
     88
     89
     90bool MultiFrameTexture::addFrame(const char* imageName)
     91{
     92
     93
     94}
     95
     96
     97bool MultiFrameTexture::addFrame(SDL_Surface* surface)
     98{
     99
     100
     101}
     102
     103
Note: See TracChangeset for help on using the changeset viewer.