From 17afaf664eeca4f972356e65a619bb42d5bd4283 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Wed, 27 Jan 2016 14:58:59 -0800 Subject: Import tome_2.4~0.git.2015.12.29.orig.tar.gz [dgit import orig tome_2.4~0.git.2015.12.29.orig.tar.gz] --- lib/pref/colors.prf | 53 +++++ lib/pref/font-mac.prf | 18 ++ lib/pref/font-win.prf | 301 ++++++++++++++++++++++++++++ lib/pref/font-x11.prf | 22 +++ lib/pref/font-xxx.prf | 469 ++++++++++++++++++++++++++++++++++++++++++++ lib/pref/font.prf | 40 ++++ lib/pref/pref-gcu.prf | 70 +++++++ lib/pref/pref-mac.prf | 243 +++++++++++++++++++++++ lib/pref/pref-sdl.prf | 144 ++++++++++++++ lib/pref/pref-win.prf | 534 ++++++++++++++++++++++++++++++++++++++++++++++++++ lib/pref/pref-x11.prf | 413 ++++++++++++++++++++++++++++++++++++++ lib/pref/pref.prf | 297 ++++++++++++++++++++++++++++ lib/pref/trap-xxx.prf | 428 ++++++++++++++++++++++++++++++++++++++++ lib/pref/user.prf | 33 ++++ lib/pref/xtra-gcu.prf | 34 ++++ lib/pref/xtra-xxx.prf | 137 +++++++++++++ 16 files changed, 3236 insertions(+) create mode 100644 lib/pref/colors.prf create mode 100644 lib/pref/font-mac.prf create mode 100644 lib/pref/font-win.prf create mode 100644 lib/pref/font-x11.prf create mode 100644 lib/pref/font-xxx.prf create mode 100644 lib/pref/font.prf create mode 100644 lib/pref/pref-gcu.prf create mode 100644 lib/pref/pref-mac.prf create mode 100644 lib/pref/pref-sdl.prf create mode 100644 lib/pref/pref-win.prf create mode 100644 lib/pref/pref-x11.prf create mode 100644 lib/pref/pref.prf create mode 100644 lib/pref/trap-xxx.prf create mode 100644 lib/pref/user.prf create mode 100644 lib/pref/xtra-gcu.prf create mode 100644 lib/pref/xtra-xxx.prf (limited to 'lib/pref') diff --git a/lib/pref/colors.prf b/lib/pref/colors.prf new file mode 100644 index 00000000..fa4d3f05 --- /dev/null +++ b/lib/pref/colors.prf @@ -0,0 +1,53 @@ + + +# Color redefinitions + +# Color 'White' +V:1:0x07:0xFF:0xFF:0xFF + +# Color 'Slate' +V:2:0x03:0x8C:0x8C:0x8C + +# Color 'Orange' +V:3:0x0C:0xFF:0x77:0x00 + +# Color 'Red' +V:4:0x04:0xC9:0x00:0x00 + +# Color 'Green' +V:5:0x02:0x00:0x86:0x45 + +# Color 'Blue' +V:6:0x01:0x00:0x00:0xE3 + +# Color 'Umber' +V:7:0x06:0x8E:0x45:0x00 + +# Color 'Light Dark' +V:8:0x08:0x50:0x50:0x50 + +# Color 'Light Slate' +V:9:0x0B:0xD1:0xD1:0xD1 + +# Color 'Violet' +V:10:0x05:0xC0:0x00:0xAF + +# Color 'Yellow' +V:11:0x0E:0xFF:0xFF:0x00 + +# Color 'Light Red' +V:12:0x0D:0xFF:0x00:0x68 + +# Color 'Light Green' +V:13:0x0A:0x00:0xFF:0x00 + +# Color 'Light Blue' +V:14:0x09:0x51:0xDD:0xFF + +# Color 'Light Umber' +V:15:0x06:0xD7:0x8E:0x45 + + + + + diff --git a/lib/pref/font-mac.prf b/lib/pref/font-mac.prf new file mode 100644 index 00000000..d15c2e47 --- /dev/null +++ b/lib/pref/font-mac.prf @@ -0,0 +1,18 @@ +# File: font.prf + +# +# This file defines special attr/char mappings for use in "text" mode +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +## OPTION: Display "veins" (white "%") as "normal walls" (white "#") +## This replaces the old method of setting "notice_seams" to false, +## which no longer works as of Angband 2.7.9, for various reasons. +# +#F:50:1/35 +#F:51:1/35 +#F:52:1/35 +#F:53:1/35 + diff --git a/lib/pref/font-win.prf b/lib/pref/font-win.prf new file mode 100644 index 00000000..1754d0f5 --- /dev/null +++ b/lib/pref/font-win.prf @@ -0,0 +1,301 @@ +# File: font-win.prf + +# +# This file is used by Angband (when it was compiled using "main-win.c") +# to specify simple attr/char remappings using a standard font, allowing +# the use of special pseudo-graphic pictures for walls and such. +# +# Note that this file is extremely similar to the file "font-ibm.prf", +# but it uses different codes, since it uses the special pseudo-graphic +# symbols defined in the "lib/xtra/font/*.FON" files, and there is only +# one special wall type, so we have to use special "colors". +# + + +##### Feature attr/char definitions ##### + +# open floor +F:1:0x01/0x1F + +# web +F:16:0x0B/0x7F + +# secret door +F:48:0x01/0x7F + +# magma vein +F:50:0x02/0x7F + +# quartz vein +F:51:0x09/0x7F + +# magma vein +F:52:0x02/0x7F + +# quartz vein +F:53:0x09/0x7F + +# granite wall +F:56:0x01/0x7F + +# granite wall +F:57:0x01/0x7F + +# granite wall +F:58:0x01/0x7F + +# granite wall +F:59:0x01/0x7F + +# permanent wall +F:60:0x01/0x7F + +# permanent wall +F:61:0x01/0x7F + +# permanent wall +F:62:0x01/0x7F + +# permanent wall +F:63:0x01/0x7F + +# permanent wall +F:75:0x01/0x7F + +# permanent wall +F:76:0x01/0x7F + +# permanent wall +F:77:0x01/0x7F + +# permanent wall +F:78:0x01/0x7F + +# pool of deep lava +F:85:0x0C/0x1F + +# stream of shallow lava +F:86:0x04/0x1F + +# dark pit +F:87:0x08/0x7F + +# dirt +F:88:0x0F/0x1F + +# patch of grass +F:89:0x0D/0x1F + +# ice +F:90:0x09/0x1F + +# sand +F:91:0x0B/0x1F + +# dead tree +F:92:0x08/0x7F + +# ash +F:93:0x02/0x1F + +# mud +F:94:0x07/0x1F + +# ice wall +F:95:0x09/0x7F + +# tree +F:96:0x0D/0x7F + +# sandwall +F:98:0x0B/0x7F + +# sandwall +F:99:0x0B/0x7F + +# sandwall with treasure +F:100:0x03/0x7F + +# nether mist +F:102:0x0A/0x7F + +# glass wall +F:103:0x0E/0x1F + +# Underground Tunnel +F:173:0x02/0x7F + +# lava wall +F:177:0x0C/0x7F + +# Great Fire +F:178:0x0A/0x7F + +# field +F:181:0x05/0x1F + +# glass wall +F:188:0x0E/0x1F + +# illusion wall +F:189:0x01/0x7F + +# Grass roof +F:190:0x0B/0x7F + +# grass roof top +F:191:0x0B/0x7F + +# grass roof chimney +F:192:0x0B/0x7F + +# brick roof +F:193:0x04/0x7F + +# brick roof top +F:194:0x04/0x7F + +# brick roof chimney +F:195:0x04/0x7F + +# rain barrel +F:198:0x01/0x7F + +# cobblestone road +F:200:0x01/0x1F + +# cobblestone with outlet +F:201:0x01/0x1F + +# small tree +F:202:0x05/0x7F + +# Underground Tunnel +F:204:0x0F/0x7F + +# a blazing fire +F:205:0x0B/0x7F + +# rocky ground +F:207:0x02/0x1F + +# cloud-like vapour +F:208:0x09/0x1F + +# dense mist +F:210:0x01/0x7F + +# hail-stone wall +F:211:0x09/0x7F + +# copper pillar +F:213:0x07/0x7F + +# ethereal wall +F:214:0x01/0x1F + +# glacial wall +F:215:0x0E/0x7F + +# battlement +F:216:0x01/0x7F + +##### Monster attr/char definitions ##### + +# Space monster +R:144:0x00/0x1F + +# Old Man Willow +R:206:0x02/0x7F + +# Lurker +R:247:0x01/0x1F + +# Tangleweed +R:248:0x05/0x7F + +# Poison ivy +R:266:0x05/0x7F + +# Giant Venus Flytrap +R:317:0x05/0x7F + +# Stunwall +R:326:0x09/0x7F + +# Huorn +R:329:0x05/0x7F + +# Landmine +R:333:0x01/0x1F + +# Livingstone +R:336:0x09/0x7F + +# Vampiric mist +R:365:0x08/0x7F + +# It +R:393:0x09/0x1F + +# Xiclotlan +R:396:0x08/0x7F + +# Roper +R:426:0x08/0x7F + +# Lesser wall monster +R:448:0x09/0x7F + +# Chaos tile +R:458:0x0A/0x1F + +# Mist giant +R:552:0x0E/0x7F + +# Trapper +R:565:0x01/0x1F + +# Time bomb +R:567:0x01/0x1F + +# Weird fume +R:625:0x0A/0x7F + +# Colour out of space +R:678:0x0A/0x1F + +# Ent +R:708:0x0D/0x7F + +# Quickbeam, the Ent +R:714:0x0D/0x7F + +# Greater wall monster +R:718:0x09/0x7F + +# Ahtu, Avatar of Nyarlathotep +R:761:0x08/0x7F + +# Null, the Living Void +R:803:0x00/0x1F + +# Rocket mine +R:870:0x0C/0x1F + +# Bouncing mine +R:871:0x0E/0x1F + +# Fangorn the Treebeard, Lord of the Ents +R:934:0x0D/0x7F + +# The Glass Golem +R:1033:0x09/0x7F + +# Golgarach, the Living Rock +R:1035:0x09/0x7F + +# Spirit +R:1053:0x09/0x1F + + diff --git a/lib/pref/font-x11.prf b/lib/pref/font-x11.prf new file mode 100644 index 00000000..57828a56 --- /dev/null +++ b/lib/pref/font-x11.prf @@ -0,0 +1,22 @@ +# File: font-x11.prf + + +# Color palette - Text + +V:0:0x01:0x00:0x00:0x00 +V:1:0x01:0xFF:0xFF:0xFF +V:2:0x01:0xC7:0xC7:0xC7 +V:3:0x01:0xFF:0x92:0x00 +V:4:0x01:0xC0:0x00:0x00 +V:5:0x01:0x00:0xC0:0x00 +V:6:0x01:0x00:0x00:0xFE +V:7:0x01:0xC8:0x64:0x00 +V:8:0x01:0x8A:0x8A:0x8A +V:9:0x01:0xE0:0xE0:0xE0 +V:10:0x01:0xA5:0x00:0xFF +V:11:0x01:0xFF:0xFD:0x00 +V:12:0x01:0xFF:0x40:0x40 +V:13:0x01:0x00:0xFF:0x00 +V:14:0x01:0x00:0xC8:0xFF +V:15:0x01:0xFF:0xCC:0x80 + diff --git a/lib/pref/font-xxx.prf b/lib/pref/font-xxx.prf new file mode 100644 index 00000000..3e5d24ee --- /dev/null +++ b/lib/pref/font-xxx.prf @@ -0,0 +1,469 @@ +# File: font-xxx.prf + +# +# This file defines special attr/char mappings for use in "text" mode +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +##### Special attr/char values ##### + + +## # Unused (@) +## S:0x00:0x00/0x40 +## S:0x01:0x01/0x40 +## S:0x02:0x02/0x40 +## S:0x03:0x03/0x40 +## S:0x04:0x04/0x40 +## S:0x05:0x05/0x40 +## S:0x06:0x06/0x40 +## S:0x07:0x07/0x40 +## S:0x08:0x08/0x40 +## S:0x09:0x09/0x40 +## S:0x0A:0x0A/0x40 +## S:0x0B:0x0B/0x40 +## S:0x0C:0x0C/0x40 +## S:0x0D:0x0D/0x40 +## S:0x0E:0x0E/0x40 +## S:0x0F:0x0F/0x40 + +## # Unused (@) +## S:0x10:0x00/0x40 +## S:0x11:0x01/0x40 +## S:0x12:0x02/0x40 +## S:0x13:0x03/0x40 +## S:0x14:0x04/0x40 +## S:0x15:0x05/0x40 +## S:0x16:0x06/0x40 +## S:0x17:0x07/0x40 +## S:0x18:0x08/0x40 +## S:0x19:0x09/0x40 +## S:0x1A:0x0A/0x40 +## S:0x1B:0x0B/0x40 +## S:0x1C:0x0C/0x40 +## S:0x1D:0x0D/0x40 +## S:0x1E:0x0E/0x40 +## S:0x1F:0x0F/0x40 + +## # Unused (@) +## S:0x20:0x00/0x40 +## S:0x21:0x01/0x40 +## S:0x22:0x02/0x40 +## S:0x23:0x03/0x40 +## S:0x24:0x04/0x40 +## S:0x25:0x05/0x40 +## S:0x26:0x06/0x40 +## S:0x27:0x07/0x40 +## S:0x28:0x08/0x40 +## S:0x29:0x09/0x40 +## S:0x2A:0x0A/0x40 +## S:0x2B:0x0B/0x40 +## S:0x2C:0x0C/0x40 +## S:0x2D:0x0D/0x40 +## S:0x2E:0x0E/0x40 +## S:0x2F:0x0F/0x40 + +# Spells (*) +S:0x30:0x00/0x2A +S:0x31:0x01/0x2A +S:0x32:0x02/0x2A +S:0x33:0x03/0x2A +S:0x34:0x04/0x2A +S:0x35:0x05/0x2A +S:0x36:0x06/0x2A +S:0x37:0x07/0x2A +S:0x38:0x08/0x2A +S:0x39:0x09/0x2A +S:0x3A:0x0A/0x2A +S:0x3B:0x0B/0x2A +S:0x3C:0x0C/0x2A +S:0x3D:0x0D/0x2A +S:0x3E:0x0E/0x2A +S:0x3F:0x0F/0x2A + +# Spells (|) +S:0x40:0x00/0x7C +S:0x41:0x01/0x7C +S:0x42:0x02/0x7C +S:0x43:0x03/0x7C +S:0x44:0x04/0x7C +S:0x45:0x05/0x7C +S:0x46:0x06/0x7C +S:0x47:0x07/0x7C +S:0x48:0x08/0x7C +S:0x49:0x09/0x7C +S:0x4A:0x0A/0x7C +S:0x4B:0x0B/0x7C +S:0x4C:0x0C/0x7C +S:0x4D:0x0D/0x7C +S:0x4E:0x0E/0x7C +S:0x4F:0x0F/0x7C + +# Spells (-) +S:0x50:0x00/0x2D +S:0x51:0x01/0x2D +S:0x52:0x02/0x2D +S:0x53:0x03/0x2D +S:0x54:0x04/0x2D +S:0x55:0x05/0x2D +S:0x56:0x06/0x2D +S:0x57:0x07/0x2D +S:0x58:0x08/0x2D +S:0x59:0x09/0x2D +S:0x5A:0x0A/0x2D +S:0x5B:0x0B/0x2D +S:0x5C:0x0C/0x2D +S:0x5D:0x0D/0x2D +S:0x5E:0x0E/0x2D +S:0x5F:0x0F/0x2D + +# Spells (/) +S:0x60:0x00/0x2F +S:0x61:0x01/0x2F +S:0x62:0x02/0x2F +S:0x63:0x03/0x2F +S:0x64:0x04/0x2F +S:0x65:0x05/0x2F +S:0x66:0x06/0x2F +S:0x67:0x07/0x2F +S:0x68:0x08/0x2F +S:0x69:0x09/0x2F +S:0x6A:0x0A/0x2F +S:0x6B:0x0B/0x2F +S:0x6C:0x0C/0x2F +S:0x6D:0x0D/0x2F +S:0x6E:0x0E/0x2F +S:0x6F:0x0F/0x2F + +# Spells (\) +S:0x70:0x00/0x5C +S:0x71:0x01/0x5C +S:0x72:0x02/0x5C +S:0x73:0x03/0x5C +S:0x74:0x04/0x5C +S:0x75:0x05/0x5C +S:0x76:0x06/0x5C +S:0x77:0x07/0x5C +S:0x78:0x08/0x5C +S:0x79:0x09/0x5C +S:0x7A:0x0A/0x5C +S:0x7B:0x0B/0x5C +S:0x7C:0x0C/0x5C +S:0x7D:0x0D/0x5C +S:0x7E:0x0E/0x5C +S:0x7F:0x0F/0x5C + +# Amulets (") +S:0x80:0x00/0x22 +S:0x81:0x01/0x22 +S:0x82:0x02/0x22 +S:0x83:0x03/0x22 +S:0x84:0x04/0x22 +S:0x85:0x05/0x22 +S:0x86:0x06/0x22 +S:0x87:0x07/0x22 +S:0x88:0x08/0x22 +S:0x89:0x09/0x22 +S:0x8A:0x0A/0x22 +S:0x8B:0x0B/0x22 +S:0x8C:0x0C/0x22 +S:0x8D:0x0D/0x22 +S:0x8E:0x0E/0x22 +S:0x8F:0x0F/0x22 + +# Rings (=) +S:0x90:0x00/0x3D +S:0x91:0x01/0x3D +S:0x92:0x02/0x3D +S:0x93:0x03/0x3D +S:0x94:0x04/0x3D +S:0x95:0x05/0x3D +S:0x96:0x06/0x3D +S:0x97:0x07/0x3D +S:0x98:0x08/0x3D +S:0x99:0x09/0x3D +S:0x9A:0x0A/0x3D +S:0x9B:0x0B/0x3D +S:0x9C:0x0C/0x3D +S:0x9D:0x0D/0x3D +S:0x9E:0x0E/0x3D +S:0x9F:0x0F/0x3D + +# Staffs (_) +S:0xA0:0x00/0x5F +S:0xA1:0x01/0x5F +S:0xA2:0x02/0x5F +S:0xA3:0x03/0x5F +S:0xA4:0x04/0x5F +S:0xA5:0x05/0x5F +S:0xA6:0x06/0x5F +S:0xA7:0x07/0x5F +S:0xA8:0x08/0x5F +S:0xA9:0x09/0x5F +S:0xAA:0x0A/0x5F +S:0xAB:0x0B/0x5F +S:0xAC:0x0C/0x5F +S:0xAD:0x0D/0x5F +S:0xAE:0x0E/0x5F +S:0xAF:0x0F/0x5F + +# Wands (-) +S:0xB0:0x00/0x2D +S:0xB1:0x01/0x2D +S:0xB2:0x02/0x2D +S:0xB3:0x03/0x2D +S:0xB4:0x04/0x2D +S:0xB5:0x05/0x2D +S:0xB6:0x06/0x2D +S:0xB7:0x07/0x2D +S:0xB8:0x08/0x2D +S:0xB9:0x09/0x2D +S:0xBA:0x0A/0x2D +S:0xBB:0x0B/0x2D +S:0xBC:0x0C/0x2D +S:0xBD:0x0D/0x2D +S:0xBE:0x0E/0x2D +S:0xBF:0x0F/0x2D + +# Rods (-) +S:0xC0:0x00/0x2D +S:0xC1:0x01/0x2D +S:0xC2:0x02/0x2D +S:0xC3:0x03/0x2D +S:0xC4:0x04/0x2D +S:0xC5:0x05/0x2D +S:0xC6:0x06/0x2D +S:0xC7:0x07/0x2D +S:0xC8:0x08/0x2D +S:0xC9:0x09/0x2D +S:0xCA:0x0A/0x2D +S:0xCB:0x0B/0x2D +S:0xCC:0x0C/0x2D +S:0xCD:0x0D/0x2D +S:0xCE:0x0E/0x2D +S:0xCF:0x0F/0x2D + +# Scrolls (?) +S:0xD0:0x00/0x3F +S:0xD1:0x01/0x3F +S:0xD2:0x02/0x3F +S:0xD3:0x03/0x3F +S:0xD4:0x04/0x3F +S:0xD5:0x05/0x3F +S:0xD6:0x06/0x3F +S:0xD7:0x07/0x3F +S:0xD8:0x08/0x3F +S:0xD9:0x09/0x3F +S:0xDA:0x0A/0x3F +S:0xDB:0x0B/0x3F +S:0xDC:0x0C/0x3F +S:0xDD:0x0D/0x3F +S:0xDE:0x0E/0x3F +S:0xDF:0x0F/0x3F + +# Potions (!) +S:0xE0:0x00/0x21 +S:0xE1:0x01/0x21 +S:0xE2:0x02/0x21 +S:0xE3:0x03/0x21 +S:0xE4:0x04/0x21 +S:0xE5:0x05/0x21 +S:0xE6:0x06/0x21 +S:0xE7:0x07/0x21 +S:0xE8:0x08/0x21 +S:0xE9:0x09/0x21 +S:0xEA:0x0A/0x21 +S:0xEB:0x0B/0x21 +S:0xEC:0x0C/0x21 +S:0xED:0x0D/0x21 +S:0xEE:0x0E/0x21 +S:0xEF:0x0F/0x21 + +# Food (,) +S:0xF0:0x00/0x2C +S:0xF1:0x01/0x2C +S:0xF2:0x02/0x2C +S:0xF3:0x03/0x2C +S:0xF4:0x04/0x2C +S:0xF5:0x05/0x2C +S:0xF6:0x06/0x2C +S:0xF7:0x07/0x2C +S:0xF8:0x08/0x2C +S:0xF9:0x09/0x2C +S:0xFA:0x0A/0x2C +S:0xFB:0x0B/0x2C +S:0xFC:0x0C/0x2C +S:0xFD:0x0D/0x2C +S:0xFE:0x0E/0x2C +S:0xFF:0x0F/0x2C + + + +##### Default inventory object colors ##### + + +# SKELETON +E:1:0x01 + +# BOTTLE +E:2:0x01 + +# FIRESTONE +E:3:0x01 + +# SPIKE +E:5:0x02 + +# CHEST +E:7:0x02 + +# JUNK +E:11:0x01 + +# BOOMERANG +E:15:0x07 + +# SHOT +E:16:0x0F + +# ARROW +E:17:0x0F + +# BOLT +E:18:0x0F + +# BOW +E:19:0x07 + +# DIGGING +E:20:0x02 + +# HAFTED +E:21:0x01 + +# POLEARM +E:22:0x01 + +# SWORD +E:23:0x01 + +# AXE +E:24:0x01 + +# BOOTS +E:30:0x0F + +# GLOVES +E:31:0x0F + +# HELM +E:32:0x0F + +# CROWN +E:33:0x0F + +# SHIELD +E:34:0x0F + +# CLOAK +E:35:0x0F + +# SOFT_ARMOR +E:36:0x02 + +# HARD_ARMOR +E:37:0x02 + +# DRAG_ARMOR +E:38:0x02 + +# LITE +E:39:0x0B + +# AMULET +E:40:0x03 + +# RING +E:45:0x04 + +# STAFF +E:55:0x0F + +# WAND +E:65:0x05 + +# ROD +E:66:0x0A + +# ROD TIP +E:67:0x0A + +# SCROLL +E:70:0x01 + +# POTION +E:71:0x0E + +# POTION2 +E:72:0x0E + +# FLASK +E:77:0x0B + +# FOOD +E:80:0x0F + +# BOOK +E:111:0x0E + +# SYMBIOTIC_BOOK +E:112:0x05 + +# MUSIC_BOOK +E:113:0x02 + +# DRUID_BOOK +E:114:0x0D + +# DAEMON BOOK +E:115:0x03 + +# MAGE STAFFS +E:6:0x0E + +# PARCHEMENT +E:8:0x03 + +# CORPSE +E:9:0x0F + +# HYPNOS +E:99:0x0F + +# RANDOM ARTIFACT +E:102:0x0D + +# MUSICAL INSTRUMENT +E:14:0x0A + +# EGG +E:10:0x03 + +# BASE RUNE +E:104:0x0A + +# SECONDARY RUNE +E:105:0x03 + +# GOLD +E:100:0x0B + +# TOOL +E:12:0x0A + +# TRAPPING KIT +E:46:0x08 + +# TOTEM +E:54:0x08 diff --git a/lib/pref/font.prf b/lib/pref/font.prf new file mode 100644 index 00000000..38614683 --- /dev/null +++ b/lib/pref/font.prf @@ -0,0 +1,40 @@ +# File: font.prf + +# +# This file defines special attr/char mappings for use in "text" mode +# +# This file includes, if appropriate, various "sub-files" +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +## # +## # OPTION: Display "veins" (white "%") as "normal walls" (white "#"). +## # +## F:50:0x01/0x23 +## F:51:0x01/0x23 +## F:52:0x01/0x23 +## F:53:0x01/0x23 + + +##### Standard font file ##### + +%:font-xxx.prf + + +##### System Specific Subfiles ##### + +?:[IOR [EQU $SYS xaw] [EQU $SYS x11] [EQU $SYS gtk]] +%:font-x11.prf + +?:[EQU $SYS gcu] +%:font-gcu.prf + +?:[EQU $SYS mac] +%:font-mac.prf + +?:[EQU $SYS win] +%:font-win.prf + +?:1 diff --git a/lib/pref/pref-gcu.prf b/lib/pref/pref-gcu.prf new file mode 100644 index 00000000..cbc80ada --- /dev/null +++ b/lib/pref/pref-gcu.prf @@ -0,0 +1,70 @@ +# File: pref-gcu.prf + +# +# This file may be included by "pref.prf", when using "main-gcu.prf". +# +# It contains macro definitions to allow the VT100 cursor keys to be +# recognized by Angband. This will also make the "escape" key take a +# few seconds to recognize, so you may want to use the "`" key instead. +# + + +### VT100 Keypad ### + + +# Special keypad keys (delete, insert) + +A:. +P:\e[3~ + +A:0 +P:\e[2~ + + +# Numerical keypad keys (map to appropriate number) + +A:1 +P:\e[4~ +P:\e[F + +A:2 +P:\e[B + +A:3 +P:\e[6~ + +A:4 +P:\e[D + +A:5 +P:\e[G + +A:6 +P:\e[C + +A:7 +P:\e[1~ +P:\e[H + +A:8 +P:\e[A + +A:9 +P:\e[5~ + + +# Basic function keys (F1 - F4) + +A:\e +P:\eOP + +A:\e +P:\eOQ + +A:\e +P:\eOR + +A:\e +P:\eOS + + diff --git a/lib/pref/pref-mac.prf b/lib/pref/pref-mac.prf new file mode 100644 index 00000000..88e5618e --- /dev/null +++ b/lib/pref/pref-mac.prf @@ -0,0 +1,243 @@ +# File: pref-mac.prf + +# +# This file is included by "pref.prf" when "main-mac.c" is used. +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +# +# Macro Trigger configuration +# +# T:::::.... +# '&' in specifies location of modifier character. +# '#' in specifies location of key code. +# +# If is null string, all trigger difinition will be cleared. + +T:&#:CSOX:control-:shift-:option-:command- + +# T::: +# '\' in is escape character. + +T:KP_Decimal:1 +T:KP_Multiply:3 +T:KP_Add:5 +T:KP_Clear:7 +T:KP_Divide:11 +T:KP_Enter:12 +T:KP_Subtract:14 +T:KP_Equal:17 +T:KP_0:18 +T:KP_1:19 +T:KP_2:20 +T:KP_3:21 +T:KP_4:22 +T:KP_5:23 +T:KP_6:24 +T:KP_7:25 +T:KP_8:27 +T:KP_9:28 +T:F5:32 +T:F6:33 +T:F7:34 +T:F3:35 +T:F8:36 +T:F10:37 +T:F11:39 +T:F13:41 +T:F14:43 +T:F9:45 +T:F12:47 +T:F15:49 +T:Help:50 +T:Home:51 +T:Page_Up:52 +T:Delete:53 +T:F4:54 +T:End:55 +T:F2:56 +T:Page_Down:57 +T:F1:58 +T:Left:59 +T:Right:60 +T:Down:61 +T:Up:62 + +##### Simple Macros ##### + + +# +# Keypad -- (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.) +# + +A:/ +P:^_K/\r + +A:* +P:^_K*\r + +A:7 +P:^_K7\r + +A:8 +P:^_K8\r + +A:9 +P:^_K9\r + +A:- +P:^_K-\r + +A:4 +P:^_K4\r + +A:5 +P:^_K5\r + +A:6 +P:^_K6\r + +A:+ +P:^_K+\r + +A:1 +P:^_K1\r + +A:2 +P:^_K2\r + +A:3 +P:^_K3\r + +A:0 +P:^_K0\r + +A:. +P:^_K.\r + + +# +# Shift-Keypad -- Directed running +# + +A:\e\e\\.1 +P:^_S19\r + +A:\e\e\\.2 +P:^_S20\r + +A:\e\e\\.3 +P:^_S21\r + +A:\e\e\\.4 +P:^_S22\r + +A:\e\e\\.5 +P:^_S23\r + +A:\e\e\\.6 +P:^_S24\r + +A:\e\e\\.7 +P:^_S25\r + +A:\e\e\\.8 +P:^_S27\r + +A:\e\e\\.9 +P:^_S28\r + + +# +# Control-Keypad -- Directed tunneling +# + +A:\e\e\\+1 +P:^_C19\r + +A:\e\e\\+2 +P:^_C20\r + +A:\e\e\\+3 +P:^_C21\r + +A:\e\e\\+4 +P:^_C22\r + +A:\e\e\\+5 +P:^_C23\r + +A:\e\e\\+6 +P:^_C24\r + +A:\e\e\\+7 +P:^_C25\r + +A:\e\e\\+8 +P:^_C27\r + +A:\e\e\\+9 +P:^_C28\r + + + +# +# Option-Control-Keypad -- wield {@0} and tunnel +# + +A:\e\ew0\s\s\\+1 +P:^_CO19\r + +A:\e\ew0\s\s\\+2 +P:^_CO20\r + +A:\e\ew0\s\s\\+3 +P:^_CO21\r + +A:\e\ew0\s\s\\+4 +P:^_CO22\r + +A:\e\ew0\s\s\\+5 +P:^_CO23\r + +A:\e\ew0\s\s\\+6 +P:^_CO24\r + +A:\e\ew0\s\s\\+7 +P:^_CO25\r + +A:\e\ew0\s\s\\+8 +P:^_CO27\r + +A:\e\ew0\s\s\\+9 +P:^_CO28\r + + +# +# Option-Control-Keypad-Zero -- wield {@0} +# + +A:\e\ew0\s +P:^_CO18\r + + + +# +# Hack -- Arrow-Keys +# + +A:4 +P:^_59\r + +A:6 +P:^_60\r + +A:2 +P:^_61\r + +A:8 +P:^_62\r + + diff --git a/lib/pref/pref-sdl.prf b/lib/pref/pref-sdl.prf new file mode 100644 index 00000000..3bc0f030 --- /dev/null +++ b/lib/pref/pref-sdl.prf @@ -0,0 +1,144 @@ +# File: pref-sdl.prf + +# This file implements macros for extended keyboard commands (characters not +# within the 128 character ASCII set). +# Basically, if you have to hold down control or alt or it's an arrow key, +# it will be handled here. This means that we can let SDL worry about figuring +# out what key is which; all it needs to do is give us the name and we'll map +# it here. +# +# Note the use of "\e\e\e\e" (four escapes) to allow the macros to work +# even if the game is not yet ready for a command. +# +# Note the use of "\\." (for "run") and "\\+" (for "alter"), to make sure +# that the macros will work regardless of the "keymap" being used. +# + +# Basic Arrow Movement + +A:8 +P:\[up] + +A:6 +P:\[right] + +A:4 +P:\[left] + +A:2 +P:\[down] + +# Basic Arrows with Shift Down + +A:\e\e\e\e\\.8 +P:\[shift-up] + +A:\e\e\e\e\\.6 +P:\[shift-right] + +A:\e\e\e\e\\.4 +P:\[shift-left] + +A:\e\e\e\e\\.2 +P:\[shift-down] + +# Basic Arrows with Control Down + +A:\e\e\e\e\\+8 +P:\[ctrl-up] + +A:\e\e\e\e\\+6 +P:\[ctrl-right] + +A:\e\e\e\e\\+4 +P:\[ctrl-left] + +A:\e\e\e\e\\+2 +P:\[ctrl-down] + +# Keypad + +A:1 +P:\[[1]] + +A:2 +P:\[[2]] + +A:3 +P:\[[3]] + +A:4 +P:\[[4]] + +A:5 +P:\[[5]] + +A:6 +P:\[[6]] + +A:7 +P:\[[7]] + +A:8 +P:\[[8]] + +A:9 +P:\[[9]] + +# Keypad With Shift + +A:\e\e\e\e\\.1 +P:\[shift-[1]] + +A:\e\e\e\e\\.2 +P:\[shift-[2]] + +A:\e\e\e\e\\.3 +P:\[shift-[3]] + +A:\e\e\e\e\\.4 +P:\[shift-[4]] + +A:\e\e\e\e\\.5 +P:\[shift-[5]] + +A:\e\e\e\e\\.6 +P:\[shift-[6]] + +A:\e\e\e\e\\.7 +P:\[shift-[7]] + +A:\e\e\e\e\\.8 +P:\[shift-[8]] + +A:\e\e\e\e\\.9 +P:\[shift-[9]] + +# Keypad With Control + +A:\e\e\e\e\\+1 +P:\[ctrl-[1]] + +A:\e\e\e\e\\+2 +P:\[ctrl-[2]] + +A:\e\e\e\e\\+3 +P:\[ctrl-[3]] + +A:\e\e\e\e\\+4 +P:\[ctrl-[4]] + +A:\e\e\e\e\\+5 +P:\[ctrl-[5]] + +A:\e\e\e\e\\+6 +P:\[ctrl-[6]] + +A:\e\e\e\e\\+7 +P:\[ctrl-[7]] + +A:\e\e\e\e\\+8 +P:\[ctrl-[8]] + +A:\e\e\e\e\\+9 +P:\[ctrl-[9]] diff --git a/lib/pref/pref-win.prf b/lib/pref/pref-win.prf new file mode 100644 index 00000000..7b1501f1 --- /dev/null +++ b/lib/pref/pref-win.prf @@ -0,0 +1,534 @@ +# File: pref-ibm.prf + +# +# This file is used by Angband (when it was compiled using "main-ibm.c" +# or "main-dos.c" or "main-win.c") to specify various "user preferences", +# including "macros". +# +# This file defines some basic macros, which allow the use of the "keypad", +# alone, and with the shift and/or control modifier keys. All "special" +# keys are translated by "main-ibm.c" (or "main-win.c") into special "macro +# triggers" of the encoded form "^_MMMxSS\r", where the "modifier" flags are +# stored in "MMM", and the two digit hexidecimal scan code of the keypress is +# stored in "SS". +# +# The "main-ibm.prf" and "main-dos.prf" files may not be able to recognize +# the "/" and "*" keys on the keypad, because it mistakenly classifies the +# "0x35" and "0x37" codes as the keycodes of "normal" keys. +# +# The "main-win.prf" file should not be using the final "control + keypad" +# section in this file, it was created for "main-ibm.c" and "main-dos.c". +# +# The "main-win.prf" file may actually send the "ascii" equivalent of some +# keypad keys after the keypad key itself, especially if "numlock" is down, +# which may cause problems. Or it may not, it is hard to tell. This is bad. +# +# See "main-ibm.c" and "main-dos.c" and "main-win.c" for more info. +# + +# +# Macro Trigger configuration +# +# T:::::.... +# '&' in specifies location of modifier character. +# '#' in specifies location of key code. +# +# If is null string, all trigger difinition will be cleared. + +T:&x#:CSA:control-:shift-:alt- + +# T::: +# '\' in is escape character. + +# These keycodes are actually direct keyboard scan code taken from the 'dinput.h'. + +?:[EQU $KEYBOARD JAPAN] +# For Japanese keyboard. +T:-:0C +T:^:0D +T:@:1A +T:[:1B +T:;:27 +T:\::28 +T:]:2B +T:,:33 +T:.:34 +T:\/:35 +T:_:73 +?:1 + +?:[EQU $KEYBOARD 0] +# For US keyboard. +T:-:0C +T:=:0D +T:[:1A +T:]:1B +T:;:27 +T:\':28 +T:`:29 +T:\\:2B +T:,:33 +T:.:34 +T:\/:35 +?:1 + +############ +# Common keycodes (except NEC PC-98x1) + +?:[NOT [EQU $KEYBOARD NEC98]] +T:1:02 +T:2:03 +T:3:04 +T:4:05 +T:5:06 +T:6:07 +T:7:08 +T:8:09 +T:9:0A +T:0:0B +T:Backspace:0E +T:Q:10 +T:W:11 +T:E:12 +T:R:13 +T:T:14 +T:Y:15 +T:U:16 +T:I:17 +T:O:18 +T:P:19 +T:Enter:1C +T:A:1E +T:S:1F +T:D:20 +T:F:21 +T:G:22 +T:H:23 +T:J:24 +T:K:25 +T:L:26 +T:Zenkaku_Hankaku:29 +T:Z:2C +T:X:2D +T:C:2E +T:V:2F +T:B:30 +T:N:31 +T:M:32 +T:KP_Multiply:37 +T:CapsLock:3A +T:F1:3B +T:F2:3C +T:F3:3D +T:F4:3E +T:F5:3F +T:F6:40 +T:F7:41 +T:F8:42 +T:F9:43 +T:F10:44 +T:Numlock:45 +T:Scroll:46 +#T:KP_7:47 +T:Home:47 +#T:KP_8:48 +T:Up:48 +#T:KP_9:49 +T:Page_Up:49 +T:KP_Subtract:4A +#T:KP_4:4B +T:Left:4B +T:KP_5:4C +#T:KP_6:4D +T:Right:4D +T:KP_Add:4E +#T:KP_1:4F +T:End:4F +#T:KP_2:50 +T:Down:50 +#T:KP_3:51 +T:Page_Down:51 +#T:KP_0:52 +T:Insert:52 +#T:KP_Decimal:53 +T:Delete:53 +T:Oem_102:56 +T:F11:57 +T:F12:58 +T:Menu:5D +T:F13:64 +T:F14:65 +T:F15:66 +T:Hiragana_Katakana:70 +T:Abnt_C1:73 +T:Henkan:79 +T:Muhenkan:7B +T:Yen:7D +T:Abnt_C2:7E +T:KP_equals:8D +T:Prevtrack:90 +T:Kanji:94 +T:Stop:95 +T:Ax:96 +T:Unlabeled:97 +T:Nexttrack:99 +T:KP_Enter:9C +T:Mute:A0 +T:Calculator:A1 +T:Playpause:A2 +T:Mediastop:A4 +T:Volumedown:AE +T:Volumeup:B0 +T:Webhome:B2 +T:KP_Comma:B3 +T:KP_Divide:B5 +T:Sys_Req:B7 +T:Pause:C5 +#T:Home:C7 +#T:Up:C8 +#T:Prior:C9 +#T:Left:CB +#T:Right:CD +#T:End:CF +#T:Down:D0 +#T:Next:D1 +#T:Insert:D2 +#T:Delete:D3 +T:Lwin:DB +T:Rwin:DC +T:Apps:DD +T:Power:DE +T:Sleep:DF +T:Wake:E3 +T:Websearch:E5 +T:Webfavorites:E6 +T:Webrefresh:E7 +T:Webstop:E8 +T:Webforward:E9 +T:Webback:EA +T:Mycomputer:EB +T:Mail:EC +T:Mediaselect:ED +?:1 + + +###################### +# For NEC PC-98x1 + +?:[EQU $KEYBOARD NEC98] +T:1:01 +T:2:02 +T:3:03 +T:4:04 +T:5:05 +T:6:06 +T:7:07 +T:8:08 +T:9:09 +T:0:0A +T:-:0B +T:^:0C +T:Yen:0D +T:Backspace:0E +T:Q:10 +T:W:11 +T:E:12 +T:R:13 +T:T:14 +T:Y:15 +T:U:16 +T:I:17 +T:O:18 +T:P:19 +T:@:1a +T:[:1b +T:Enter:1C +T:A:1D +T:S:1E +T:D:1F +T:F:20 +T:G:21 +T:H:22 +T:J:23 +T:K:24 +T:L:25 +T:;:26 +T:\::27 +T:[:28 +T:Z:29 +T:X:2A +T:C:2B +T:V:2C +T:B:2D +T:N:2E +T:M:2F +T:,:30 +T:.:31 +T:\/:32 +T:_:33 +T:Henkan:35 +T:Page_Down:36 +T:Page_Up:37 +T:Insert:38 +T:Delete:39 +T:Up:3A +T:Left:3B +T:Right:3C +T:Down:3D +T:Home:3E +T:End:3F +T:KP_Subtract:40 +T:KP_Divide:41 +T:KP_7:42 +T:KP_8:43 +T:KP_9:44 +T:KP_Multiply:45 +T:KP_4:46 +T:KP_5:47 +T:KP_6:48 +T:KP_Add:49 +T:KP_1:4A +T:KP_2:4B +T:KP_3:4C +T:KP_Equal:4D +T:KP_0:4E +T:KP_Comma:4F +T:KP_Decimal:50 +T:Muhenkan:51 +T:F11:52 +T:F12:53 +T:F13:54 +T:F14:55 +T:F15:56 +T:Pause:60 +T:F1:62 +T:F2:63 +T:F3:64 +T:F4:65 +T:F5:66 +T:F6:67 +T:F7:68 +T:F8:69 +T:F9:6A +T:F10:6B +T:CapsLock:71 +T:Hiragana_Katakana:72 +T:Menu:79 + +?:[NOT [EQU $KEYBOARD NEC98]] + + +# +# Hack -- Some foreign keyboards have a special key on the keyboard, which +# is used to generate the "<", ">", and "|" keys (alone, shifted, alt-ed). +# + +A:< +P:^_x56\r + +A:> +P:^_Sx56\r + +A:| +P:^_Ax56\r + + +# +# Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.) +# + +A:/ +P:^_x35\r + +A:* +P:^_x37\r + +A:7 +P:^_x47\r + +A:8 +P:^_x48\r + +A:9 +P:^_x49\r + +A:- +P:^_x4A\r + +A:4 +P:^_x4B\r + +A:5 +P:^_x4C\r + +A:6 +P:^_x4D\r + +A:+ +P:^_x4E\r + +A:1 +P:^_x4F\r + +A:2 +P:^_x50\r + +A:3 +P:^_x51\r + +A:0 +P:^_x52\r + +A:. +P:^_x53\r + + +# +# Shift + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.) +# + +A:\e\e\e +P:^_Sx35\r + +A:\e\e\e +P:^_Sx37\r + +A:\e\e\\.7 +P:^_Sx47\r + +A:\e\e\\.8 +P:^_Sx48\r + +A:\e\e\\.9 +P:^_Sx49\r + +A:\e\e\e +P:^_Sx4A\r + +A:\e\e\\.4 +P:^_Sx4B\r + +A:\e\e\\.5 +P:^_Sx4C\r + +A:\e\e\\.6 +P:^_Sx4D\r + +A:\e\e\e +P:^_Sx4E\r + +A:\e\e\\.1 +P:^_Sx4F\r + +A:\e\e\\.2 +P:^_Sx50\r + +A:\e\e\\.3 +P:^_Sx51\r + +A:\e\e\e +P:^_Sx52\r + +A:\e\e\e +P:^_Sx53\r + + +# +# Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.) +# + +A:\e\e\e +P:^_Cx35\r + +A:\e\e\e +P:^_Cx37\r + +A:\e\e\\+7 +P:^_Cx47\r + +A:\e\e\\+8 +P:^_Cx48\r + +A:\e\e\\+9 +P:^_Cx49\r + +A:\e\e\e +P:^_Cx4A\r + +A:\e\e\\+4 +P:^_Cx4B\r + +A:\e\e\\+5 +P:^_Cx4C\r + +A:\e\e\\+6 +P:^_Cx4D\r + +A:\e\e\e +P:^_Cx4E\r + +A:\e\e\\+1 +P:^_Cx4F\r + +A:\e\e\\+2 +P:^_Cx50\r + +A:\e\e\\+3 +P:^_Cx51\r + +A:\e\e\e +P:^_Cx52\r + +A:\e\e\e +P:^_Cx53\r + + +# +# Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.) +# + +A:\e\e\e +P:^_Cx95\r + +A:\e\e\e +P:^_Cx96\r + +A:\e\e\\+7 +P:^_Cx77\r + +A:\e\e\\+8 +P:^_Cx8D\r + +A:\e\e\\+9 +P:^_Cx84\r + +A:\e\e\e +P:^_Cx8E\r + +A:\e\e\\+4 +P:^_Cx73\r + +A:\e\e\\+5 +P:^_Cx8F\r + +A:\e\e\\+6 +P:^_Cx74\r + +A:\e\e\e +P:^_Cx90\r + +A:\e\e\\+1 +P:^_Cx75\r + +A:\e\e\\+2 +P:^_Cx91\r + +A:\e\e\\+3 +P:^_Cx76\r + +A:\e\e\e +P:^_Cx92\r + +A:\e\e\e +P:^_Cx93\r + diff --git a/lib/pref/pref-x11.prf b/lib/pref/pref-x11.prf new file mode 100644 index 00000000..f4df9376 --- /dev/null +++ b/lib/pref/pref-x11.prf @@ -0,0 +1,413 @@ +# File: pref-x11.prf + +# +# This file provides some macros for use with versions of Angband compiled +# using the "main-x11.c" (or "main-xaw.c") file. +# +# Note the use of "\e\e\e\e" (four escapes) to allow the macros to work +# even if the game is not yet ready for a command. +# +# Note the use of "\\." (for "run") and "\\+" (for "alter"), to make sure +# that the macros will work regardless of the "keymap" being used. +# + +# +# Macro Trigger configuration +# +# T:::::.... +# '&' in specifies location of modifier character. +# '#' in specifies location of key code. +# +# If is null string, all trigger difinition will be cleared. + +T:&_#:NSOM:control-:shift-:alt-:mod2- + +# T::: +# '\' in is escape character. + +T:Clear:FF0B +T:Pause:FF13 +T:Scroll_Lock:FF14 +T:Sys_Req:FF15 +T:Escape:FF1B +T:Delete:FFFF +T:Multi_Key:FF20 +T:Codeinput:FF37 +T:SingleCandidate:FF3C +T:MultipleCandidate:FF3D +T:PreviousCandidate:FF3E +T:Kanji:FF21 +T:Muhenkan:FF22 +T:Henkan:FF23 +T:Henkan_Mode:FF23 +T:Romaji:FF24 +T:Hiragana:FF25 +T:Katakana:FF26 +T:Hiragana_Katakana:FF27 +T:Zenkaku:FF28 +T:Hankaku:FF29 +T:Zenkaku_Hankaku:FF2A +T:Touroku:FF2B +T:Massyo:FF2C +T:Kana_Lock:FF2D +T:Kana_Shift:FF2E +T:Eisu_Shift:FF2F +T:Eisu_Toggle:FF30 +T:Kanji_Bangou:FF37 +T:Zen_Koho:FF3D +T:Mae_Koho:FF3E +T:Home:FF50 +T:Left:FF51 +T:Up:FF52 +T:Right:FF53 +T:Down:FF54 +T:Page_Up:FF55 +T:Page_Down:FF56 +T:End:FF57 +T:Begin:FF58 +T:Select:FF60 +T:Print:FF61 +T:Execute:FF62 +T:Insert:FF63 +T:Undo:FF65 +T:Redo:FF66 +T:Menu:FF67 +T:Find:FF68 +T:Cancel:FF69 +T:Help:FF6A +T:Break:FF6B +T:Mode_Switch:FF7E +T:Num_Lock:FF7F +T:KP_Space:FF80 +T:KP_Tab:FF89 +T:KP_Enter:FF8D +T:KP_F1:FF91 +T:KP_F2:FF92 +T:KP_F3:FF93 +T:KP_F4:FF94 +T:KP_Home:FF95 +T:KP_Left:FF96 +T:KP_Up:FF97 +T:KP_Right:FF98 +T:KP_Down:FF99 +T:KP_Page_Up:FF9A +T:KP_Page_Down:FF9B +T:KP_End:FF9C +T:KP_Begin:FF9D +T:KP_Insert:FF9E +T:KP_Delete:FF9F +T:KP_Equal:FFBD +T:KP_Multiply:FFAA +T:KP_Add:FFAB +T:KP_Comma:FFAC +T:KP_Subtract:FFAD +T:KP_Decimal:FFAE +T:KP_Divide:FFAF +T:KP_0:FFB0 +T:KP_1:FFB1 +T:KP_2:FFB2 +T:KP_3:FFB3 +T:KP_4:FFB4 +T:KP_5:FFB5 +T:KP_6:FFB6 +T:KP_7:FFB7 +T:KP_8:FFB8 +T:KP_9:FFB9 +T:F1:FFBE +T:F2:FFBF +T:F3:FFC0 +T:F4:FFC1 +T:F5:FFC2 +T:F6:FFC3 +T:F7:FFC4 +T:F8:FFC5 +T:F9:FFC6 +T:F10:FFC7 +T:F11:FFC8 +T:F12:FFC9 +T:F13:FFCA +T:F14:FFCB +T:F15:FFCC +T:F16:FFCD +T:F17:FFCE +T:F18:FFCF +T:F19:FFD0 +T:F20:FFD1 +T:F21:FFD2 +T:F22:FFD3 +T:F23:FFD4 +T:F24:FFD5 +T:F25:FFD6 +T:F26:FFD7 +T:F27:FFD8 +T:F28:FFD9 +T:F29:FFDA +T:F30:FFDB +T:F31:FFDC +T:F32:FFDD +T:F33:FFDE +T:F34:FFDF +T:F35:FFE0 + +T:\::3A:2A +T:*:3A:2A +T:;:3B:2B +T:+:3B:2B +T:,:2C:3C +T:<:2C:3C +T:-:2D:3D +T:=:2D:3D +T:.:2E:3E +T:>:2E:3E +T:\/:2F:3F +T:?:2F:3F +T:0:30:7E +T:~:30:7E +T:1:31:21 +T:!:31:21 +T:2:32:22 +T:":32:22 +T:3:33:23 +T:#:33:23 +T:4:34:24 +T:$:34:24 +T:5:35:25 +T:%:35:25 +T:6:36:26 +T:&:36:26 +T:7:37:27 +T:\':37:27 +T:8:38:28 +T:(:38:28 +T:9:39:29 +T:):39:29 +T:@:40:60 +T:`:40:60 +T:A:61:41 +T:B:62:42 +T:C:63:43 +T:D:64:44 +T:E:65:45 +T:F:66:46 +T:G:67:47 +T:H:68:48 +T:I:69:49 +T:J:6A:4A +T:K:6B:4B +T:L:6C:4C +T:M:6D:4D +T:N:6E:4E +T:O:6F:4F +T:P:70:50 +T:Q:71:51 +T:R:72:52 +T:S:73:53 +T:T:74:54 +T:U:75:55 +T:V:76:56 +T:W:77:57 +T:X:78:58 +T:Y:79:59 +T:Z:7A:5A +T:[:5B:7B +T:{:5B:7B +T:\\:5C:5F +T:_:5C:5F +T:]:5D:7D +T:}:5D:7D +T:^:5E:7E +T:~:5E:7E +T:|:A5:7C + + +# Keypad (0-9) + +A:0 +P:^__FFB0\r +P:^__FF63\r +P:^__????\r +P:^__FF9E\r + +A:1 +P:^__FFB1\r +P:^__FF57\r +P:^__FFDE\r +P:^__FF9C\r + +A:2 +P:^__FFB2\r +P:^__FF54\r +P:^__FFDF\r +P:^__FF99\r + +A:3 +P:^__FFB3\r +P:^__FF56\r +P:^__FFE0\r +P:^__FF9B\r + +A:4 +P:^__FFB4\r +P:^__FF51\r +P:^__FFDB\r +P:^__FF96\r + +A:5 +P:^__FFB5\r +P:^__FF80\r +P:^__FFDC\r +P:^__FF9D\r + +A:6 +P:^__FFB6\r +P:^__FF53\r +P:^__FFDD\r +P:^__FF98\r + +A:7 +P:^__FFB7\r +P:^__FF50\r +P:^__FFD8\r +P:^__FF95\r + +A:8 +P:^__FFB8\r +P:^__FF52\r +P:^__FFD9\r +P:^__FF97\r + +A:9 +P:^__FFB9\r +P:^__FF55\r +P:^__FFDA\r +P:^__FF9A\r + + +# Shift-Keypad (0-9) + +A:\e\e\e\e\\.0 +P:^_S_FFB0\r +P:^_S_FF63\r +P:^_S_????\r +P:^_S_FF9E\r + +A:\e\e\e\e\\.1 +P:^_S_FFB1\r +P:^_S_FF57\r +P:^_S_FFDE\r +P:^_S_FF9C\r + +A:\e\e\e\e\\.2 +P:^_S_FFB2\r +P:^_S_FF54\r +P:^_S_FFDF\r +P:^_S_FF99\r + +A:\e\e\e\e\\.3 +P:^_S_FFB3\r +P:^_S_FF56\r +P:^_S_FFE0\r +P:^_S_FF9B\r + +A:\e\e\e\e\\.4 +P:^_S_FFB4\r +P:^_S_FF51\r +P:^_S_FFDB\r +P:^_S_FF96\r + +A:\e\e\e\e\\.5 +P:^_S_FFB5\r +P:^_S_FF80\r +P:^_S_FFDC\r +P:^_S_????\r + +A:\e\e\e\e\\.6 +P:^_S_FFB6\r +P:^_S_FF53\r +P:^_S_FFDD\r +P:^_S_FF98\r + +A:\e\e\e\e\\.7 +P:^_S_FFB7\r +P:^_S_FF50\r +P:^_S_FFD8\r +P:^_S_FF95\r + +A:\e\e\e\e\\.8 +P:^_S_FFB8\r +P:^_S_FF52\r +P:^_S_FFD9\r +P:^_S_FF97\r + +A:\e\e\e\e\\.9 +P:^_S_FFB9\r +P:^_S_FF55\r +P:^_S_FFDA\r +P:^_S_FF9A\r + + +# Control-Keypad (0-9) + +A:\e\e\e\e\\+0 +P:^_N_FFB0\r +P:^_N_FF63\r +P:^_N_????\r +P:^_N_FF9E\r + +A:\e\e\e\e\\+1 +P:^_N_FFB1\r +P:^_N_FF57\r +P:^_N_FFDE\r +P:^_N_FF9C\r + +A:\e\e\e\e\\+2 +P:^_N_FFB2\r +P:^_N_FF54\r +P:^_N_FFDF\r +P:^_N_FF99\r + +A:\e\e\e\e\\+3 +P:^_N_FFB3\r +P:^_N_FF56\r +P:^_N_FFE0\r +P:^_N_FF9B\r + +A:\e\e\e\e\\+4 +P:^_N_FFB4\r +P:^_N_FF51\r +P:^_N_FFDB\r +P:^_N_FF96\r + +A:\e\e\e\e\\+5 +P:^_N_FFB5\r +P:^_N_FF80\r +P:^_N_FFDC\r +P:^_N_????\r + +A:\e\e\e\e\\+6 +P:^_N_FFB6\r +P:^_N_FF53\r +P:^_N_FFDD\r +P:^_N_FF98\r + +A:\e\e\e\e\\+7 +P:^_N_FFB7\r +P:^_N_FF50\r +P:^_N_FFD8\r +P:^_N_FF95\r + +A:\e\e\e\e\\+8 +P:^_N_FFB8\r +P:^_N_FF52\r +P:^_N_FFD9\r +P:^_N_FF97\r + +A:\e\e\e\e\\+9 +P:^_N_FFB9\r +P:^_N_FF55\r +P:^_N_FFDA\r +P:^_N_FF9A\r + + + + diff --git a/lib/pref/pref.prf b/lib/pref/pref.prf new file mode 100644 index 00000000..310e5b8a --- /dev/null +++ b/lib/pref/pref.prf @@ -0,0 +1,297 @@ +# File: pref.prf + +# +# This file defines "default" actions of various kinds +# +# This file includes, if appropriate, various "sub-files" +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# +# Note that the "X" key is mapped in both keysets to the key sequence +# "w0", which will "swap weapons" as long as both weapons contain the +# inscription "@0". For example, inscribe your main weapon as "@1@0" +# and your digger (or secondary weapon) as "@2@0". +# + + +##### Force certain options ##### + +## # Option -- Default to original commands +## X:rogue_like_commands + +## # Option -- Default to roguelike commands +## Y:rogue_like_commands + + +##### Original Keyset Mappings ##### + +# Stay still +A:, +C:0:5 + +# Movement +A:;1 +C:0:1 +A:;2 +C:0:2 +A:;3 +C:0:3 +A:;4 +C:0:4 +A:;6 +C:0:6 +A:;7 +C:0:7 +A:;8 +C:0:8 +A:;9 +C:0:9 + +# Hack -- Return +A:\r +C:0:^J + +# Hack -- Commit suicide +A:Q +C:0:^K + +# Hack -- Commit suicide +A:Q +C:0:^C + + +##### Roguelike Keyset Mappings ##### + +# Run +A:. +C:1:, + +# Stay still +A:, +C:1:. + +# Stay still +A:, +C:1:5 + +# Movement +A:;1 +C:1:1 +A:;2 +C:1:2 +A:;3 +C:1:3 +A:;4 +C:1:4 +A:;6 +C:1:6 +A:;7 +C:1:7 +A:;8 +C:1:8 +A:;9 +C:1:9 + +# Movement (rogue keys) +A:;1 +C:1:b +A:;2 +C:1:j +A:;3 +C:1:n +A:;4 +C:1:h +A:;6 +C:1:l +A:;7 +C:1:y +A:;8 +C:1:k +A:;9 +C:1:u + +# Running (shift + rogue keys) +A:.1 +C:1:B +A:.2 +C:1:J +A:.3 +C:1:N +A:.4 +C:1:H +A:.6 +C:1:L +A:.7 +C:1:Y +A:.8 +C:1:K +A:.9 +C:1:U + +# Altering (control + rogue keys) +A:+1 +C:1:^B +A:+2 +C:1:^J +A:+3 +C:1:^N +A:+4 +C:1:^H +A:+6 +C:1:^L +A:+7 +C:1:^Y +A:+8 +C:1:^K +A:+9 +C:1:^U + +# Allow use of the "tunnel" command +A:T +C:1:^T + +# Allow use of the "destroy" command +A:k +C:1:^D + +# Locate player on map +A:L +C:1:W + +# Browse a book (Peruse) +A:b +C:1:P + +# Toggle search mode +A:S +C:1:# + +# Use a staff (Zap) +A:u +C:1:Z + +# Take off equipment +A:t +C:1:T + +# Fire an item +A:f +C:1:t + +# Bash a door (Force) +A:B +C:1:f + +# Look around (examine) +A:l +C:1:x + +# Aim a wand (Zap) +A:a +C:1:z + +# Zap a rod (Activate) +A:z +C:1:a + +# Hack -- Commit suicide +A:Q +C:1:^C + +# Hack - race/mutation power activation +A:U +C:1:O + +# Sacrifice at an altar +A:O +C:1:^g + +# Hack up a corpse +A:h +C:1:$ + +# Cure meat +A:K +C:1:^O + +# Pet commands +A:P +C:1:X + +# Engrave +A:x +C:1:] + +# Steal +A:Z +C:1:[ + +# Drink from a fountain +A:H +C:1:V + +# Give item +A:y +C:1:' + +# Chat +A:Y +C:1:( + +# Command line +A:# +C:1:) + +# Record command +A:$ +C:1:S + + +### Extended macros ### + +# Note that : and ' can only be included in triggers if they are +# within quotes (i.e. as ':' or '''). + +L:-8192:help:Show this help +L:-8192:? +L:-8192:''' +L:-8191:irc_on:Connect to IRC +L:-8191:C +L:-8190:irc_say:Speak on IRC +L:-8190:@ +L:-8190:':' +L:-8189:irc_off:Disconnect from IRC +L:-8188:time:Get the current game time +L:-8188:T +L:-8187:skills:Check skills +L:-8187:S +L:-8186:html-dump:Save an html screenshot +L:-8186:D +L:-8184:quest:Show quest list +L:-8184:Q +L:-8183:blunder:Walk without disarming +L:-8183:B +L:-8182:ability:Check abilities +L:-8182:A +L:y:give:Give an object to a monster +L:Y:chat:Talk to a monster +L:j:jam:Jam a door + +##### System Specific Subfiles ##### + +?:[IOR [EQU $SYS xaw] [EQU $SYS x11] [EQU $SYS gtk2]] +%:pref-x11.prf + +?:[EQU $SYS gcu] +%:pref-gcu.prf + +?:[EQU $SYS mac] +%:pref-mac.prf + +?:[EQU $SYS win] +%:pref-win.prf + +?:[EQU $SYS sdl] +%:pref-sdl.prf + +?:1 diff --git a/lib/pref/trap-xxx.prf b/lib/pref/trap-xxx.prf new file mode 100644 index 00000000..f4d699a0 --- /dev/null +++ b/lib/pref/trap-xxx.prf @@ -0,0 +1,428 @@ +# Prf file for use with the 8x8 tiles to define +# trap image locations. Separated out from main +# graphics definitions due to the G:T:num:y:x +# instead of T:num:y:x (major problems if this +# file is opened in the TileAssigner) + +# Weakness Traps +G:T:1:0x82:0x9E +G:T:2:0x82:0x9E +G:T:3:0x82:0x9E + +# Intelligence Traps +G:T:4:0x82:0x9E +G:T:5:0x82:0x9E +G:T:6:0x82:0x9E + +# Wisdom Traps +G:T:7:0x82:0x9E +G:T:8:0x82:0x9E +G:T:9:0x82:0x9E + +# Fumbling Fingers Traps +G:T:10:0x82:0x9E +G:T:11:0x82:0x9E +G:T:12:0x82:0x9E + +# Wasting Traps +G:T:13:0x82:0x9E +G:T:14:0x82:0x9E +G:T:15:0x82:0x9E + +# Beauty Traps +G:T:16:0x82:0x9E +G:T:17:0x82:0x9E +G:T:18:0x82:0x9E + +# Trap of Curse Weapon +G:T:20:0xA2:0x92 + +# Trap of Curse Armor +G:T:21:0xA2:0x92 + +# Earthquake Trap +G:T:22:0xA2:0x87 + +# Poison Needle Trap +G:T:23:0xA2:0x8B + +# Summon Monster Trap +G:T:24:0xA2:0x89 + +# Summon Undead Trap +G:T:25:0xA2:0x89 + +# Summon Greater Undead Trap +G:T:26:0xA2:0x89 + +# Teleport Trap +G:T:27:0x8A:0x9C + +# Paralyzing Trap +G:T:28:0xA2:0x8B + +# Explosive Device +G:T:29:0xA2:0x8B + +# Teleport Item Trap +G:T:30:0x8A:0x9C + +# Lose Memory Trap +G:T:31:0xA2:0x8B + +# Bitter Regret Trap +G:T:32:0xA2:0x8B + +# Bowel Cramps Trap +G:T:33:0xA2:0x8B + +# Blindness/Confusion Trap +G:T:34:0xA2:0x8B + +# Aggravation Trap +G:T:35:0xA2:0x87 + +# Multiplication Trap +G:T:36:0xA2:0x87 + +# Steal Item Trap +G:T:37:0xA2:0x92 + +# Summon Fast Quylthulgs Trap +G:T:38:0xA2:0x89 + +# Trap of Sinking +G:T:39:0x8A:0x9C + +# Trap of Mana Drain +G:T:40:0xA2:0x8B + +# Trap of Missing Money +G:T:41:0xA2:0x92 + +# Trap of No Return +G:T:42:0xA2:0x92 + +# Trap of Silent Switching +G:T:43:0xA2:0x92 + +# Trap of Walls +G:T:44:0xA2:0x87 + +# Trap of Calling Out +G:T:45:0xA2:0x89 + +# Trap of Sliding +G:T:46:0xA2:0x8B + +# Trap of Charges Drain +G:T:47:0xA2:0x92 + +# Trap of Stair Movement +G:T:48:0xA2:0x87 + +# Trap of New Trap +G:T:49:0xA2:0x87 + +# Trap of Scatter Items +G:T:50:0x8A:0x9C + +# Trap of Decay +G:T:51:0xA2:0x8B + +# Trap of Wasting Wands +G:T:52:0xA2:0x92 + +# Trap of Filling +G:T:53:0xA2:0x87 + +# Trap of Drain Speed +G:T:54:0xA2:0x92 + +# Lightning Bolt Trap +G:T:60:0xA2:0x8C + +# Poison Bolt Trap +G:T:61:0xA2:0x8C + +# Acid Bolt Trap +G:T:62:0xA2:0x8C + +# Cold Bolt Trap +G:T:63:0xA2:0x8C + +# Fire Bolt Trap +G:T:64:0xA2:0x8C + +# Plasma Bolt Trap +G:T:65:0xA2:0x8C + +# Water Bolt Trap +G:T:66:0xA2:0x8C + +# Lite Bolt Trap +G:T:67:0xA2:0x8C + +# Dark Bolt Trap +G:T:68:0xA2:0x8C + +# Shards Bolt Trap +G:T:69:0xA2:0x8C + +# Sound Bolt Trap +G:T:70:0xA2:0x8C + +# Confusion Bolt Trap +G:T:71:0xA2:0x8C + +# Force Bolt Trap +G:T:72:0xA2:0x8C + +# Inertia Bolt Trap +G:T:73:0xA2:0x8C + +# Mana Bolt Trap +G:T:74:0xA2:0x8C + +# Ice Bolt Trap +G:T:75:0xA2:0x8C + +# Chaos Bolt Trap +G:T:76:0xA2:0x8C + +# Nether Bolt Trap +G:T:77:0xA2:0x8C + +# Disenchantment Bolt Trap +G:T:78:0xA2:0x8C + +# Nexus Bolt Trap +G:T:79:0xA2:0x8C + +# Time Bolt Trap +G:T:80:0xA2:0x8C + +# Gravity Bolt Trap +G:T:81:0xA2:0x8C + +# Lightning Ball Trap +G:T:82:0xA2:0x8D + +# Poison Ball Trap +G:T:83:0xA2:0x8D + +# Acid Ball Trap +G:T:84:0xA2:0x8D + +# Cold Ball Trap +G:T:85:0xA2:0x8D + +# Fire Ball Trap +G:T:86:0xA2:0x8D + +# Plasma Ball Trap +G:T:87:0xA2:0x8D + +# Water Ball Trap +G:T:88:0xA2:0x8D + +# Light Ball Trap +G:T:89:0xA2:0x8D + +# Darkness Ball Trap +G:T:90:0xA2:0x8D + +# Shards Ball Trap +G:T:91:0xA2:0x8D + +# Sound Ball Trap +G:T:92:0xA2:0x8D + +# Confusion Ball Trap +G:T:93:0xA2:0x8D + +# Force Ball Trap +G:T:94:0xA2:0x8D + +# Inertia Ball Trap +G:T:95:0xA2:0x8D + +# Mana Ball Trap +G:T:96:0xA2:0x8D + +# Ice Ball Trap +G:T:97:0xA2:0x8D + +# Chaos Ball Trap +G:T:98:0xA2:0x8D + +# Nether Ball Trap +G:T:99:0xA2:0x8D + +# Disenchantment Ball Trap +G:T:100:0xA2:0x8D + +# Nexus Ball Trap +G:T:101:0xA2:0x8D + +# Time Ball Trap +G:T:102:0xA2:0x8D + +# Gravity Ball Trap +G:T:103:0xA2:0x8D + +# Arrow Trap +G:T:110:0xA2:0x8E + +# Bolt Trap +G:T:111:0xA2:0x8E + +# Seeker Arrow Trap +G:T:112:0xA2:0x8E + +# Seeker Bolt Trap +G:T:113:0xA2:0x8E + +# Poison Arrow Trap +G:T:114:0xA2:0x8E + +# Poison Bolt Trap +G:T:115:0xA2:0x8E + +# Poison Seeker Arrow Trap +G:T:116:0xA2:0x8E + +# Poison Seeker Bolt Trap +G:T:117:0xA2:0x8E + +# Broken Dagger Trap +G:T:118:0xA2:0x8E + +# Dagger Trap +G:T:119:0xA2:0x8E + +# Poison Broken Dagger Trap +G:T:120:0xA2:0x8E + +# Poison Dagger Trap +G:T:121:0xA2:0x8E + +# Arrows Trap +G:T:122:0xA2:0x8E + +# Bolts Trap +G:T:123:0xA2:0x8E + +# Seeker Arrow Trap +G:T:124:0xA2:0x8E + +# Seeker Bolt Trap +G:T:125:0xA2:0x8E + +# Poison Arrows Trap +G:T:126:0xA2:0x8E + +# Poison Bolt Trap +G:T:127:0xA2:0x8E + +# Poison Seeker Arrows Trap +G:T:128:0xA2:0x8E + +# Poison Seeker Bolts Trap +G:T:129:0xA2:0x8E + +# Broken Daggers Trap +G:T:130:0xA2:0x8E + +# Dagger Trap +G:T:131:0xA2:0x8E + +# Poison Broken Daggers Trap +G:T:132:0xA2:0x8E + +# Poison Daggers Trap +G:T:133:0xA2:0x8E + +# Trap of Drop Item +G:T:140:0xA2:0x92 + +# Trap of Drop Items +G:T:141:0xA2:0x92 + +# Trap of Drop Everything +G:T:142:0xA2:0x92 + +# Trap of Femininity +G:T:150:0xA2:0x8B + +# Trap of Masculinity +G:T:151:0xA2:0x8B + +# Trap of Neutrality +G:T:152:0xA2:0x8B + +# Trap of Aging +G:T:153:0xA2:0x8B + +# Trap of Growing +G:T:154:0xA2:0x8B + +# Trap of Shrinking +G:T:155:0xA2:0x8B + +# Trap of Tanker Drain +G:T:157:0xA2:0x8B + +# Trap of Divine Anger +G:T:158:0xA2:0x88 + +# Trap of Divine Wrath +G:T:159:0xA2:0x88 + +# Hallucination Trap +G:T:160:0xA2:0x8B + +# Greater Magic Missile Trap +G:T:161:0xA2:0x8C + +# Foulness Trap +G:T:162:0xA2:0x8C + +# Trap of Death Ray +G:T:163:0xA2:0x8C + +# Trap of Holy Fire +G:T:164:0xA2:0x8C + +# Trap of Hell Fire +G:T:165:0xA2:0x8C + +# Psi Bolt Trap +G:T:166:0xA2:0x8C + +# Psi Drain Trap +G:T:167:0xA2:0x8B + +# Plasma (Nuke) Ball Trap +G:T:168:0xA2:0x8D + +# Psi Ball Trap +G:T:169:0xA2:0x8D + +# Aquirement Trap +G:T:170:0xA2:0x89 + +# Greater Lightning Bolt Trap +G:T:171:0xA2:0x8C + +# Greater Poison Bolt Trap +G:T:172:0xA2:0x8C + +# Greater Acid Bolt Trap +G:T:173:0xA2:0x8C + +# Greater Cold Bolt Trap +G:T:174:0xA2:0x8C + +# Greater Fire Bolt Trap +G:T:175:0xA2:0x8C \ No newline at end of file diff --git a/lib/pref/user.prf b/lib/pref/user.prf new file mode 100644 index 00000000..04715ebc --- /dev/null +++ b/lib/pref/user.prf @@ -0,0 +1,33 @@ +# File: user.prf + +# +# This file defines "override" actions of various kinds +# +# This file includes, if appropriate, various "sub-files" +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +## Option -- Force the use of original commands +#X:rogue_like_commands + +## Option -- Force the use of roguelike commands +#Y:rogue_like_commands + + +##### System Specific Subfiles ##### + +?:[IOR [EQU $SYS xaw] [EQU $SYS x11]] +%:user-x11.prf + +?:[EQU $SYS gcu] +%:user-gcu.prf + +?:[EQU $SYS mac] +%:user-mac.prf + +?:[EQU $SYS win] +%:user-win.prf + +?:1 diff --git a/lib/pref/xtra-gcu.prf b/lib/pref/xtra-gcu.prf new file mode 100644 index 00000000..7097658e --- /dev/null +++ b/lib/pref/xtra-gcu.prf @@ -0,0 +1,34 @@ +# File: xtra-gcu.prf + +# Rename this file to "pref-gcu.prf" to allow the VT100 cursor keys +# to be recognized by Angband. This will also make the "escape" key +# take a few seconds to recognize, so you may want to use the "`" key +# instead, or make a macro from escape+escape to escape. + +### VT100 Keypad ### + +# Special keypad keys (delete, insert) +A:. +P:\e[3~ +A:0 +P:\e[2~ + +# Numerical keypad keys (map to appropriate number) +A:1 +P:\e[4~ +A:2 +P:\e[B +A:3 +P:\e[6~ +A:4 +P:\e[D +A:5 +P:\e[G +A:6 +P:\e[C +A:7 +P:\e[1~ +A:8 +P:\e[A +A:9 +P:\e[5~ diff --git a/lib/pref/xtra-xxx.prf b/lib/pref/xtra-xxx.prf new file mode 100644 index 00000000..0c6186de --- /dev/null +++ b/lib/pref/xtra-xxx.prf @@ -0,0 +1,137 @@ +# File: xtra-xxx.prf + +# +# This file defines special attr/char mappings for use in "graphics" mode +# +# See "lib/help/command.txt" and "src/files.c" for more information. +# + + +##### Remap the player icon ##### + +?:[AND [EQU $CLASS Warrior] [EQU $RACE Human] ] +R:0:0x8C/0x80 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Half-Elf] ] +R:0:0x8C/0x81 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Elf] ] +R:0:0x8C/0x82 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Hobbit] ] +R:0:0x8C/0x83 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Gnome] ] +R:0:0x8C/0x84 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Dwarf] ] +R:0:0x8C/0x85 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Half-Orc] ] +R:0:0x8C/0x86 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Half-Troll] ] +R:0:0x8C/0x87 +?:[AND [EQU $CLASS Warrior] [EQU $RACE Dunadan] ] +R:0:0x8C/0x88 +?:[AND [EQU $CLASS Warrior] [EQU $RACE High-Elf] ] +R:0:0x8C/0x89 + +?:[AND [EQU $CLASS Mage] [EQU $RACE Human] ] +R:0:0x8C/0x8A +?:[AND [EQU $CLASS Mage] [EQU $RACE Half-Elf] ] +R:0:0x8C/0x8B +?:[AND [EQU $CLASS Mage] [EQU $RACE Elf] ] +R:0:0x8C/0x8C +?:[AND [EQU $CLASS Mage] [EQU $RACE Hobbit] ] +R:0:0x8C/0x8D +?:[AND [EQU $CLASS Mage] [EQU $RACE Gnome] ] +R:0:0x8C/0x8E +?:[AND [EQU $CLASS Mage] [EQU $RACE Dwarf] ] +R:0:0x8C/0x8F +?:[AND [EQU $CLASS Mage] [EQU $RACE Half-Orc] ] +R:0:0x8C/0x90 +?:[AND [EQU $CLASS Mage] [EQU $RACE Half-Troll] ] +R:0:0x8C/0x91 +?:[AND [EQU $CLASS Mage] [EQU $RACE Dunadan] ] +R:0:0x8C/0x92 +?:[AND [EQU $CLASS Mage] [EQU $RACE High-Elf] ] +R:0:0x8C/0x93 + +?:[AND [EQU $CLASS Priest] [EQU $RACE Human] ] +R:0:0x8C/0x94 +?:[AND [EQU $CLASS Priest] [EQU $RACE Half-Elf] ] +R:0:0x8C/0x95 +?:[AND [EQU $CLASS Priest] [EQU $RACE Elf] ] +R:0:0x8C/0x96 +?:[AND [EQU $CLASS Priest] [EQU $RACE Hobbit] ] +R:0:0x8C/0x97 +?:[AND [EQU $CLASS Priest] [EQU $RACE Gnome] ] +R:0:0x8C/0x98 +?:[AND [EQU $CLASS Priest] [EQU $RACE Dwarf] ] +R:0:0x8C/0x99 +?:[AND [EQU $CLASS Priest] [EQU $RACE Half-Orc] ] +R:0:0x8C/0x9A +?:[AND [EQU $CLASS Priest] [EQU $RACE Half-Troll] ] +R:0:0x8C/0x9B +?:[AND [EQU $CLASS Priest] [EQU $RACE Dunadan] ] +R:0:0x8C/0x9C +?:[AND [EQU $CLASS Priest] [EQU $RACE High-Elf] ] +R:0:0x8C/0x9D + +?:[AND [EQU $CLASS Rogue] [EQU $RACE Human] ] +R:0:0x8C/0x9E +?:[AND [EQU $CLASS Rogue] [EQU $RACE Half-Elf] ] +R:0:0x8C/0x9F +?:[AND [EQU $CLASS Rogue] [EQU $RACE Elf] ] +R:0:0x8D/0x80 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Hobbit] ] +R:0:0x8D/0x81 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Gnome] ] +R:0:0x8D/0x82 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Dwarf] ] +R:0:0x8D/0x83 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Half-Orc] ] +R:0:0x8D/0x84 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Half-Troll] ] +R:0:0x8D/0x85 +?:[AND [EQU $CLASS Rogue] [EQU $RACE Dunadan] ] +R:0:0x8D/0x86 +?:[AND [EQU $CLASS Rogue] [EQU $RACE High-Elf] ] +R:0:0x8D/0x87 + +?:[AND [EQU $CLASS Ranger] [EQU $RACE Human] ] +R:0:0x8D/0x88 +?:[AND [EQU $CLASS Ranger] [EQU $RACE Half-Elf] ] +R:0:0x8D/0x89 +?:[AND [EQU $CLASS Ranger] [EQU $RACE Elf] ] +R:0:0x8D/0x8A +?:[AND [EQU $CLASS Ranger] [EQU $RACE Hobbit] ] +R:0:0x8D/0x8B +?:[AND [EQU $CLASS Ranger] [EQU $RACE Gnome] ] +R:0:0x8D/0x8C +?:[AND [EQU $CLASS Ranger] [EQU $RACE Dwarf] ] +R:0:0x8D/0x8D +?:[AND [EQU $CLASS Ranger] [EQU $RACE Half-Orc] ] +R:0:0x8D/0x8E +?:[AND [EQU $CLASS Ranger] [EQU $RACE Half-Troll] ] +R:0:0x8D/0x8F +?:[AND [EQU $CLASS Ranger] [EQU $RACE Dunadan] ] +R:0:0x8D/0x90 +?:[AND [EQU $CLASS Ranger] [EQU $RACE High-Elf] ] +R:0:0x8D/0x91 + +?:[AND [EQU $CLASS Paladin] [EQU $RACE Human] ] +R:0:0x8D/0x92 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Half-Elf] ] +R:0:0x8D/0x93 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Elf] ] +R:0:0x8D/0x94 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Hobbit] ] +R:0:0x8D/0x95 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Gnome] ] +R:0:0x8D/0x96 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Dwarf] ] +R:0:0x8D/0x97 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Half-Orc] ] +R:0:0x8D/0x98 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Half-Troll] ] +R:0:0x8D/0x99 +?:[AND [EQU $CLASS Paladin] [EQU $RACE Dunadan] ] +R:0:0x8D/0x9A +?:[AND [EQU $CLASS Paladin] [EQU $RACE High-Elf] ] +R:0:0x8D/0x9B + -- cgit v1.2.3