Changeset 6339 in orxonox.OLD for branches/avi_play/src/subprojects/importer/importer.cc
- Timestamp:
- Dec 30, 2005, 1:51:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/importer.cc
r6286 r6339 25 25 #include "resource_manager.h" 26 26 27 MediaContainer* movie;28 27 29 28 void Framework::moduleInit(int argc, char** argv) 30 29 { 31 30 32 movie = new MediaContainer(argv[1]);33 34 // print information about the media file35 movie->printMediaInformation();36 37 SDL_Delay(1000);38 31 39 32 } … … 46 39 void Framework::moduleTick(float dt) 47 40 { 48 while(movie->getNextFrame() != NULL); 49 movie->saveCurrentFrame(); 41 50 42 } 51 43
Note: See TracChangeset
for help on using the changeset viewer.