Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6353 in orxonox.OLD for branches/avi_play/src/subprojects


Ignore:
Timestamp:
Dec 30, 2005, 8:34:22 PM (19 years ago)
Author:
hdavid
Message:

branches\avi_play: MoviePlayer works again

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  
    2121#include "movie_player.h"
    2222
    23 //MoviePlayer* movie_player;
     23MoviePlayer* movie_player;
    2424
    2525void Framework::moduleInit(int argc, char** argv)
    2626{
    27   //movie_player = new MoviePlayer(argv[1]);
     27  movie_player = new MoviePlayer(argv[1]);
    2828
    29   //movie_player->printInformation();
     29  movie_player->printInformation();
    3030}
    3131
    3232void Framework::moduleEventHandler(SDL_Event* event)
    3333{
    34   /*switch (event->type)
     34  switch (event->type)
    3535  {
    3636    case SDL_KEYDOWN:
     
    5858          break;
    5959      }
    60   }*/
     60  }
    6161}
    6262
    6363void Framework::moduleTick(float dt)
    6464{
    65   //movie_player->tick(dt);
     65  movie_player->tick(dt);
    6666}
    6767
    6868void Framework::moduleDraw(void) const
    6969{
    70   //movie_player->draw();
     70  movie_player->draw();
    7171}
    7272
  • branches/avi_play/src/subprojects/importer/multitex.cc

    r6350 r6353  
    7878          counter = 0;
    7979          timer = 0;
    80           PRINTF(0)("total_frames: %i\n", media_container->getFrameCount());
    8180          SDL_Delay(1000);
    8281          break;
     
    109108      counter = 0;
    110109      PRINTF(0)("BEGIN\n");
     110      PRINTF(0)("total_frames: %i\n", media_container->getFrameCount());
    111111    }
    112112  }
Note: See TracChangeset for help on using the changeset viewer.