Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 19, 2006, 12:35:05 AM (18 years ago)
Author:
hdavid
Message:

some cleanup and fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/graphics/importer/movie_player.h

    r6600 r6611  
    1717
    1818#include "glincl.h"
    19 
    20 //#include "light.h"
    2119#include "texture.h"
    22 //#include "material.h"
    23 //#include "primitive_model.h"
    2420
    2521// include base_object.h since all classes are derived from this one
     
    2925typedef enum MP_STATUS {
    3026  PLAY,
    31         PAUSE,
    32         STOP
     27  PAUSE,
     28  STOP
    3329};
    3430
     
    3733
    3834private:
    39 
    40   //Model* model;
    41   //Material* material;
    4235
    4336  AVFormatContext* format_context;
     
    7164  bool loadMovie(const char* filename);
    7265
    73         void start(float start_time);
    74         void resume();
    75         void pause();
    76         void stop();
     66  void start(float start_time);
     67  void resume();
     68  void pause();
     69  void stop();
    7770
    78         void tick(float dt);
    79         //const void draw();
    80         GLuint getTexture();
     71  void tick(float dt);
     72  GLuint getTexture();
    8173
    82         void setFPS(float fps);
    83         float getFPS();
    84         const MP_STATUS getStatus();
     74  void setFPS(float fps);
     75  float getFPS();
     76  const MP_STATUS getStatus();
    8577  void printInformation();
    8678
     
    9486};
    9587
    96 
    97 
    9888#endif // _MOVIE_PLAYER
Note: See TracChangeset for help on using the changeset viewer.