obj_things.c File Reference

#include "obj_things.h"
#include <math.h>
#include "globals.h"
#include "lev_data.h"
#include "obj_slabs.h"
#include "lev_things.h"

Go to the source code of this file.

Typedefs

typedef unsigned int(* thing_subtype_counter )(void)

Functions

unsigned char get_thing_type (const unsigned char *thing)
short set_thing_type (unsigned char *thing, unsigned char type_idx)
unsigned char get_thing_subtype (const unsigned char *thing)
short set_thing_subtype (unsigned char *thing, const unsigned char stype_idx)
unsigned char get_thing_owner (const unsigned char *thing)
short set_thing_owner (unsigned char *thing, unsigned char ownr_idx)
unsigned char get_thing_subtile_x (const unsigned char *thing)
short set_thing_subtile_x (unsigned char *thing, unsigned char pos_x)
unsigned char get_thing_subtile_y (const unsigned char *thing)
short set_thing_subtile_y (unsigned char *thing, unsigned char pos_y)
short set_thing_subtile (unsigned char *thing, unsigned char pos_x, unsigned char pos_y)
unsigned char get_thing_subtile_h (const unsigned char *thing)
short set_thing_subtile_h (unsigned char *thing, unsigned char pos_h)
unsigned char get_thing_subtpos_x (const unsigned char *thing)
unsigned short get_thing_pos_x_adv (const unsigned char *thing)
short set_thing_subtpos_x (unsigned char *thing, unsigned char pos_x)
unsigned char get_thing_subtpos_y (const unsigned char *thing)
unsigned short get_thing_pos_y_adv (const unsigned char *thing)
short set_thing_subtpos_y (unsigned char *thing, unsigned char pos_y)
short set_thing_subtpos (unsigned char *thing, unsigned char pos_x, unsigned char pos_y)
unsigned char get_thing_subtpos_h (const unsigned char *thing)
short set_thing_subtpos_h (unsigned char *thing, unsigned char pos_h)
unsigned char get_thing_range_subtpos (const unsigned char *thing)
short set_thing_range_subtpos (unsigned char *thing, unsigned char rng)
unsigned char get_thing_range_subtile (const unsigned char *thing)
short set_thing_range_subtile (unsigned char *thing, unsigned char rng)
unsigned int get_thing_range_adv (const unsigned char *thing)
unsigned long get_thing_distance_sqr_adv (const unsigned char *thing, const int ssx, const int ssy)
unsigned long get_thing_distance_adv (const unsigned char *thing, const int ssx, const int ssy)
unsigned char get_thing_level (const unsigned char *thing)
short set_thing_level (unsigned char *thing, unsigned char lev_num)
unsigned short get_thing_sensitile (const unsigned char *thing)
short set_thing_sensitile (unsigned char *thing, unsigned short til_num)
unsigned char get_door_orientation (const unsigned char *thing)
short set_door_orientation (unsigned char *thing, unsigned char orient)
short switch_thing_subtype (unsigned char *thing, const short forward)
int get_thing_subtypes_arridx (const unsigned char *thing)
unsigned int get_thing_subtypes_count (const unsigned short arr_idx)
unsigned int get_thing_subtypes_arritem (const unsigned short arr_idx, const int arr_itm)
int get_thing_subtypes_arritmidx (const unsigned short arr_idx, const unsigned short stype_idx)
thing_subtype_arrayitem get_thing_subtypes_arritem_func (const unsigned short arr_idx)
unsigned short get_thing_subtypes_next (const unsigned short arr_idx, const unsigned short stype_idx)
unsigned short get_thing_subtypes_prev (const unsigned short arr_idx, const unsigned short stype_idx)
char * get_thing_type_fullname (unsigned short type_idx)
char * get_thing_type_shortname (const unsigned short type_idx)
char * get_thing_subtype_fullname (const unsigned short type_idx, const unsigned short stype_idx)
unsigned char get_usual_thing_slab (unsigned char *thing)
unsigned char get_usual_item_slab (unsigned char stype_idx)
unsigned char * create_thing_empty (void)
unsigned char * create_thing (unsigned int sx, unsigned int sy)
unsigned char * create_thing_copy (const struct LEVEL *lvl, unsigned int sx, unsigned int sy, unsigned char *src)
unsigned char * create_item (const struct LEVEL *lvl, unsigned int sx, unsigned int sy, unsigned char stype_idx)
short is_spellbook (const unsigned char *thing)
short is_spellbook_stype (const unsigned char stype_idx)
int get_spellbook_arridx (const unsigned char stype_idx)
unsigned char get_spellbook_arritm (const int arr_itm)
unsigned int get_spellbook_count (void)
unsigned char get_spellbook_next (const unsigned char stype_idx)
unsigned char get_spellbook_prev (const unsigned char stype_idx)
short is_dngspecbox (const unsigned char *thing)
short is_dngspecbox_stype (const unsigned char stype_idx)
int get_dngspecbox_arridx (const unsigned char stype_idx)
unsigned char get_dngspecbox_arritm (const int arr_itm)
unsigned int get_dngspecbox_count (void)
unsigned char get_dngspecbox_next (const unsigned char stype_idx)
unsigned char get_dngspecbox_prev (const unsigned char stype_idx)
short is_crtrlair (const unsigned char *thing)
short is_crtrlair_stype (const unsigned char stype_idx)
int get_crtrlair_arridx (const unsigned char stype_idx)
unsigned char get_crtrlair_arritm (const int arr_itm)
unsigned int get_crtrlair_count (void)
unsigned char get_crtrlair_next (const unsigned char stype_idx)
unsigned char get_crtrlair_prev (const unsigned char stype_idx)
short is_trapbox (const unsigned char *thing)
short is_trapbox_stype (const unsigned char stype_idx)
int get_trapbox_arridx (const unsigned char stype_idx)
unsigned char get_trapbox_arritm (const int arr_itm)
unsigned int get_trapbox_count (void)
unsigned char get_trapbox_next (const unsigned char stype_idx)
unsigned char get_trapbox_prev (const unsigned char stype_idx)
short is_trap (const unsigned char *thing)
int get_trap_arridx (const unsigned char stype_idx)
unsigned char get_trap_arritm (const int arr_itm)
unsigned int get_trap_count (void)
short is_creature (const unsigned char *thing)
int get_creature_arridx (const unsigned char stype_idx)
unsigned char get_creature_arritm (const int arr_itm)
unsigned int get_creature_count (void)
unsigned char get_creature_next (const unsigned char stype_idx)
unsigned char get_creature_prev (const unsigned char stype_idx)
short is_doorbox (const unsigned char *thing)
short is_doorbox_stype (const unsigned char stype_idx)
int get_doorbox_arridx (const unsigned char stype_idx)
unsigned char get_doorbox_arritm (const int arr_itm)
unsigned int get_doorbox_count (void)
unsigned char get_doorbox_next (const unsigned char stype_idx)
unsigned char get_doorbox_prev (const unsigned char stype_idx)
short is_door (const unsigned char *thing)
int get_door_arridx (const unsigned char stype_idx)
unsigned char get_door_arritm (const int arr_itm)
unsigned int get_door_count (void)
unsigned char get_door_next (const unsigned char stype_idx)
unsigned char get_door_prev (const unsigned char stype_idx)
short is_effectgen (const unsigned char *thing)
int get_effectgen_arridx (const unsigned char stype_idx)
unsigned char get_effectgen_arritm (const int arr_itm)
unsigned int get_effectgen_count (void)
unsigned char get_effectgen_next (const unsigned char stype_idx)
unsigned char get_effectgen_prev (const unsigned char stype_idx)
short is_statue (const unsigned char *thing)
short is_statue_stype (const unsigned char stype_idx)
int get_statue_arridx (const unsigned char stype_idx)
unsigned char get_statue_arritm (const int arr_itm)
unsigned int get_statue_count (void)
unsigned char get_statue_next (const unsigned char stype_idx)
unsigned char get_statue_prev (const unsigned char stype_idx)
short is_food (const unsigned char *thing)
short is_food_stype (const unsigned char stype_idx)
int get_food_arridx (const unsigned char stype_idx)
unsigned char get_food_arritm (const int arr_itm)
unsigned int get_food_count (void)
unsigned char get_food_next (const unsigned char stype_idx)
unsigned char get_food_prev (const unsigned char stype_idx)
short is_gold (const unsigned char *thing)
short is_gold_stype (const unsigned char stype_idx)
int get_gold_arridx (const unsigned char stype_idx)
unsigned char get_gold_arritm (const int arr_itm)
unsigned int get_gold_count (void)
unsigned char get_gold_next (const unsigned char stype_idx)
unsigned char get_gold_prev (const unsigned char stype_idx)
short is_torch (const unsigned char *thing)
short is_torch_stype (const unsigned char stype_idx)
int get_torch_arridx (const unsigned char stype_idx)
unsigned char get_torch_arritm (const int arr_itm)
unsigned int get_torch_count (void)
unsigned char get_torch_next (const unsigned char stype_idx)
unsigned char get_torch_prev (const unsigned char stype_idx)
short is_heartflame (const unsigned char *thing)
short is_heartflame_stype (const unsigned char stype_idx)
int get_heartflame_arridx (const unsigned char stype_idx)
unsigned char get_heartflame_arritm (const int arr_itm)
unsigned int get_heartflame_count (void)
unsigned char get_heartflame_next (const unsigned char stype_idx)
unsigned char get_heartflame_prev (const unsigned char stype_idx)
short is_polebar (const unsigned char *thing)
short is_polebar_stype (const unsigned char stype_idx)
int get_polebar_arridx (const unsigned char stype_idx)
unsigned char get_polebar_arritm (const int arr_itm)
unsigned int get_polebar_count (void)
short is_lit_thing (const unsigned char *thing)
short is_lit_thing_stype (const unsigned char stype_idx)
int get_lit_thing_arridx (const unsigned char stype_idx)
unsigned char get_lit_thing_arritm (const int arr_itm)
unsigned int get_lit_thing_count (void)
unsigned char get_lit_thing_next (const unsigned char stype_idx)
unsigned char get_lit_thing_prev (const unsigned char stype_idx)
short is_spinningtng (const unsigned char *thing)
short is_spinningtng_stype (const unsigned char stype_idx)
int get_spinningtng_arridx (const unsigned char stype_idx)
unsigned char get_spinningtng_arritm (const int arr_itm)
unsigned int get_spinningtng_count (void)
unsigned char get_spinningtng_next (const unsigned char stype_idx)
unsigned char get_spinningtng_prev (const unsigned char stype_idx)
short is_nulltng (const unsigned char *thing)
short is_nulltng_stype (const unsigned char stype_idx)
int get_nulltng_arridx (const unsigned char stype_idx)
unsigned char get_nulltng_arritm (const int arr_itm)
unsigned int get_nulltng_count (void)
short is_false_stype (const unsigned char stype_idx)
short is_itemeffect (const unsigned char *thing)
short is_itemeffect_stype (const unsigned char stype_idx)
int get_itemeffect_arridx (const unsigned char stype_idx)
unsigned char get_itemeffect_arritm (const int arr_itm)
unsigned int get_itemeffect_count (void)
short is_wrkshopbox (const unsigned char *thing)
short is_wrkshopbox_stype (const unsigned char stype_idx)
int get_wrkshopbox_arridx (const unsigned char stype_idx)
unsigned char get_wrkshopbox_arritm (const int arr_itm)
unsigned int get_wrkshopbox_count (void)
short is_torchcndl (const unsigned char *thing)
short is_torchcndl_stype (const unsigned char stype_idx)
int get_torchcndl_arridx (const unsigned char stype_idx)
unsigned char get_torchcndl_arritm (const int arr_itm)
unsigned int get_torchcndl_count (void)
short is_roomequip (const unsigned char *thing)
short is_roomequip_stype (const unsigned char stype_idx)
int get_roomequip_arridx (const unsigned char stype_idx)
unsigned char get_roomequip_arritm (const int arr_itm)
unsigned int get_roomequip_count (void)
short is_pwhand (const unsigned char *thing)
short is_pwhand_stype (const unsigned char stype_idx)
int get_pwhand_arridx (const unsigned char stype_idx)
unsigned char get_pwhand_arritm (const int arr_itm)
unsigned int get_pwhand_count (void)
short is_dncrucial (const unsigned char *thing)
short is_dncrucial_stype (const unsigned char stype_idx)
int get_dncrucial_arridx (const unsigned char stype_idx)
unsigned char get_dncrucial_arritm (const int arr_itm)
unsigned int get_dncrucial_count (void)
short is_furniture (const unsigned char *thing)
short is_furniture_stype (const unsigned char stype_idx)
int get_furniture_arridx (const unsigned char stype_idx)
unsigned char get_furniture_arritm (const int arr_itm)
unsigned int get_furniture_count (void)
unsigned char get_furniture_next (const unsigned char stype_idx)
unsigned char get_furniture_prev (const unsigned char stype_idx)
short is_herogate (const unsigned char *thing)
short is_dnheart (const unsigned char *thing)
short is_doorkey (const unsigned char *thing)
short is_trainpost (const unsigned char *thing)
short is_room_inventory (const unsigned char *thing)
short is_clmaffective_thing (const unsigned char *thing)
char * get_item_subtype_fullname (const unsigned short stype_idx)
char * get_item_subtype_shortname (const unsigned short stype_idx)
int get_item_category (unsigned char stype_idx)
char * get_creature_subtype_fullname (const unsigned short stype_idx)
char * get_creature_subtype_shortname (const unsigned short stype_idx)
char * get_trap_subtype_fullname (const unsigned short stype_idx)
char * get_door_subtype_fullname (const unsigned short stype_idx)
char * get_thing_category_fullname (const unsigned short arr_idx)
char * get_thing_category_shortname (const unsigned short arr_idx)
char * get_effectgen_subtype_fullname (const unsigned short stype_idx)
short item_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short creature_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short effectgen_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short door_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short trap_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short thing_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt)
short subtl_in_thing_range (const unsigned char *thing, unsigned int sx, unsigned int sy)

