#include "hack.h"
#include "tcap.h"
Defines | |
#define | C(n) |
#define | g_FILLER(symbol) 0 |
Functions | |
int | def_char_to_objclass (char ch) |
int | def_char_to_monclass (char ch) |
void | assign_graphics (uchar *graph_chars, int glth, int maxlen, int offset) |
void | switch_graphics (int gr_set_flag) |
Variables | |
uchar | oc_syms [MAXOCLASSES] = DUMMY |
uchar | showsyms [MAXPCHARS] = DUMMY |
uchar | monsyms [MAXMCLASSES] = DUMMY |
uchar | warnsyms [WARNCOUNT] = DUMMY |
const char | def_oc_syms [MAXOCLASSES] |
const char | invisexplain [] = "remembered, unseen, creature" |
const char *const | objexplain [] |
const char *const | oclass_names [] |
const char | def_monsyms [MAXMCLASSES] |
const char *const | monexplain [MAXMCLASSES] |
struct symdef | def_warnsyms [WARNCOUNT] |
struct symdef | defsyms [MAXPCHARS] |
#define C | ( | n ) |
#define g_FILLER | ( | symbol ) | 0 |
void assign_graphics | ( | uchar * | graph_chars, |
int | glth, | ||
int | maxlen, | ||
int | offset | ||
) |
References showsyms, and symdef::sym.
Referenced by graphics_opts(), parse_config_line(), and switch_graphics().
int def_char_to_monclass | ( | char | ch ) |
References def_monsyms, and MAXMCLASSES.
Referenced by choose_classes_menu(), do_class_genocide(), parseoptions(), spo_mon_generation(), spo_object(), and use_crystal_ball().
int def_char_to_objclass | ( | char | ch ) |
References def_oc_syms, and MAXOCLASSES.
Referenced by change_inv_order(), choose_classes_menu(), create_object(), dotypeinv(), ggetobj(), parseoptions(), query_classes(), readobjnam(), and use_crystal_ball().
void switch_graphics | ( | int | gr_set_flag ) |
References ASCII_GRAPHICS, assign_graphics(), CURS_GRAPHICS, DEC_GRAPHICS, instance_flags::DECgraphics, FALSE, IBM_GRAPHICS, instance_flags::IBMgraphics, iflags, MAC_GRAPHICS, MAXPCHARS, SIZE, and TRUE.
Referenced by initoptions(), and parseoptions().
const char def_monsyms[MAXMCLASSES] |
Referenced by def_char_to_monclass(), do_class_genocide(), do_look(), initoptions(), monster_detect(), rndmonst(), and use_crystal_ball().
const char def_oc_syms[MAXOCLASSES] |
{ '\0', ILLOBJ_SYM, WEAPON_SYM, ARMOR_SYM, RING_SYM, AMULET_SYM, TOOL_SYM, FOOD_SYM, POTION_SYM, SCROLL_SYM, SPBOOK_SYM, WAND_SYM, GOLD_SYM, GEM_SYM, ROCK_SYM, BALL_SYM, CHAIN_SYM, VENOM_SYM }
Referenced by collect_obj_classes(), def_char_to_objclass(), do_look(), dotypeinv(), getobj(), initoptions(), mkshop(), object_detect(), oc_to_str(), parseoptions(), query_category(), and query_objlist().
struct symdef def_warnsyms[WARNCOUNT] |
{ {'0', "unknown creature causing you worry", C(CLR_WHITE)}, {'1', "unknown creature causing you concern", C(CLR_RED)}, {'2', "unknown creature causing you anxiety", C(CLR_RED)}, {'3', "unknown creature causing you disquiet", C(CLR_RED)}, {'4', "unknown creature causing you alarm", C(CLR_MAGENTA)}, {'5', "unknown creature causing you dread", C(CLR_BRIGHT_MAGENTA)} }
Referenced by do_look(), initoptions(), and warning_opts().
Referenced by create_monster(), dfeature_at(), digactualhole(), do_look(), doidtrap(), domove(), dosit(), dotrap(), find_trap(), getpos(), hurtle_step(), look_here(), lookat(), mintrap(), readobjnam(), set_trap(), try_disarm(), untrap(), and use_trap().
const char invisexplain[] = "remembered, unseen, creature" |
Referenced by do_look().
const char* const monexplain[MAXMCLASSES] |
{ 0, "ant or other insect", "blob", "cockatrice", "dog or other canine", "eye or sphere", "cat or other feline", "gremlin", "humanoid", "imp or minor demon", "jelly", "kobold", "leprechaun", "mimic", "nymph", "orc", "piercer", "quadruped", "rodent", "arachnid or centipede", "trapper or lurker above", "unicorn or horse", "vortex", "worm", "xan or other mythical/fantastic insect", "light", "zruty", "angelic being", "bat or bird", "centaur", "dragon", "elemental", "fungus or mold", "gnome", "giant humanoid", 0, "jabberwock", "Keystone Kop", "lich", "mummy", "naga", "ogre", "pudding or ooze", "quantum mechanic", "rust monster, disenchanter or disintegrator", "snake", "troll", "umber hulk", "vampire", "wraith", "xorn", "apelike creature", "zombie", "human or elf", "ghost", "golem", "major demon", "sea monster", "lizard", "long worm tail", "mimic" }
Referenced by choose_classes_menu(), do_class_genocide(), and do_look().
Referenced by do_look(), initoptions(), mapglyph(), parse_config_line(), and parseoptions().
const char* const objexplain[] |
{ 0, "strange object", "weapon", "suit or piece of armor", "ring", "amulet", "useful item (pick-axe, key, lamp...)", "piece of food", "potion", "scroll", "spellbook", "wand", "pile of coins", "gem or rock", "boulder or statue", "iron ball", "iron chain", "splash of venom" }
Referenced by choose_classes_menu(), and do_look().
Referenced by bot2(), do_look(), get_compopt_value(), initoptions(), mapglyph(), parse_config_line(), and parseoptions().
const char* const oclass_names[] |
{ 0, "illegal objects", "weapons", "armor", "rings", "amulets", "tools", "food", "potions", "scrolls", "spellbooks", "wands", "coins", "rocks", "large stones", "iron balls", "chains", "venoms" }
Referenced by glibr().
Referenced by assign_graphics(), do_look(), doset(), epathto(), getpos(), initoptions(), is_swallow_sym(), and mapglyph().
Referenced by assign_warnings(), do_look(), initoptions(), and mapglyph().