Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2005, 6:43:39 PM (18 years ago)
Author:
hdavid
Message:

branches\avi_play: added ability to get the frames in a list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/graphics/importer/texture_sequence.cc

    r6149 r6163  
    150150  this->setAlpha(hasAlpha);
    151151
    152   //PRINTF(1)("added frame");
     152  return true;
     153}
    153154
    154   return true;
     155bool TextureSequence::addFrameList(std::vector<SDL_Surface*> surfaces)
     156{
     157  // add the surfaces to the list
     158  for(int i = 0; i < surfaces.size(); i++)
     159    this->addFrame(surfaces[i]);
    155160}
    156161
Note: See TracChangeset for help on using the changeset viewer.