Variables

const char * thing_fullnames []
const char * thing_shortnames []
const char * traps []
const char * doors [] = {"", "Wooden", "Braced", "Iron", "Magic"}
const char * creature_names []
const char * creature_fullnames []
const char * effectgenrts []
const unsigned char creatr_types []
const unsigned char trap_types []
const unsigned char door_types []
const unsigned char efctgen_types []
const unsigned char items_nullthings []
const unsigned char items_effcts []
const unsigned char items_crtrlairs []
const unsigned char items_specboxes []
const unsigned char items_spellbooks []
const unsigned char items_wrkshpbxs []
const unsigned char items_spinnthings []
const unsigned char items_gold []
const unsigned char items_food []
const unsigned char items_torchcandls []
const unsigned char items_heartflames []
const unsigned char items_polebars []
const unsigned char items_statues []
const unsigned char items_furniture []
const unsigned char items_roomequip []
const unsigned char items_pwhand []
const unsigned char items_dncrucial []
const unsigned char items_litthings []
const unsigned char items_trapbxs []
const unsigned char items_doorboxes []
const unsigned char items_torches []
const is_thing_subtype thing_subtype_tests []
const is_item_subtype item_subtype_tests []
const char * thing_subtype_fullnames []
const char * thing_subtype_shortnames []
const thing_subtype_counter thing_subtype_count []
const thing_subtype_arrayindex thing_subtype_arridx []
const thing_subtype_arrayitem thing_subtype_arritm []


