Changeset 6611 in orxonox.OLD for branches/avi_play/src/story_entities/movie_loader.cc
- Timestamp:
- Jan 19, 2006, 12:35:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/story_entities/movie_loader.cc
r6604 r6611 20 20 #include "graphics_engine.h" 21 21 #include "load_param.h" 22 #include "resource_manager.h"23 22 #include "state.h" 24 23 … … 36 35 } 37 36 38 MovieLoader::~MovieLoader() 37 MovieLoader::~MovieLoader() 39 38 { 40 PRINTF(4)("Deleted MoviePlayer\n");39 delete this->movie_player; 41 40 } 42 41 … … 53 52 { 54 53 movie_player->loadMovie(filename); 55 56 PRINTF(0)("\nloaded Movie %s\n\n", filename);57 54 } 58 55 59 56 60 ErrorMessage MovieLoader::init() 61 { 62 63 } 57 ErrorMessage MovieLoader::init() {} 64 58 65 59 66 ErrorMessage MovieLoader::loadData() 67 { 68 69 } 60 ErrorMessage MovieLoader::loadData() {} 70 61 71 62 72 ErrorMessage MovieLoader::unloadData() 73 { 74 75 } 63 ErrorMessage MovieLoader::unloadData() {} 76 64 77 65 bool MovieLoader::start() 78 66 { 79 PRINTF(0)("\nMovieLoader INFO:\n"); 80 movie_player->printInformation(); 81 PRINTF(0)("\n"); 82 67 this->movie_player->start(0); 68 83 69 this->isRunning = true; 84 85 70 this->run(); 86 71 } … … 98 83 // first timestamp for t = 0 99 84 this->lastFrame = SDL_GetTicks (); 100 this->movie_player->start(0);101 85 102 86 while( this->isRunning) 103 87 { 104 105 88 this->tick(); 106 89 this->draw(); 107 108 90 } 109 91 }
Note: See TracChangeset
for help on using the changeset viewer.