Changeset 6317 in orxonox.OLD for branches/avi_play/src/lib/graphics/importer/media_container.h
- Timestamp:
- Dec 27, 2005, 2:24:13 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/lib/graphics/importer/media_container.h
r6290 r6317 20 20 #include "base_object.h" 21 21 22 #include "glincl.h" 23 22 24 /* using namespace std is default, this needs to be here */ 23 25 using namespace std; … … 30 32 double fps; 31 33 SDL_Surface* surface; 34 GLuint texture; 32 35 uint8_t* data; 33 36 … … 44 47 int video_stream; 45 48 int duration; 49 int frame_num; 46 50 47 vector< SDL_Surface*> surface_list;51 vector<GLuint> texture_list; 48 52 49 53 public: … … 54 58 55 59 void init(); 56 SDL_Surface*getFrame(int frame_number);57 SDL_Surface*getNextFrame();58 vector< SDL_Surface*> getFrameList();60 GLuint getFrame(int frame_number); 61 GLuint getNextFrame(); 62 vector<GLuint> getFrameList(); 59 63 void loadMedia(const char* filename); 60 64
Note: See TracChangeset
for help on using the changeset viewer.