Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6290 in orxonox.OLD for branches/avi_play/src/subprojects/importer


Ignore:
Timestamp:
Dec 26, 2005, 12:59:35 AM (19 years ago)
Author:
hdavid
Message:

branches\avi_play: work on the movie_player

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  
    1616*/
    1717
    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"
    2818#include <stdlib.h>
    2919
    30 #include "resource_manager.h"
    31 #include "movie_player.h";
     20#include "framework.h"
     21#include "movie_player.h"
    3222
    3323MoviePlayer* movie_player;
     
    3828
    3929  movie_player->printInformation();
    40 
    4130}
    4231
     
    4837void Framework::moduleTick(float dt)
    4938{
    50 
     39  movie_player->tick(dt);
    5140}
    5241
    5342void Framework::moduleDraw(void) const
    5443{
    55 
     44  movie_player->draw();
    5645}
    5746
  • branches/avi_play/src/subprojects/importer/multitex.cc

    r6289 r6290  
    2626#include <stdlib.h>
    2727
    28 #include "resource_manager.h"
    2928#include "media_container.h"
    3029
    3130Model* obj;
    3231TextureSequence* seq;
    33 Texture* test;
    3432Material* testMat;
    3533MediaContainer* movie;
     
    5957  movie->printMediaInformation();
    6058
    61   ResourceManager::getInstance()->addImageDir("./");
    62 
    6359  testMat = new Material;
    6460
     
    7167  seq->addFrameList(movie->getFrameList());
    7268
    73   test = new Texture();
    7469  testMat->setDiffuseMap("maps/radialTransparency.png");
    7570
    76   ResourceManager::getInstance()->addImageDir("");
    77 
    78 
    7971  obj = new PrimitiveModel(PRIM_PLANE, 10.0);
    80 
    81   ResourceManager::getInstance()->debug();
    8272
    8373  LightManager* lightMan = LightManager::getInstance();
Note: See TracChangeset for help on using the changeset viewer.