Typedef Documentation

typedef unsigned int(* thing_subtype_counter)(void)

Definition at line 209 of file obj_things.c.


Function Documentation

unsigned char* create_item ( const struct LEVEL lvl,
unsigned int  sx,
unsigned int  sy,
unsigned char  stype_idx 
)

Definition at line 889 of file obj_things.c.

Referenced by create_item_adv().

unsigned char* create_thing ( unsigned int  sx,
unsigned int  sy 
)

unsigned char* create_thing_copy ( const struct LEVEL lvl,
unsigned int  sx,
unsigned int  sy,
unsigned char *  src 
)

Definition at line 863 of file obj_things.c.

unsigned char* create_thing_empty ( void   ) 

Definition at line 828 of file obj_things.c.

Referenced by create_thing(), create_thing_copy(), and load_tng().

short creature_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3211 of file obj_things.c.

Referenced by thing_verify().

short door_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3263 of file obj_things.c.

Referenced by thing_verify().

short effectgen_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3222 of file obj_things.c.

Referenced by thing_verify().

int get_creature_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1244 of file obj_things.c.

unsigned char get_creature_arritm ( const int  arr_itm  ) 

Definition at line 1254 of file obj_things.c.

unsigned int get_creature_count ( void   ) 

Definition at line 1265 of file obj_things.c.

Referenced by get_creature_arridx(), and get_creature_arritm().

unsigned char get_creature_next ( const unsigned char  stype_idx  ) 

Definition at line 1273 of file obj_things.c.

unsigned char get_creature_prev ( const unsigned char  stype_idx  ) 

Definition at line 1287 of file obj_things.c.

char* get_creature_subtype_fullname ( const unsigned short  stype_idx  ) 

Definition at line 3070 of file obj_things.c.

Referenced by get_thing_subtype_fullname(), and write_nfo().

char* get_creature_subtype_shortname ( const unsigned short  stype_idx  ) 

Definition at line 3082 of file obj_things.c.

int get_crtrlair_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1070 of file obj_things.c.

Referenced by is_crtrlair_stype().

unsigned char get_crtrlair_arritm ( const int  arr_itm  ) 

Definition at line 1080 of file obj_things.c.

unsigned int get_crtrlair_count ( void   ) 

Definition at line 1091 of file obj_things.c.

Referenced by get_crtrlair_arridx(), and get_crtrlair_arritm().

unsigned char get_crtrlair_next ( const unsigned char  stype_idx  ) 

Definition at line 1099 of file obj_things.c.

unsigned char get_crtrlair_prev ( const unsigned char  stype_idx  ) 

Definition at line 1113 of file obj_things.c.

int get_dncrucial_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2355 of file obj_things.c.

Referenced by is_dncrucial_stype().

unsigned char get_dncrucial_arritm ( const int  arr_itm  ) 

Definition at line 2368 of file obj_things.c.

unsigned int get_dncrucial_count ( void   ) 

Definition at line 2379 of file obj_things.c.

Referenced by get_dncrucial_arridx(), and get_dncrucial_arritm().

int get_dngspecbox_arridx ( const unsigned char  stype_idx  ) 

Definition at line 996 of file obj_things.c.

Referenced by is_dngspecbox_stype().

unsigned char get_dngspecbox_arritm ( const int  arr_itm  ) 

Definition at line 1006 of file obj_things.c.

unsigned int get_dngspecbox_count ( void   ) 

Definition at line 1017 of file obj_things.c.

Referenced by get_dngspecbox_arridx(), and get_dngspecbox_arritm().

unsigned char get_dngspecbox_next ( const unsigned char  stype_idx  ) 

Definition at line 1025 of file obj_things.c.

unsigned char get_dngspecbox_prev ( const unsigned char  stype_idx  ) 

