Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/avi_play/src/lib/graphics/importer/movie_player.cc @ 6289

Last change on this file since 6289 was 6289, checked in by hdavid, 18 years ago

branches/avi_play: begin of the media_player implementation

File size: 1.5 KB
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: David Hasenfratz
13   co-programmer:
14*/
15
16
17
18/* this is for debug output. It just says, that all calls to PRINT() belong to the DEBUG_MODULE_MEDIA module
19   For more information refere to https://www.orxonox.net/cgi-bin/trac.cgi/wiki/DebugOutput
20*/
21#define DEBUG_MODULE_MEDIA
22
23
24/* include your own header */
25#include "movie_player.h"
26
27/* header for debug output */
28#include "debug.h"
29
30
31/**
32 * Default constructor
33 */
34MoviePlayer::MoviePlayer(const char* filename)
35{
36  media_container = new MediaContainer(filename);
37}
38
39MoviePlayer::MoviePlayer()
40{
41  media_container = new MediaContainer();
42}
43
44/**
45 * Default destructor
46 */
47MoviePlayer::~MoviePlayer()
48{
49
50}
51
52void MoviePlayer::loadMovie(const char* filename)
53{
54  media_container->loadMedia(filename);
55}
56
57void MoviePlayer::printInformation()
58{
59  media_container->printMediaInformation();
60}
61
62void MoviePlayer::start(unsigned int start_frame)
63{
64
65}
66
67void MoviePlayer::resume()
68{
69
70}
71
72void MoviePlayer::pause()
73{
74
75}
76
77void MoviePlayer::stop()
78{
79
80}
81
82void MoviePlayer::tick(float time)
83{
84
85}
86
87const void MoviePlayer::draw()
88{
89
90}
91
92void MoviePlayer::setSpeed(float speed)
93{
94
95}
96
97float MoviePlayer::getSpeed()
98{
99
100}
101
102const MP_STATUS MoviePlayer::getStatus()
103{
104
105}
Note: See TracBrowser for help on using the repository browser.