summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit77d9f8c3e6fed8fd10a07102ee715e5eacbb9dba (patch)
tree00a099838b8af24487c6f150e6163b43e12c062a
parent0753dae11eee10dc063e3d494a2d9520e3532512 (diff)
Remove ANGBAND_KEYBOARD
-rw-r--r--src/files.cc5
-rw-r--r--src/variable.cc10
-rw-r--r--src/variable.h1
3 files changed, 0 insertions, 16 deletions
diff --git a/src/files.cc b/src/files.cc
index 2ff6a90..95424ff 100644
--- a/src/files.cc
+++ b/src/files.cc
@@ -881,11 +881,6 @@ static cptr process_pref_file_expr(char **sp, char *fp)
v = ANGBAND_SYS;
}
- else if (streq(b + 1, "KEYBOARD"))
- {
- v = ANGBAND_KEYBOARD;
- }
-
/* Graphics */
if (streq(b + 1, "GRAF"))
{
diff --git a/src/variable.cc b/src/variable.cc
index 65775be..71dbae7 100644
--- a/src/variable.cc
+++ b/src/variable.cc
@@ -600,16 +600,6 @@ cptr DEFAULT_FEAT_BLOCK = DEFAULT_FEAT_TEXT;
cptr ANGBAND_SYS = "xxx";
/*
- * Hack -- The special Angband "Keyboard Suffix"
- * This variable is used to choose an appropriate macro-trigger definition
- */
-#ifdef JP
-cptr ANGBAND_KEYBOARD = "JAPAN";
-#else
-cptr ANGBAND_KEYBOARD = "0";
-#endif
-
-/*
* Hack -- The special Angband "Graphics Suffix"
* This variable is used to choose an appropriate "graf-xxx" file
*/
diff --git a/src/variable.h b/src/variable.h
index 90a462b..7621149 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -7,7 +7,6 @@ extern "C" {
#endif
extern cptr ANGBAND_SYS;
-extern cptr ANGBAND_KEYBOARD;
extern char *ANGBAND_DIR_MODULES;
extern char *ANGBAND_DIR_SAVE;
extern char *ANGBAND_DIR_CORE;