Definition at line 1039 of file obj_things.c.

int get_door_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1386 of file obj_things.c.

unsigned char get_door_arritm ( const int  arr_itm  ) 

Definition at line 1396 of file obj_things.c.

unsigned int get_door_count ( void   ) 

Definition at line 1407 of file obj_things.c.

Referenced by get_door_arridx(), and get_door_arritm().

unsigned char get_door_next ( const unsigned char  stype_idx  ) 

Definition at line 1415 of file obj_things.c.

unsigned char get_door_orientation ( const unsigned char *  thing  ) 

unsigned char get_door_prev ( const unsigned char  stype_idx  ) 

Definition at line 1429 of file obj_things.c.

char* get_door_subtype_fullname ( const unsigned short  stype_idx  ) 

Definition at line 3106 of file obj_things.c.

Referenced by get_thing_subtype_fullname(), things_verify(), and write_def_tng_source().

int get_doorbox_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1318 of file obj_things.c.

Referenced by is_doorbox_stype().

unsigned char get_doorbox_arritm ( const int  arr_itm  ) 

Definition at line 1328 of file obj_things.c.

unsigned int get_doorbox_count ( void   ) 

Definition at line 1339 of file obj_things.c.

Referenced by get_doorbox_arridx(), and get_doorbox_arritm().

unsigned char get_doorbox_next ( const unsigned char  stype_idx  ) 

Definition at line 1347 of file obj_things.c.

unsigned char get_doorbox_prev ( const unsigned char  stype_idx  ) 

Definition at line 1363 of file obj_things.c.

int get_effectgen_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1450 of file obj_things.c.

unsigned char get_effectgen_arritm ( const int  arr_itm  ) 

Definition at line 1460 of file obj_things.c.

unsigned int get_effectgen_count ( void   ) 

Definition at line 1471 of file obj_things.c.

Referenced by get_effectgen_arridx(), and get_effectgen_arritm().

unsigned char get_effectgen_next ( const unsigned char  stype_idx  ) 

Definition at line 1479 of file obj_things.c.

unsigned char get_effectgen_prev ( const unsigned char  stype_idx  ) 

Definition at line 1493 of file obj_things.c.

char* get_effectgen_subtype_fullname ( const unsigned short  stype_idx  ) 

Definition at line 3142 of file obj_things.c.

Referenced by get_thing_subtype_fullname().

int get_food_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1598 of file obj_things.c.

Referenced by is_food_stype().

unsigned char get_food_arritm ( const int  arr_itm  ) 

Definition at line 1608 of file obj_things.c.

unsigned int get_food_count ( void   ) 

Definition at line 1619 of file obj_things.c.

Referenced by get_food_arridx(), and get_food_arritm().

unsigned char get_food_next ( const unsigned char  stype_idx  ) 

Definition at line 1627 of file obj_things.c.

unsigned char get_food_prev ( const unsigned char  stype_idx  ) 

Definition at line 1641 of file obj_things.c.

int get_furniture_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2404 of file obj_things.c.

Referenced by is_furniture_stype().

unsigned char get_furniture_arritm ( const int  arr_itm  ) 

Definition at line 2414 of file obj_things.c.

unsigned int get_furniture_count ( void   ) 

Definition at line 2425 of file obj_things.c.

Referenced by get_furniture_arridx(), and get_furniture_arritm().

unsigned char get_furniture_next ( const unsigned char  stype_idx  ) 

Definition at line 2433 of file obj_things.c.

unsigned char get_furniture_prev ( const unsigned char  stype_idx  ) 

Definition at line 2447 of file obj_things.c.

int get_gold_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1666 of file obj_things.c.

Referenced by is_gold_stype().

unsigned char get_gold_arritm ( const int  arr_itm  ) 

Definition at line 1676 of file obj_things.c.

unsigned int get_gold_count ( void   ) 

Definition at line 1687 of file obj_things.c.

Referenced by get_gold_arridx(), and get_gold_arritm().

unsigned char get_gold_next ( const unsigned char  stype_idx  ) 

Definition at line 1695 of file obj_things.c.

unsigned char get_gold_prev ( const unsigned char  stype_idx  ) 

Definition at line 1709 of file obj_things.c.

int get_heartflame_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1808 of file obj_things.c.

Referenced by is_heartflame_stype().

unsigned char get_heartflame_arritm ( const int  arr_itm  ) 

Definition at line 1818 of file obj_things.c.

unsigned int get_heartflame_count ( void   ) 

Definition at line 1829 of file obj_things.c.

Referenced by get_heartflame_arridx(), and get_heartflame_arritm().

unsigned char get_heartflame_next ( const unsigned char  stype_idx  ) 

Definition at line 1837 of file obj_things.c.

unsigned char get_heartflame_prev ( const unsigned char  stype_idx  ) 

Definition at line 1854 of file obj_things.c.

int get_item_category ( unsigned char  stype_idx  ) 

char* get_item_subtype_fullname ( const unsigned short  stype_idx  ) 

Definition at line 2559 of file obj_things.c.

Referenced by get_thing_subtype_fullname(), things_verify(), and write_def_tng_source().

char* get_item_subtype_shortname ( const unsigned short  stype_idx  ) 

Definition at line 2860 of file obj_things.c.

int get_itemeffect_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2130 of file obj_things.c.

Referenced by is_itemeffect_stype().

unsigned char get_itemeffect_arritm ( const int  arr_itm  ) 

Definition at line 2143 of file obj_things.c.

unsigned int get_itemeffect_count ( void   ) 

Definition at line 2154 of file obj_things.c.

Referenced by get_itemeffect_arridx(), and get_itemeffect_arritm().

int get_lit_thing_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1926 of file obj_things.c.

Referenced by is_lit_thing_stype().

unsigned char get_lit_thing_arritm ( const int  arr_itm  ) 

Definition at line 1936 of file obj_things.c.

unsigned int get_lit_thing_count ( void   ) 

Definition at line 1947 of file obj_things.c.

Referenced by get_lit_thing_arridx(), and get_lit_thing_arritm().

unsigned char get_lit_thing_next ( const unsigned char  stype_idx  ) 

Definition at line 1955 of file obj_things.c.

unsigned char get_lit_thing_prev ( const unsigned char  stype_idx  ) 

Definition at line 1972 of file obj_things.c.

int get_nulltng_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2080 of file obj_things.c.

Referenced by is_nulltng_stype().

unsigned char get_nulltng_arritm ( const int  arr_itm  ) 

Definition at line 2093 of file obj_things.c.

