Changeset 6057 in orxonox.OLD for branches/avi_play/src/subprojects/importer
- Timestamp:
- Dec 12, 2005, 1:07:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/importer.cc
r6049 r6057 28 28 29 29 Model* obj; 30 MediaContainer* movie; 30 31 31 32 void Framework::moduleInit(int argc, char** argv) 32 33 { 33 MediaContainer* test2;34 35 test2 = new MediaContainer(argv[1]);36 34 35 movie = new MediaContainer(argv[1]); 37 36 37 // print information about the media file 38 movie->printMediaInformation(); 39 40 /* 38 41 ResourceManager::getInstance()->addImageDir("./"); 39 42 … … 57 60 lightMan->setAmbientColor(.1,.1,.1); 58 61 (new Light())->setAbsCoor(5.0, 10.0, 40.0); 59 (new Light())->setAbsCoor(-10, -20, -100); 62 (new Light())->setAbsCoor(-10, -20, -100);*/ 60 63 } 61 64 … … 75 78 void Framework::moduleTick(float dt) 76 79 { 77 80 if(movie->framesLeft()) 81 movie->getNextFrame(); 78 82 } 79 83 80 84 void Framework::moduleDraw(void) const 81 85 { 82 obj->draw();86 //obj->draw(); 83 87 84 LightManager::getInstance()->draw();88 //LightManager::getInstance()->draw(); 85 89 } 86 90
Note: See TracChangeset
for help on using the changeset viewer.