aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorRobert Špalek2009-11-12 22:57:01 +0000
committerRobert Špalek2009-11-12 22:57:01 +0000
commit0a2b2a22568d6d6fc5e4d4f54e77afa04570cd59 (patch)
tree4700feaa1fae2215b63ea6f23de796f60e87f607 /engines/draci
parent24ccc94f7983700e7ae89532000b3a080f9a42f0 (diff)
downloadscummvm-rg350-0a2b2a22568d6d6fc5e4d4f54e77afa04570cd59.tar.gz
scummvm-rg350-0a2b2a22568d6d6fc5e4d4f54e77afa04570cd59.tar.bz2
scummvm-rg350-0a2b2a22568d6d6fc5e4d4f54e77afa04570cd59.zip
Removed 2 old TODOs
svn-id: r45874
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/draci.cpp6
-rw-r--r--engines/draci/sound.cpp1
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 25ae48a857..566d3056da 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -296,8 +296,10 @@ void DraciEngine::handleEvents() {
DraciEngine::~DraciEngine() {
// Dispose your resources here
- // TODO: Investigate possibility of using sharedPtr or similar
-
+ // If the common library supported STL's scoped_ptr<>, then wrapping
+ // all the following pointers and many more would be appropriate. So
+ // far, there is only SharedPtr, which I feel being an overkill for
+ // easy deallocation.
delete _smallFont;
delete _bigFont;
diff --git a/engines/draci/sound.cpp b/engines/draci/sound.cpp
index 76a6bf5d8a..a8b9246b09 100644
--- a/engines/draci/sound.cpp
+++ b/engines/draci/sound.cpp
@@ -264,7 +264,6 @@ void Sound::stopVoice() {
}
void Sound::setVolume() {
- // TODO: how to retrieve "Mute All" ?
if (_mixer->isReady()) {
_muteSound = ConfMan.getBool("sfx_mute");
_muteVoice = ConfMan.getBool("speech_mute");