summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-22 22:21:09 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:09:35 +0100
commita1f2a10efe9b7e4dd553c4edbddaaaaceefdbe02 (patch)
tree26e9c413a0986bf9197f3df6221b17e1a3cba991
parent9d0537c621c3863aaa549b989348720e02bb4012 (diff)
Remove unused angband_sound_name
-rw-r--r--src/externs.h1
-rw-r--r--src/variable.cc73
2 files changed, 0 insertions, 74 deletions
diff --git a/src/externs.h b/src/externs.h
index fe68c707..e8c2df36 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -302,7 +302,6 @@ extern u32b window_mask[ANGBAND_TERM_MAX];
extern term *angband_term[ANGBAND_TERM_MAX];
extern char angband_term_name[ANGBAND_TERM_MAX][80];
extern byte angband_color_table[256][4];
-extern char angband_sound_name[SOUND_MAX][16];
extern cave_type **cave;
extern object_type *o_list;
extern monster_type *m_list;
diff --git a/src/variable.cc b/src/variable.cc
index a6df056d..34cb9ed1 100644
--- a/src/variable.cc
+++ b/src/variable.cc
@@ -481,79 +481,6 @@ byte angband_color_table[256][4] =
/*
- * Standard sound names
- */
-char angband_sound_name[SOUND_MAX][16] =
-{
- "",
- "hit",
- "miss",
- "flee",
- "drop",
- "kill",
- "level",
- "death",
- "study",
- "teleport",
- "shoot",
- "quaff",
- "zap",
- "walk",
- "tpother",
- "hitwall",
- "eat",
- "store1",
- "store2",
- "store3",
- "store4",
- "dig",
- "opendoor",
- "shutdoor",
- "tplevel",
- "scroll",
- "buy",
- "sell",
- "warn",
- "rocket",
- "n_kill",
- "u_kill",
- "quest",
- "heal",
- "x_heal",
- "bite",
- "claw",
- "m_spell",
- "summon",
- "breath",
- "ball",
- "m_heal",
- "atkspell",
- "evil",
- "touch",
- "sting",
- "crush",
- "slime",
- "wail",
- "winner",
- "fire",
- "acid",
- "elec",
- "cold",
- "illegal",
- "fail",
- "wakeup",
- "invuln",
- "fall",
- "pain",
- "destitem",
- "moan",
- "show",
- "unused",
- "explode",
-};
-
-
-/*
* The array of "cave grids" [MAX_WID][MAX_HGT].
*/
cave_type **cave = nullptr;