unsigned int get_nulltng_count ( void   ) 

Definition at line 2104 of file obj_things.c.

Referenced by get_nulltng_arridx(), and get_nulltng_arritm().

int get_polebar_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1884 of file obj_things.c.

Referenced by is_polebar_stype().

unsigned char get_polebar_arritm ( const int  arr_itm  ) 

Definition at line 1894 of file obj_things.c.

unsigned int get_polebar_count ( void   ) 

Definition at line 1905 of file obj_things.c.

Referenced by get_polebar_arridx(), and get_polebar_arritm().

int get_pwhand_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2310 of file obj_things.c.

Referenced by is_pwhand_stype().

unsigned char get_pwhand_arritm ( const int  arr_itm  ) 

Definition at line 2323 of file obj_things.c.

unsigned int get_pwhand_count ( void   ) 

Definition at line 2334 of file obj_things.c.

Referenced by get_pwhand_arridx(), and get_pwhand_arritm().

int get_roomequip_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2265 of file obj_things.c.

Referenced by is_roomequip_stype().

unsigned char get_roomequip_arritm ( const int  arr_itm  ) 

Definition at line 2278 of file obj_things.c.

unsigned int get_roomequip_count ( void   ) 

Definition at line 2289 of file obj_things.c.

Referenced by get_roomequip_arridx(), and get_roomequip_arritm().

int get_spellbook_arridx ( const unsigned char  stype_idx  ) 

Definition at line 922 of file obj_things.c.

Referenced by is_spellbook_stype().

unsigned char get_spellbook_arritm ( const int  arr_itm  ) 

Definition at line 932 of file obj_things.c.

unsigned int get_spellbook_count ( void   ) 

Definition at line 943 of file obj_things.c.

Referenced by get_spellbook_arridx(), and get_spellbook_arritm().

unsigned char get_spellbook_next ( const unsigned char  stype_idx  ) 

Definition at line 951 of file obj_things.c.

unsigned char get_spellbook_prev ( const unsigned char  stype_idx  ) 

Definition at line 965 of file obj_things.c.

int get_spinningtng_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2001 of file obj_things.c.

Referenced by is_spinningtng_stype().

unsigned char get_spinningtng_arritm ( const int  arr_itm  ) 

Definition at line 2014 of file obj_things.c.

unsigned int get_spinningtng_count ( void   ) 

Definition at line 2025 of file obj_things.c.

Referenced by get_spinningtng_arridx(), and get_spinningtng_arritm().

unsigned char get_spinningtng_next ( const unsigned char  stype_idx  ) 

Definition at line 2033 of file obj_things.c.

unsigned char get_spinningtng_prev ( const unsigned char  stype_idx  ) 

Definition at line 2050 of file obj_things.c.

int get_statue_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1524 of file obj_things.c.

Referenced by is_statue_stype().

unsigned char get_statue_arritm ( const int  arr_itm  ) 

Definition at line 1534 of file obj_things.c.

unsigned int get_statue_count ( void   ) 

Definition at line 1545 of file obj_things.c.

Referenced by get_statue_arridx(), and get_statue_arritm().

unsigned char get_statue_next ( const unsigned char  stype_idx  ) 

Definition at line 1553 of file obj_things.c.

unsigned char get_statue_prev ( const unsigned char  stype_idx  ) 

Definition at line 1567 of file obj_things.c.

char* get_thing_category_fullname ( const unsigned short  arr_idx  ) 

Definition at line 3118 of file obj_things.c.

Referenced by things_verify().

char* get_thing_category_shortname ( const unsigned short  arr_idx  ) 

Definition at line 3130 of file obj_things.c.

Referenced by get_level_objstats_textln().

unsigned long get_thing_distance_adv ( const unsigned char *  thing,
const int  ssx,
const int  ssy 
)

Definition at line 496 of file obj_things.c.

Referenced by get_nearest_object_idx(), and get_nearest_thing_idx().

unsigned long get_thing_distance_sqr_adv ( const unsigned char *  thing,
const int  ssx,
const int  ssy 
)

Definition at line 482 of file obj_things.c.

unsigned char get_thing_level ( const unsigned char *  thing  ) 

Definition at line 508 of file obj_things.c.

Referenced by create_herogate_number_used_arr(), and get_door_lock().

unsigned char get_thing_owner ( const unsigned char *  thing  ) 

Definition at line 307 of file obj_things.c.

Referenced by owned_things_count().

unsigned short get_thing_pos_x_adv ( const unsigned char *  thing  ) 

Definition at line 373 of file obj_things.c.

Referenced by get_thing_distance_adv(), and get_thing_distance_sqr_adv().

unsigned short get_thing_pos_y_adv ( const unsigned char *  thing  ) 

Definition at line 392 of file obj_things.c.

Referenced by get_thing_distance_adv(), and get_thing_distance_sqr_adv().

unsigned int get_thing_range_adv ( const unsigned char *  thing  ) 

Definition at line 455 of file obj_things.c.

Referenced by draw_things_on_buffer(), and subtl_in_thing_range().

unsigned char get_thing_range_subtile ( const unsigned char *  thing  ) 

Definition at line 439 of file obj_things.c.

Referenced by effectgen_verify(), and get_thing_range_adv().

unsigned char get_thing_range_subtpos ( const unsigned char *  thing  ) 

Definition at line 426 of file obj_things.c.

Referenced by get_thing_range_adv().

unsigned short get_thing_sensitile ( const unsigned char *  thing  ) 

unsigned char get_thing_subtile_h ( const unsigned char *  thing  ) 

unsigned char get_thing_subtile_x ( const unsigned char *  thing  ) 

unsigned char get_thing_subtile_y ( const unsigned char *  thing  ) 

unsigned char get_thing_subtpos_h ( const unsigned char *  thing  ) 

unsigned char get_thing_subtpos_x ( const unsigned char *  thing  ) 

unsigned char get_thing_subtpos_y ( const unsigned char *  thing  ) 

unsigned char get_thing_subtype ( const unsigned char *  thing  ) 

char* get_thing_subtype_fullname ( const unsigned short  type_idx,
const unsigned short  stype_idx 
)

Examples:
putemple.c.

Definition at line 678 of file obj_things.c.

int get_thing_subtypes_arridx ( const unsigned char *  thing  ) 

unsigned int get_thing_subtypes_arritem ( const unsigned short  arr_idx,
const int  arr_itm 
)

Definition at line 600 of file obj_things.c.

