diff options
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/animation.cpp | 4 | ||||
| -rw-r--r-- | graphics/animation.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/graphics/animation.cpp b/graphics/animation.cpp index 1401d642c9..77be43fdc5 100644 --- a/graphics/animation.cpp +++ b/graphics/animation.cpp @@ -71,7 +71,7 @@ bool BaseAnimationState::init(const char *name, void *audioArg) { // Load lookup palettes sprintf(tempFile, "%s.pal", name); - File f; + Common::File f; if (!f.open(tempFile)) { warning("Cutscene: %s palette missing", tempFile); @@ -120,7 +120,7 @@ bool BaseAnimationState::init(const char *name, void *audioArg) { #endif // Open MPEG2 stream - _mpegFile = new File(); + _mpegFile = new Common::File(); sprintf(tempFile, "%s.mp2", name); if (!_mpegFile->open(tempFile)) { warning("Cutscene: Could not open %s", tempFile); diff --git a/graphics/animation.h b/graphics/animation.h index a74c473b8a..087d9febc7 100644 --- a/graphics/animation.h +++ b/graphics/animation.h @@ -63,6 +63,10 @@ typedef sequence_t mpeg2_sequence_t; #define BUFFER_SIZE 4096 +namespace Common { + class File; +} + namespace Graphics { class BaseAnimationState { @@ -82,7 +86,7 @@ protected: const mpeg2_info_t *_mpegInfo; #endif - File *_mpegFile; + Common::File *_mpegFile; SoundHandle _bgSound; AudioStream *_bgSoundStream; |
