<ClCompile Include="..\..\src\autopick.c" />\r
<ClCompile Include="..\..\src\avatar.c" />\r
<ClCompile Include="..\..\src\birth.c" />\r
+ <ClCompile Include="..\..\src\main\sound-definitions-table.c" />\r
<ClCompile Include="..\..\src\market\building.c" />\r
<ClCompile Include="..\..\src\character-dump.c" />\r
<ClCompile Include="..\..\src\chest.c" />\r
<ClInclude Include="..\..\src\autopick.h" />\r
<ClInclude Include="..\..\src\avatar.h" />\r
<ClInclude Include="..\..\src\birth.h" />\r
+ <ClInclude Include="..\..\src\main\sound-definitions-table.h" />\r
<ClInclude Include="..\..\src\market\building.h" />\r
<ClInclude Include="..\..\src\character-dump.h" />\r
<ClInclude Include="..\..\src\chest.h" />\r
<ClCompile Include="..\..\src\market\store.c">
<Filter>market</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\main\sound-definitions-table.c">
+ <Filter>main</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\gamevalue.h" />
<ClInclude Include="..\..\src\market\store.h">
<Filter>market</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\main\sound-definitions-table.h">
+ <Filter>main</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
<Filter Include="view">
<UniqueIdentifier>{95a48e4b-b55a-4e99-a3c6-e8badbd1b2cf}</UniqueIdentifier>
</Filter>
+ <Filter Include="main">
+ <UniqueIdentifier>{e8e836da-e12b-42cc-9c09-17432cb83432}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\angband.rc" />
\
avatar.h avatar.c birth.c birth.h \
\
+ main/sound-definitions-table.c main/sound-definitions-table.h \
market/arena-info-table.c market/arena-info-table.h \
market/building.c market/building.h \
market/building-util.c market/building-util.h \
*/
#include "angband.h"
+#include "main/sound-definitions-table.h"
#include "io/exit-panic.h"
#include "files.h"
#include "gameterm.h"
/* #define nonl() */
/* #define nl() */
- /*
- * Standard sound names
- */
-static const concptr angband_sound_name[SOUND_MAX] =
-{
- "dummy",
- "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",
- "glass",
- "reflect",
-};
-
static concptr ANGBAND_DIR_XTRA_SOUND;
/*
#include "angband.h"
#include "signal-handlers.h"
+#include "main/sound-definitions-table.h"
#include "util.h"
#include "inet.h"
#include "chuukei.h"
#define MOUSE_SENS 40
/*
- * Standard sound names
- */
-const concptr angband_sound_name[SOUND_MAX] =
-{
- "dummy",
- "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",
- "glass",
- "reflect",
-};
-
-/*
* Standard music names
*/
const concptr angband_music_basic_name[MUSIC_BASIC_MAX] =
#include "angband.h"
+#include "main/sound-definitions-table.h"
#include "core.h"
#include "files.h"
#include "gameterm.h"
}
- /*
- * Standard sound names
- */
-static const concptr angband_sound_name[SOUND_MAX] =
-{
- "dummy",
- "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",
- "glass",
- "reflect",
-};
-
/*
* An array of sound file names
*/
--- /dev/null
+#include "angband.h"
+#include "main/sound-definitions-table.h"
+
+const concptr angband_sound_name[SOUND_MAX] =
+{
+ "dummy",
+ "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",
+ "glass",
+ "reflect",
+};
--- /dev/null
+#pragma once
+
+#define SOUND_MAX 67 /*!< 効果音定義の最大数 / Maximum numbers of sound effect */
+
+extern const concptr angband_sound_name[SOUND_MAX];
#define SOUND_GLASS 65 /*!< A glass feature was crashed */
#define SOUND_REFLECT 66 /*!< A bolt was reflected */
- /*
- * Mega-Hack -- maximum known sounds
- */
-#define SOUND_MAX 67 /*!< 効果音定義の最大数 */
-
/*!
* @brief 銘情報の最大数 / Maximum number of "quarks" (see "io.c")
* @note