thing_subtype_arrayitem get_thing_subtypes_arritem_func ( const unsigned short  arr_idx  ) 

Definition at line 622 of file obj_things.c.

int get_thing_subtypes_arritmidx ( const unsigned short  arr_idx,
const unsigned short  stype_idx 
)

Definition at line 611 of file obj_things.c.

unsigned int get_thing_subtypes_count ( const unsigned short  arr_idx  ) 

Definition at line 589 of file obj_things.c.

unsigned short get_thing_subtypes_next ( const unsigned short  arr_idx,
const unsigned short  stype_idx 
)

Definition at line 633 of file obj_things.c.

Referenced by switch_thing_subtype().

unsigned short get_thing_subtypes_prev ( const unsigned short  arr_idx,
const unsigned short  stype_idx 
)

Definition at line 648 of file obj_things.c.

Referenced by switch_thing_subtype().

unsigned char get_thing_type ( const unsigned char *  thing  ) 

char* get_thing_type_fullname ( unsigned short  type_idx  ) 

Definition at line 660 of file obj_things.c.

Referenced by get_thing_subtype_fullname(), and things_verify().

char* get_thing_type_shortname ( const unsigned short  type_idx  ) 

Definition at line 669 of file obj_things.c.

Referenced by write_def_tng_source().

int get_torch_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1737 of file obj_things.c.

Referenced by is_torch_stype().

unsigned char get_torch_arritm ( const int  arr_itm  ) 

Definition at line 1747 of file obj_things.c.

unsigned int get_torch_count ( void   ) 

Definition at line 1758 of file obj_things.c.

Referenced by get_torch_arridx(), and get_torch_arritm().

unsigned char get_torch_next ( const unsigned char  stype_idx  ) 

Definition at line 1766 of file obj_things.c.

unsigned char get_torch_prev ( const unsigned char  stype_idx  ) 

Definition at line 1780 of file obj_things.c.

int get_torchcndl_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2220 of file obj_things.c.

Referenced by is_torchcndl_stype().

unsigned char get_torchcndl_arritm ( const int  arr_itm  ) 

Definition at line 2233 of file obj_things.c.

unsigned int get_torchcndl_count ( void   ) 

Definition at line 2244 of file obj_things.c.

Referenced by get_torchcndl_arridx(), and get_torchcndl_arritm().

int get_trap_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1208 of file obj_things.c.

unsigned char get_trap_arritm ( const int  arr_itm  ) 

Definition at line 1218 of file obj_things.c.

unsigned int get_trap_count ( void   ) 

Definition at line 1229 of file obj_things.c.

Referenced by get_trap_arridx(), and get_trap_arritm().

char* get_trap_subtype_fullname ( const unsigned short  stype_idx  ) 

Definition at line 3094 of file obj_things.c.

Referenced by get_thing_subtype_fullname(), and write_def_tng_source().

int get_trapbox_arridx ( const unsigned char  stype_idx  ) 

Definition at line 1144 of file obj_things.c.

Referenced by is_trapbox_stype().

unsigned char get_trapbox_arritm ( const int  arr_itm  ) 

Definition at line 1154 of file obj_things.c.

unsigned int get_trapbox_count ( void   ) 

Definition at line 1165 of file obj_things.c.

Referenced by get_trapbox_arridx(), and get_trapbox_arritm().

unsigned char get_trapbox_next ( const unsigned char  stype_idx  ) 

Definition at line 1173 of file obj_things.c.

unsigned char get_trapbox_prev ( const unsigned char  stype_idx  ) 

Definition at line 1187 of file obj_things.c.

unsigned char get_usual_item_slab ( unsigned char  stype_idx  ) 

Definition at line 771 of file obj_things.c.

Referenced by get_usual_thing_slab().

unsigned char get_usual_thing_slab ( unsigned char *  thing  ) 

Definition at line 710 of file obj_things.c.

Referenced by remove_automade_obj_for_slab(), and remove_misplaced_objs_on_slab().

int get_wrkshopbox_arridx ( const unsigned char  stype_idx  ) 

Definition at line 2175 of file obj_things.c.

Referenced by is_wrkshopbox_stype().

unsigned char get_wrkshopbox_arritm ( const int  arr_itm  ) 

Definition at line 2188 of file obj_things.c.

unsigned int get_wrkshopbox_count ( void   ) 

Definition at line 2199 of file obj_things.c.

Referenced by get_wrkshopbox_arridx(), and get_wrkshopbox_arritm().

short is_clmaffective_thing ( const unsigned char *  thing  ) 

Definition at line 2530 of file obj_things.c.

Referenced by get_slab_surround().

short is_creature ( const unsigned char *  thing  ) 

short is_crtrlair ( const unsigned char *  thing  ) 

Definition at line 1053 of file obj_things.c.

short is_crtrlair_stype ( const unsigned char  stype_idx  ) 

Definition at line 1064 of file obj_things.c.

Referenced by is_crtrlair().

short is_dncrucial ( const unsigned char *  thing  ) 

Definition at line 2342 of file obj_things.c.

Referenced by remove_noncrucial_room_things(), and things_verify().

short is_dncrucial_stype ( const unsigned char  stype_idx  ) 

Definition at line 2349 of file obj_things.c.

Referenced by is_dncrucial().

short is_dngspecbox ( const unsigned char *  thing  ) 

Definition at line 979 of file obj_things.c.

Referenced by draw_things_on_buffer(), and things_verify().

short is_dngspecbox_stype ( const unsigned char  stype_idx  ) 

Definition at line 990 of file obj_things.c.

Referenced by is_dngspecbox().

short is_dnheart ( const unsigned char *  thing  ) 

Definition at line 2466 of file obj_things.c.

Referenced by update_thing_stats().

short is_door ( const unsigned char *  thing  ) 

short is_doorbox ( const unsigned char *  thing  ) 

Definition at line 1301 of file obj_things.c.

Referenced by things_verify().

short is_doorbox_stype ( const unsigned char  stype_idx  ) 

Definition at line 1312 of file obj_things.c.

Referenced by is_doorbox().

short is_doorkey ( const unsigned char *  thing  ) 

Definition at line 2474 of file obj_things.c.

Referenced by update_thing_subpos_and_height().

short is_effectgen ( const unsigned char *  thing  ) 

short is_false_stype ( const unsigned char  stype_idx  ) 

Definition at line 2109 of file obj_things.c.

short is_food ( const unsigned char *  thing  ) 

Definition at line 1581 of file obj_things.c.

Referenced by draw_things_on_buffer(), and things_verify().

