Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/avi_play/src/story_entities/movie_loader.h @ 6567

Last change on this file since 6567 was 6567, checked in by stefalie, 18 years ago

branches/avi_play: …

File size: 863 bytes
Line 
1/*!
2 * @file movie_loader.h
3 *  loads a movie
4 */
5
6#ifndef _MOVIE_LOADER_H
7#define _MOVIE_LOADER_H
8
9
10#include "story_entity.h"
11
12
13class MovieLoader : public StoryEntity
14{
15
16  public:
17    MovieLoader();
18    virtual ~MovieLoader();
19
20    virtual void loadParams(const TiXmlElement* root);
21
22    /* functions from story-entity */
23    virtual ErrorMessage init();
24    virtual ErrorMessage loadData();
25    virtual ErrorMessage unloadData();
26
27    virtual bool start();
28    virtual bool stop();
29    virtual bool pause();
30    virtual bool resume();
31    virtual void run();
32
33  private:
34    void draw() const;
35    void tick();
36
37    Uint32              lastFrame;                    // last time of frame
38    Uint32              dt;                           // time needed to calculate this frame (in milliSeconds)
39    float               dtS;
40};
41
42#endif /* _MOVIE_LOADER_H */
Note: See TracBrowser for help on using the repository browser.