Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6570 in orxonox.OLD


Ignore:
Timestamp:
Jan 18, 2006, 3:28:46 PM (18 years ago)
Author:
stefalie
Message:

branches/avi_play: …

Location:
branches/avi_play/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/story_entities/movie_loader.cc

    r6567 r6570  
    1515
    1616#include "movie_loader.h"
    17 
     17#include "movie_player.h"
    1818#include "resource_manager.h"
    1919
     
    9292    this->tick();
    9393
    94     movie_player>draw();
     94    movie_player->draw();
    9595  }
    9696}
     
    109109  this->dt = currentFrame - this->lastFrame;
    110110  // calculate time difference in seconds (float)
    111   this->dtS = (float)this->dt / 1000.0f;
     111  this->dts = (float)this->dt / 1000.0f;
    112112
    113113  movie_player->tick(dts);
  • branches/avi_play/src/story_entities/movie_loader.h

    r6567 r6570  
    1010#include "story_entity.h"
    1111
     12class MoviePlayer;
    1213
    1314class MovieLoader : public StoryEntity
     
    3536    void tick();
    3637
     38
     39    MoviePlayer*        movie_player;
    3740    Uint32              lastFrame;                    // last time of frame
    3841    Uint32              dt;                           // time needed to calculate this frame (in milliSeconds)
    39     float               dtS;
     42    float               dts;
    4043};
    4144
Note: See TracChangeset for help on using the changeset viewer.