From 1acb58ee5917c50eedcbe8863fdf40f9d8cc9573 Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 3 Jan 2011 21:22:04 +0000 Subject: [PATCH] Removed old code git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7241 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/audio/sfx_manager.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index c95a289d3..29609e605 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -167,39 +167,6 @@ void SFXManager::loadSfx() delete root; } // loadSfx -// ----------------------------------------------------------------------------- -/* - -getCustomTagName(int id) - - - Uses CustomSFX as input (see sfx_manager.hpp) and returns associated config - string tag. Used when loading custom sfx in KartProperties::getAllData(). - - TODO: Fix this to take advantage of some string array initialization trick - I'm just too stupid with C++ to figure it out. The switch code is - less then ideal. -*/ -/* -const char *SFXManager::getCustomTagName(int id) -{ - switch (id) - { - case CUSTOM_HORN: return "horn-sound"; // Replaces horn - case CUSTOM_CRASH: return "crash-sound"; // Played when colliding with another kart - case CUSTOM_WIN: return "win-sound"; // Played when racer wins (not yet implemented) - case CUSTOM_EXPLODE: return "explode-sound"; // Played when kart explodes - case CUSTOM_GOO: return "goo-sound"; // Played when driving through goo - case CUSTOM_PASS: return "pass-sound"; // Played when passing another kart (not yet implemented) - case CUSTOM_ZIPPER: return "zipper-sound"; // Played when kart hits zipper - case CUSTOM_NAME: return "name-sound"; // Introduction "I'm Tux!" (not yet implemented) - case CUSTOM_ATTACH: return "attach-sound"; // Played when something is attached to kart - case CUSTOM_SHOOT: return "shoot-sound"; // Played when weapon is used - }; - return ""; -} // getCustomTagName -*/ - // ----------------------------------------------------------------------------- /** Introduces a mechanism by which one can load sound effects beyond the basic * enumerated types. This will be used when loading custom sound effects for