diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-12-11 08:09:30 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-12-11 08:09:30 +0100 |
commit | 77d9f8c3e6fed8fd10a07102ee715e5eacbb9dba (patch) | |
tree | 00a099838b8af24487c6f150e6163b43e12c062a /src | |
parent | 0753dae11eee10dc063e3d494a2d9520e3532512 (diff) |
Remove ANGBAND_KEYBOARD
Diffstat (limited to 'src')
-rw-r--r-- | src/files.cc | 5 | ||||
-rw-r--r-- | src/variable.cc | 10 | ||||
-rw-r--r-- | src/variable.h | 1 |
3 files changed, 0 insertions, 16 deletions
diff --git a/src/files.cc b/src/files.cc index 2ff6a909..95424ff1 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 65775bef..71dbae75 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 90a462b5..7621149a 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; |