From c4563616ae06194087b467746fe2b820b6311ac0 Mon Sep 17 00:00:00 2001 From: Robert Špalek Date: Sun, 11 Oct 2009 22:30:40 +0000 Subject: Added support for sound archives. We initialize them in the DraciEngine constructor, but don't play any sounds yet. Checked that it works for all existing sound files (required several work-arounds against unspoken specification). When copying the interface from barchive.h, I decided to remove some const's from there, because getFile() wasn't really behaving like const. Removed some static Common::String instances. svn-id: r44953 --- engines/draci/draci.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/draci/draci.h') diff --git a/engines/draci/draci.h b/engines/draci/draci.h index fed7cfed7e..d5683d5516 100644 --- a/engines/draci/draci.h +++ b/engines/draci/draci.h @@ -37,6 +37,7 @@ #include "draci/script.h" #include "draci/barchive.h" #include "draci/animation.h" +#include "draci/sound.h" namespace Draci { @@ -82,6 +83,9 @@ public: BArchive *_initArchive; BArchive *_stringsArchive; + SoundArchive *_soundsArchive; + SoundArchive *_dubbingArchive; + bool _showWalkingMap; Common::RandomSource _rnd; -- cgit v1.2.3