Changeset 6290 in orxonox.OLD for branches/avi_play/src/subprojects/importer
- Timestamp:
- Dec 26, 2005, 12:59:35 AM (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
r6289 r6290 16 16 */ 17 17 18 #include "framework.h"19 20 #include "light.h"21 22 #include "texture_sequence.h"23 #include "material.h"24 25 #include "objModel.h"26 27 #include "primitive_model.h"28 18 #include <stdlib.h> 29 19 30 #include " resource_manager.h"31 #include "movie_player.h" ;20 #include "framework.h" 21 #include "movie_player.h" 32 22 33 23 MoviePlayer* movie_player; … … 38 28 39 29 movie_player->printInformation(); 40 41 30 } 42 31 … … 48 37 void Framework::moduleTick(float dt) 49 38 { 50 39 movie_player->tick(dt); 51 40 } 52 41 53 42 void Framework::moduleDraw(void) const 54 43 { 55 44 movie_player->draw(); 56 45 } 57 46 -
branches/avi_play/src/subprojects/importer/multitex.cc
r6289 r6290 26 26 #include <stdlib.h> 27 27 28 #include "resource_manager.h"29 28 #include "media_container.h" 30 29 31 30 Model* obj; 32 31 TextureSequence* seq; 33 Texture* test;34 32 Material* testMat; 35 33 MediaContainer* movie; … … 59 57 movie->printMediaInformation(); 60 58 61 ResourceManager::getInstance()->addImageDir("./");62 63 59 testMat = new Material; 64 60 … … 71 67 seq->addFrameList(movie->getFrameList()); 72 68 73 test = new Texture();74 69 testMat->setDiffuseMap("maps/radialTransparency.png"); 75 70 76 ResourceManager::getInstance()->addImageDir("");77 78 79 71 obj = new PrimitiveModel(PRIM_PLANE, 10.0); 80 81 ResourceManager::getInstance()->debug();82 72 83 73 LightManager* lightMan = LightManager::getInstance();
Note: See TracChangeset
for help on using the changeset viewer.