Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7208 in orxonox.OLD for branches/std/src/story_entities


Ignore:
Timestamp:
Mar 10, 2006, 1:56:40 AM (19 years ago)
Author:
bensch
Message:

orxonox/std: less evil

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

Legend:

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

    r7193 r7208  
    3636}
    3737
    38 MovieLoader::~MovieLoader() 
     38MovieLoader::~MovieLoader()
    3939{
    4040  delete this->movie_player;
     
    5656}
    5757
    58 void MovieLoader::loadMovie(const char* filename)
     58void MovieLoader::loadMovie(const std::string& filename)
    5959{
    6060  movie_player->loadMovie(filename);
     
    7878
    7979  this->movie_player->start(0);
    80  
     80
    8181  this->isRunning = true;
    8282  this->run();
     
    139139
    140140  // calculate time difference in milliseconds (Uint32)
    141   this->dt = currentFrame - this->lastFrame; 
     141  this->dt = currentFrame - this->lastFrame;
    142142  // calculate time difference in seconds (float)
    143143  this->dts = (float)this->dt / 1000.0f;
  • branches/std/src/story_entities/movie_loader.h

    r7022 r7208  
    4343
    4444  private:
    45     void loadMovie(const char* filename);
     45    void loadMovie(const std::string& filename);
    4646    void setFPS(float fps);
    4747    void tick();
Note: See TracChangeset for help on using the changeset viewer.