From 3c5f684a4927968ffdf6d8be7821aa1e60e09cd7 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 29 Nov 2006 23:29:34 +0000 Subject: renamed addSFX to addSound --- src/resources/monsterdb.cpp | 8 ++++---- src/resources/monsterinfo.cpp | 2 +- src/resources/monsterinfo.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index f61c2d39..fb03f6c1 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -100,19 +100,19 @@ MonsterDB::load() if (event == "hit") { - currentInfo->addSFX(EVENT_HIT, filename); + currentInfo->addSound(EVENT_HIT, filename); } else if (event == "miss") { - currentInfo->addSFX(EVENT_MISS, filename); + currentInfo->addSound(EVENT_MISS, filename); } else if (event == "hurt") { - currentInfo->addSFX(EVENT_HURT, filename); + currentInfo->addSound(EVENT_HURT, filename); } else if (event == "die") { - currentInfo->addSFX(EVENT_DIE, filename); + currentInfo->addSound(EVENT_DIE, filename); } else { diff --git a/src/resources/monsterinfo.cpp b/src/resources/monsterinfo.cpp index b71d50d1..1808d1c8 100644 --- a/src/resources/monsterinfo.cpp +++ b/src/resources/monsterinfo.cpp @@ -41,7 +41,7 @@ MonsterInfo::~MonsterInfo() void -MonsterInfo::addSFX (SoundEvent event, std::string filename) +MonsterInfo::addSound (SoundEvent event, std::string filename) { if (mSounds.find(event) == mSounds.end()) { diff --git a/src/resources/monsterinfo.h b/src/resources/monsterinfo.h index 25aaf12c..c5ded375 100644 --- a/src/resources/monsterinfo.h +++ b/src/resources/monsterinfo.h @@ -52,7 +52,7 @@ class MonsterInfo setSprite(std::string filename) { mSprite = filename; } void - addSFX (SoundEvent event, std::string filename); + addSound (SoundEvent event, std::string filename); const std::string& getName () const { return mName; }; -- cgit v1.2.3-70-g09d2