short is_food_stype ( const unsigned char  stype_idx  ) 

Definition at line 1592 of file obj_things.c.

Referenced by is_food().

short is_furniture ( const unsigned char *  thing  ) 

Definition at line 2387 of file obj_things.c.

Referenced by things_verify().

short is_furniture_stype ( const unsigned char  stype_idx  ) 

Definition at line 2398 of file obj_things.c.

Referenced by is_furniture().

short is_gold ( const unsigned char *  thing  ) 

Definition at line 1652 of file obj_things.c.

Referenced by draw_things_on_buffer(), and things_verify().

short is_gold_stype ( const unsigned char  stype_idx  ) 

Definition at line 1660 of file obj_things.c.

Referenced by is_gold().

short is_heartflame ( const unsigned char *  thing  ) 

Definition at line 1794 of file obj_things.c.

Referenced by update_thing_subpos_and_height().

short is_heartflame_stype ( const unsigned char  stype_idx  ) 

Definition at line 1802 of file obj_things.c.

Referenced by create_item_adv(), and is_heartflame().

short is_herogate ( const unsigned char *  thing  ) 

Definition at line 2458 of file obj_things.c.

Referenced by update_thing_stats().

short is_itemeffect ( const unsigned char *  thing  ) 

Definition at line 2117 of file obj_things.c.

short is_itemeffect_stype ( const unsigned char  stype_idx  ) 

Definition at line 2124 of file obj_things.c.

Referenced by is_itemeffect().

short is_lit_thing ( const unsigned char *  thing  ) 

Definition at line 1913 of file obj_things.c.

Referenced by find_lit_thing_on_square_radius1(), and things_verify().

short is_lit_thing_stype ( const unsigned char  stype_idx  ) 

Definition at line 1920 of file obj_things.c.

Referenced by is_lit_thing().

short is_nulltng ( const unsigned char *  thing  ) 

Definition at line 2067 of file obj_things.c.

short is_nulltng_stype ( const unsigned char  stype_idx  ) 

Definition at line 2074 of file obj_things.c.

Referenced by is_nulltng().

short is_polebar ( const unsigned char *  thing  ) 

Definition at line 1870 of file obj_things.c.

short is_polebar_stype ( const unsigned char  stype_idx  ) 

Definition at line 1878 of file obj_things.c.

Referenced by is_polebar().

short is_pwhand ( const unsigned char *  thing  ) 

Definition at line 2297 of file obj_things.c.

short is_pwhand_stype ( const unsigned char  stype_idx  ) 

Definition at line 2304 of file obj_things.c.

Referenced by is_pwhand().

short is_room_inventory ( const unsigned char *  thing  ) 

short is_roomequip ( const unsigned char *  thing  ) 

Definition at line 2252 of file obj_things.c.

short is_roomequip_stype ( const unsigned char  stype_idx  ) 

Definition at line 2259 of file obj_things.c.

Referenced by is_roomequip().

short is_spellbook ( const unsigned char *  thing  ) 

Definition at line 905 of file obj_things.c.

Referenced by draw_things_on_buffer(), and things_verify().

short is_spellbook_stype ( const unsigned char  stype_idx  ) 

Definition at line 916 of file obj_things.c.

Referenced by is_spellbook().

short is_spinningtng ( const unsigned char *  thing  ) 

Definition at line 1988 of file obj_things.c.

Referenced by things_verify().

short is_spinningtng_stype ( const unsigned char  stype_idx  ) 

Definition at line 1995 of file obj_things.c.

Referenced by is_spinningtng().

short is_statue ( const unsigned char *  thing  ) 

Definition at line 1507 of file obj_things.c.

Referenced by things_verify().

short is_statue_stype ( const unsigned char  stype_idx  ) 

Definition at line 1518 of file obj_things.c.

Referenced by is_statue().

short is_torch ( const unsigned char *  thing  ) 

short is_torch_stype ( const unsigned char  stype_idx  ) 

short is_torchcndl ( const unsigned char *  thing  ) 

Definition at line 2207 of file obj_things.c.

Referenced by things_verify().

short is_torchcndl_stype ( const unsigned char  stype_idx  ) 

Definition at line 2214 of file obj_things.c.

Referenced by is_torchcndl().

short is_trainpost ( const unsigned char *  thing  ) 

Definition at line 2482 of file obj_things.c.

Referenced by draw_things_on_buffer().

short is_trap ( const unsigned char *  thing  ) 

Definition at line 1201 of file obj_things.c.

Referenced by get_free_indexedthing_number(), and things_verify().

short is_trapbox ( const unsigned char *  thing  ) 

Definition at line 1127 of file obj_things.c.

Referenced by things_verify().

short is_trapbox_stype ( const unsigned char  stype_idx  ) 

Definition at line 1138 of file obj_things.c.

Referenced by is_trapbox().

short is_wrkshopbox ( const unsigned char *  thing  ) 

Definition at line 2162 of file obj_things.c.

short is_wrkshopbox_stype ( const unsigned char  stype_idx  ) 

Definition at line 2169 of file obj_things.c.

Referenced by is_wrkshopbox().

short item_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3151 of file obj_things.c.

Referenced by thing_verify().

short set_door_orientation ( unsigned char *  thing,
unsigned char  orient 
)

Definition at line 547 of file obj_things.c.

Referenced by create_door(), and update_door_things_on_slab().

short set_thing_level ( unsigned char *  thing,
unsigned char  lev_num 
)

Definition at line 514 of file obj_things.c.

Referenced by create_creature(), create_door(), create_item_adv(), and set_door_lock().

short set_thing_owner ( unsigned char *  thing,
unsigned char  ownr_idx 
)

short set_thing_range_subtile ( unsigned char *  thing,
unsigned char  rng 
)

Definition at line 445 of file obj_things.c.

Referenced by create_effectgen().

short set_thing_range_subtpos ( unsigned char *  thing,
unsigned char  rng 
)

Definition at line 432 of file obj_things.c.

short set_thing_sensitile ( unsigned char *  thing,
unsigned short  til_num 
)

short set_thing_subtile ( unsigned char *  thing,
unsigned char  pos_x,
unsigned char  pos_y 
)

short set_thing_subtile_h ( unsigned char *  thing,
unsigned char  pos_h 
)

short set_thing_subtile_x ( unsigned char *  thing,
unsigned char  pos_x 
)

Definition at line 327 of file obj_things.c.

short set_thing_subtile_y ( unsigned char *  thing,
unsigned char  pos_y 
)

