Changeset 6353 in orxonox.OLD for branches/avi_play/src/subprojects
- Timestamp:
- Dec 30, 2005, 8:34:22 PM (19 years ago)
- Location:
- branches/avi_play/src/subprojects/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/movie_player_test.cc
r6339 r6353 21 21 #include "movie_player.h" 22 22 23 //MoviePlayer* movie_player;23 MoviePlayer* movie_player; 24 24 25 25 void Framework::moduleInit(int argc, char** argv) 26 26 { 27 //movie_player = new MoviePlayer(argv[1]);27 movie_player = new MoviePlayer(argv[1]); 28 28 29 //movie_player->printInformation();29 movie_player->printInformation(); 30 30 } 31 31 32 32 void Framework::moduleEventHandler(SDL_Event* event) 33 33 { 34 /*switch (event->type)34 switch (event->type) 35 35 { 36 36 case SDL_KEYDOWN: … … 58 58 break; 59 59 } 60 } */60 } 61 61 } 62 62 63 63 void Framework::moduleTick(float dt) 64 64 { 65 //movie_player->tick(dt);65 movie_player->tick(dt); 66 66 } 67 67 68 68 void Framework::moduleDraw(void) const 69 69 { 70 //movie_player->draw();70 movie_player->draw(); 71 71 } 72 72 -
branches/avi_play/src/subprojects/importer/multitex.cc
r6350 r6353 78 78 counter = 0; 79 79 timer = 0; 80 PRINTF(0)("total_frames: %i\n", media_container->getFrameCount());81 80 SDL_Delay(1000); 82 81 break; … … 109 108 counter = 0; 110 109 PRINTF(0)("BEGIN\n"); 110 PRINTF(0)("total_frames: %i\n", media_container->getFrameCount()); 111 111 } 112 112 }
Note: See TracChangeset
for help on using the changeset viewer.