Definition at line 339 of file obj_things.c.

short set_thing_subtpos ( unsigned char *  thing,
unsigned char  pos_x,
unsigned char  pos_y 
)

short set_thing_subtpos_h ( unsigned char *  thing,
unsigned char  pos_h 
)

Definition at line 419 of file obj_things.c.

Referenced by create_doorkey(), create_torch(), and update_thing_subpos_and_height().

short set_thing_subtpos_x ( unsigned char *  thing,
unsigned char  pos_x 
)

Definition at line 379 of file obj_things.c.

short set_thing_subtpos_y ( unsigned char *  thing,
unsigned char  pos_y 
)

Definition at line 398 of file obj_things.c.

short set_thing_subtype ( unsigned char *  thing,
const unsigned char  stype_idx 
)

short set_thing_type ( unsigned char *  thing,
unsigned char  type_idx 
)

short subtl_in_thing_range ( const unsigned char *  thing,
unsigned int  sx,
unsigned int  sy 
)

Definition at line 3319 of file obj_things.c.

Referenced by subtl_in_effectgen_range().

short switch_thing_subtype ( unsigned char *  thing,
const short  forward 
)

Definition at line 554 of file obj_things.c.

short thing_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3285 of file obj_things.c.

Referenced by things_verify().

short trap_verify ( unsigned char *  thing,
struct VERIFY_OPTIONS verif_opt 
)

Definition at line 3274 of file obj_things.c.

Referenced by thing_verify().


Variable Documentation

const unsigned char creatr_types[]

const char* creature_fullnames[]

Initial value:

{"", "Wizard", "Barbarian",
    "Archer", "Monk", "Dwarf", "Knight", "Avatar", "Tunneller",
    "Witch", "Giant", "Fairy", "Thief", "Samurai", "Horned Reaper",
    "Skeleton", "Troll", "Dragon", "Demon Spawn", "Fly", "Dark Mistress",
    "Warlock", "Bile Demon", "Imp", "Beetle", "Vampire", "Spider",
    "Hell Hound", "Ghost", "Tentacle", "Orc", "Floating spirit"}

Definition at line 68 of file obj_things.c.

Referenced by get_creature_subtype_fullname().

const char* creature_names[]

Initial value:

{"", "Wizrd", "Barb ", "Archr",
    "Monk ", "Dwarf", "Knigt", "Avtar", "Tunlr", "Witch",
    "Giant", "Fairy", "Thief", "Smuri", "Horny", "Skel ",
    "Troll", "Drgon", "Spawn", " Fly ", "DrkMs", "Warlk",
    "BileD", " Imp ", "Beetl", "Vamp ", "Spder", "Hound",
    "Ghost", "Tntcl", " Orc ", "Float"}

Definition at line 62 of file obj_things.c.

Referenced by get_creature_subtype_shortname().

const unsigned char door_types[]

const char* doors[] = {"", "Wooden", "Braced", "Iron", "Magic"}

Definition at line 61 of file obj_things.c.

Referenced by get_door_subtype_fullname().

const unsigned char efctgen_types[]

const char* effectgenrts[]

Initial value:

{"unknown 0", "Lava", "Dripping water",
    "Rock Fall", "Entrance Ice", "Dry ice", "unknown 6", "unknown 7",
    "unknown 8"}

Definition at line 74 of file obj_things.c.

Referenced by get_effectgen_subtype_fullname().

const unsigned char items_crtrlairs[]

const unsigned char items_dncrucial[]

const unsigned char items_doorboxes[]

const unsigned char items_effcts[]

const unsigned char items_food[]

const unsigned char items_furniture[]

const unsigned char items_gold[]

const unsigned char items_heartflames[]

const unsigned char items_litthings[]

const unsigned char items_nullthings[]

const unsigned char items_polebars[]

const unsigned char items_pwhand[]

const unsigned char items_roomequip[]

const unsigned char items_specboxes[]

const unsigned char items_spellbooks[]

const unsigned char items_spinnthings[]

const unsigned char items_statues[]

const unsigned char items_torchcandls[]

const unsigned char items_torches[]

const unsigned char items_trapbxs[]

const unsigned char items_wrkshpbxs[]

const char* thing_fullnames[]

Initial value:

{"Nothing", "Item/decoration", "unknown 2",
    "unknown 3", "unknown 4", "Creature", "unknown 6", "Effect Generatr",
    "Trap", "Door"}

Definition at line 53 of file obj_things.c.

Referenced by get_thing_type_fullname().

const char* thing_shortnames[]

Initial value:

{"empty", "thing", "unkn2",
    "unkn3", "unkn4", "crtur", "unkn6", "effct", "trap", "door"}

Definition at line 56 of file obj_things.c.

Referenced by get_thing_type_shortname().

const char* thing_subtype_fullnames[]

Initial value:

{
      "Null Things",       "Effect Generator",  "Item Effects",
      "Creatures",         "Creature Lairs",    "Traps",
      "Doors",             "Dung.Special boxes","Spell Books",       
      "Workshop Boxes",    "Spinning Things",   "Food (Chickens)",
      "Valuable (Gold)",   "Torches & Candles", "Heart Flames",
      "Poles & Bars",      "Statues",           "Furniture",
      "Room Equipment",    "Power Hands",       "Dungeon Crucial",
      }

Definition at line 231 of file obj_things.c.

Referenced by get_thing_category_fullname().

const char* thing_subtype_shortnames[]

Initial value:

{
      "Null Tngs", "EffectGen", "Itm Effct",
      "Creatures", "Lairs",     "Traps",
      "Doors",     "Dn.Specls", "Spl Books",       
      "WrkshpBxs", "Spinn.Tng", "Chickens",
      "Gold Tngs", "Trch/Cndl", "Heart Flm",
      "Pols/Bars", "Statues",   "Furniture",
      "RoomEquip", "Pwr Hands", "Dn.Crucil",
      }

Definition at line 241 of file obj_things.c.

Referenced by get_thing_category_shortname().

const unsigned char trap_types[]

const char* traps[]

Initial value:

{"", "Boulder", "Alarm", "Poison gas",
    "Lightning", "Word of power", "Lava", "Dummy 2", "Dummy 3",
    "Dummy 4", "Dummy 5", "Dummy 6", "Dummy 7"}

Definition at line 58 of file obj_things.c.

Referenced by get_trap_subtype_fullname().


Generated on Tue Sep 2 18:51:51 2008 for libAdikted by  doxygen 1.5.6