#include "globals.h"
Go to the source code of this file.
Defines | |
#define | THING_TYPE_NONE 0x00 |
#define | THING_TYPE_ITEM 0x01 |
#define | THING_TYPE_SHOT 0x02 |
#define | THING_TYPE_EFFCTELEM 0x03 |
#define | THING_TYPE_DEADCRTR 0x04 |
#define | THING_TYPE_CREATURE 0x05 |
#define | THING_TYPE_EFFECTGEN 0x07 |
#define | THING_TYPE_TRAP 0x08 |
#define | THING_TYPE_DOOR 0x09 |
#define | THING_TYPE_AMBNITSND 0x0c |
#define | THING_TYPE_CAVEIN 0x0d |
#define | ITEM_STYPES_COUNT 0x87 |
#define | CREATR_STYPES_COUNT 0x22 |
#define | TRAP_STYPES_COUNT 0x0d |
#define | DOOR_STYPES_COUNT 0x05 |
#define | ITEM_SUBTYPE_NULL 0x00 |
#define | ITEM_SUBTYPE_BARREL 0x01 |
#define | ITEM_SUBTYPE_TORCH 0x02 |
#define | ITEM_SUBTYPE_GOLDCHEST 0x03 |
#define | ITEM_SUBTYPE_TEMPLESTA 0x04 |
#define | ITEM_SUBTYPE_DNHEART 0x05 |
#define | ITEM_SUBTYPE_GOLD 0x06 |
#define | ITEM_SUBTYPE_TORCHUN 0x07 |
#define | ITEM_SUBTYPE_STATUEWO 0x08 |
#define | ITEM_SUBTYPE_CHICKNGRW 0x09 |
#define | ITEM_SUBTYPE_CHICKN 0x0a |
#define | ITEM_SUBTYPE_SPELLHOE 0x0b |
#define | ITEM_SUBTYPE_SPELLIMP 0x0c |
#define | ITEM_SUBTYPE_SPELLMUST 0x0d |
#define | ITEM_SUBTYPE_SPELLSLAP 0x0e |
#define | ITEM_SUBTYPE_SPELLSOE 0x0f |
#define | ITEM_SUBTYPE_SPELLCTA 0x10 |
#define | ITEM_SUBTYPE_SPELLCAVI 0x11 |
#define | ITEM_SUBTYPE_SPELLHEAL 0x12 |
#define | ITEM_SUBTYPE_SPELLHLDA 0x13 |
#define | ITEM_SUBTYPE_SPELLLIGH 0x14 |
#define | ITEM_SUBTYPE_SPELLSPDC 0x15 |
#define | ITEM_SUBTYPE_SPELLPROT 0x16 |
#define | ITEM_SUBTYPE_SPELLCONC 0x17 |
#define | ITEM_SUBTYPE_NULL1 0x18 |
#define | ITEM_SUBTYPE_NULL2 0x19 |
#define | ITEM_SUBTYPE_ANVIL 0x1a |
#define | ITEM_SUBTYPE_PRISONBAR 0x1b |
#define | ITEM_SUBTYPE_CANDLSTCK 0x1c |
#define | ITEM_SUBTYPE_GRAVSTONE 0x1d |
#define | ITEM_SUBTYPE_STATUHORN 0x1e |
#define | ITEM_SUBTYPE_TRAINPOST 0x1f |
#define | ITEM_SUBTYPE_TORTSPIKE 0x20 |
#define | ITEM_SUBTYPE_TEMPLESPN 0x21 |
#define | ITEM_SUBTYPE_POTION1 0x22 |
#define | ITEM_SUBTYPE_POTION2 0x23 |
#define | ITEM_SUBTYPE_POTION3 0x24 |
#define | ITEM_SUBTYPE_PWHAND 0x25 |
#define | ITEM_SUBTYPE_PWHANDGRB 0x26 |
#define | ITEM_SUBTYPE_PWHANDWHP 0x27 |
#define | ITEM_SUBTYPE_CHICKNSTB 0x28 |
#define | ITEM_SUBTYPE_CHICKNWOB 0x29 |
#define | ITEM_SUBTYPE_CHICKNCRK 0x2a |
#define | ITEM_SUBTYPE_GOLDL 0x2b |
#define | ITEM_SUBTYPE_SPINNKEY 0x2c |
#define | ITEM_SUBTYPE_SPELLDISE 0x2d |
#define | ITEM_SUBTYPE_SPELLCHKN 0x2e |
#define | ITEM_SUBTYPE_SPELLDWAL 0x2f |
#define | ITEM_SUBTYPE_SPELLTBMB 0x30 |
#define | ITEM_SUBTYPE_HEROGATE 0x31 |
#define | ITEM_SUBTYPE_SPINNKEY2 0x32 |
#define | ITEM_SUBTYPE_ARMOUR 0x33 |
#define | ITEM_SUBTYPE_GLDHOARD1 0x34 |
#define | ITEM_SUBTYPE_GLDHOARD2 0x35 |
#define | ITEM_SUBTYPE_GLDHOARD3 0x36 |
#define | ITEM_SUBTYPE_GLDHOARD4 0x37 |
#define | ITEM_SUBTYPE_GLDHOARD5 0x38 |
#define | ITEM_SUBTYPE_LAIRWIZRD 0x39 |
#define | ITEM_SUBTYPE_LAIRBARBR 0x3a |
#define | ITEM_SUBTYPE_LAIRARCHR 0x3b |
#define | ITEM_SUBTYPE_LAIRMONK 0x3c |
#define | ITEM_SUBTYPE_LAIRDWRFA 0x3d |
#define | ITEM_SUBTYPE_LAIRKNGHT 0x3e |
#define | ITEM_SUBTYPE_LAIRAVATR 0x3f |
#define | ITEM_SUBTYPE_LAIRTUNLR 0x40 |
#define | ITEM_SUBTYPE_LAIRWITCH 0x41 |
#define | ITEM_SUBTYPE_LAIRGIANT 0x42 |
#define | ITEM_SUBTYPE_LAIRFAIRY 0x43 |
#define | ITEM_SUBTYPE_LAIRTHEFT 0x44 |
#define | ITEM_SUBTYPE_LAIRSAMUR 0x45 |
#define | ITEM_SUBTYPE_LAIRHORNY 0x46 |
#define | ITEM_SUBTYPE_LAIRSKELT 0x47 |
#define | ITEM_SUBTYPE_LAIRGOBLN 0x48 |
#define | ITEM_SUBTYPE_LAIRDRAGN 0x49 |
#define | ITEM_SUBTYPE_LAIRDEMSP 0x4a |
#define | ITEM_SUBTYPE_LAIRFLY 0x4b |
#define | ITEM_SUBTYPE_LAIRDKMIS 0x4c |
#define | ITEM_SUBTYPE_LAIRSORCR 0x4d |
#define | ITEM_SUBTYPE_LAIRBILDM 0x4e |
#define | ITEM_SUBTYPE_LAIRIMP 0x4f |
#define | ITEM_SUBTYPE_LAIRBUG 0x50 |
#define | ITEM_SUBTYPE_LAIRVAMP 0x51 |
#define | ITEM_SUBTYPE_LAIRSPIDR 0x52 |
#define | ITEM_SUBTYPE_LAIRHLHND 0x53 |
#define | ITEM_SUBTYPE_LAIRGHOST 0x54 |
#define | ITEM_SUBTYPE_LAIRTENTC 0x55 |
#define | ITEM_SUBTYPE_SPREVMAP 0x56 |
#define | ITEM_SUBTYPE_SPRESURCT 0x57 |
#define | ITEM_SUBTYPE_SPTRANSFR 0x58 |
#define | ITEM_SUBTYPE_SPSTEALHR 0x59 |
#define | ITEM_SUBTYPE_SPMULTPLY 0x5a |
#define | ITEM_SUBTYPE_SPINCLEV 0x5b |
#define | ITEM_SUBTYPE_SPMKSAFE 0x5c |
#define | ITEM_SUBTYPE_SPHIDNWRL 0x5d |
#define | ITEM_SUBTYPE_TBBOULDER 0x5e |
#define | ITEM_SUBTYPE_TBALARM 0x5f |
#define | ITEM_SUBTYPE_TBPOISONG 0x60 |
#define | ITEM_SUBTYPE_TBLIGHTNG 0x61 |
#define | ITEM_SUBTYPE_TBWRDOFPW 0x62 |
#define | ITEM_SUBTYPE_TBLAVA 0x63 |
#define | ITEM_SUBTYPE_TBDUMMY2 0x64 |
#define | ITEM_SUBTYPE_TBDUMMY3 0x65 |
#define | ITEM_SUBTYPE_TBDUMMY4 0x66 |
#define | ITEM_SUBTYPE_TBDUMMY5 0x67 |
#define | ITEM_SUBTYPE_TBDUMMY6 0x68 |
#define | ITEM_SUBTYPE_TBDUMMY7 0x69 |
#define | ITEM_SUBTYPE_DBWOOD 0x6a |
#define | ITEM_SUBTYPE_DBBRACE 0x6b |
#define | ITEM_SUBTYPE_DBSTEEL 0x6c |
#define | ITEM_SUBTYPE_DBMAGIC 0x6d |
#define | ITEM_SUBTYPE_WBITEM 0x6e |
#define | ITEM_SUBTYPE_HEARTFLMR 0x6f |
#define | ITEM_SUBTYPE_DISEASE 0x70 |
#define | ITEM_SUBTYPE_SCAVNGEYE 0x71 |
#define | ITEM_SUBTYPE_WRKSHPMCH 0x72 |
#define | ITEM_SUBTYPE_GURDFLAGR 0x73 |
#define | ITEM_SUBTYPE_GURDFLAGB 0x74 |
#define | ITEM_SUBTYPE_GURDFLAGG 0x75 |
#define | ITEM_SUBTYPE_GURDFLAGY 0x76 |
#define | ITEM_SUBTYPE_FLAGPOST 0x77 |
#define | ITEM_SUBTYPE_HEARTFLMB 0x78 |
#define | ITEM_SUBTYPE_HEARTFLMG 0x79 |
#define | ITEM_SUBTYPE_HEARTFLMY 0x7a |
#define | ITEM_SUBTYPE_PWSIGHT 0x7b |
#define | ITEM_SUBTYPE_PWLIGHTNG 0x7c |
#define | ITEM_SUBTYPE_TORTURER 0x7d |
#define | ITEM_SUBTYPE_LAIRORC 0x7e |
#define | ITEM_SUBTYPE_PWHANDGLD 0x7f |
#define | ITEM_SUBTYPE_SPINNCOIN 0x80 |
#define | ITEM_SUBTYPE_STATUE2 0x81 |
#define | ITEM_SUBTYPE_STATUE3 0x82 |
#define | ITEM_SUBTYPE_STATUE4 0x83 |
#define | ITEM_SUBTYPE_STATUE5 0x84 |
#define | ITEM_SUBTYPE_STATUE6 0x85 |
#define | ITEM_SUBTYPE_SPELLARMG 0x86 |
#define | EFCTGEN_SUBTP_LAVA 0x01 |
#define | EFCTGEN_SUBTP_DRIPWTR 0x02 |
#define | EFCTGEN_SUBTP_ROCKFAL 0x03 |
#define | EFCTGEN_SUBTP_ENTRICE 0x04 |
#define | EFCTGEN_SUBTP_DRYICE 0x05 |
#define | CREATR_SUBTP_WIZRD 0x01 |
#define | CREATR_SUBTP_BARBARIN 0x02 |
#define | CREATR_SUBTP_ARCHER 0x03 |
#define | CREATR_SUBTP_MONK 0x04 |
#define | CREATR_SUBTP_DWAFT 0x05 |
#define | CREATR_SUBTP_KNIGHT 0x06 |
#define | CREATR_SUBTP_AVATAR 0x07 |
#define | CREATR_SUBTP_TUNELER 0x08 |
#define | CREATR_SUBTP_WITCH 0x09 |
#define | CREATR_SUBTP_GIANT 0x0A |
#define | CREATR_SUBTP_FAIRY 0x0B |
#define | CREATR_SUBTP_THEFT 0x0C |
#define | CREATR_SUBTP_SMURI 0x0D |
#define | CREATR_SUBTP_HORNY 0x0E |
#define | CREATR_SUBTP_SKELETON 0x0F |
#define | CREATR_SUBTP_TROLL 0x10 |
#define | CREATR_SUBTP_DRAGON 0x11 |
#define | CREATR_SUBTP_SPAWN 0x12 |
#define | CREATR_SUBTP_FLY 0x13 |
#define | CREATR_SUBTP_MISTRESS 0x14 |
#define | CREATR_SUBTP_WARLOCK 0x15 |
#define | CREATR_SUBTP_BILEDEMN 0x16 |
#define | CREATR_SUBTP_IMP 0x17 |
#define | CREATR_SUBTP_BEETLE 0x18 |
#define | CREATR_SUBTP_VAMPIRE 0x19 |
#define | CREATR_SUBTP_SPIDER 0x1A |
#define | CREATR_SUBTP_HOUND 0x1B |
#define | CREATR_SUBTP_GHOST 0x1C |
#define | CREATR_SUBTP_TENTCL 0x1D |
#define | CREATR_SUBTP_ORC 0x1E |
#define | CREATR_SUBTP_FLOAT 0x1F |
#define | CREATR_SUBTP_NEWA 0x20 |
#define | CREATR_SUBTP_NEWB 0x21 |
#define | DOOR_SUBTYPE_WOOD 0x01 |
#define | DOOR_SUBTYPE_BRACED 0x02 |
#define | DOOR_SUBTYPE_IRON 0x03 |
#define | DOOR_SUBTYPE_MAGIC 0x04 |
#define | TRAP_SUBTYPE_BOULDER 0x01 |
#define | TRAP_SUBTYPE_ALARM 0x02 |
#define | TRAP_SUBTYPE_GAS 0x03 |
#define | TRAP_SUBTYPE_LIGHTNG 0x04 |
#define | TRAP_SUBTYPE_WORDPWR 0x05 |
#define | TRAP_SUBTYPE_LAVA 0x06 |
#define | TRAP_SUBTYPE_DUMMY2 0x07 |
#define | TRAP_SUBTYPE_DUMMY3 0x08 |
#define | TRAP_SUBTYPE_DUMMY4 0x09 |
#define | TRAP_SUBTYPE_DUMMY5 0x0A |
#define | TRAP_SUBTYPE_DUMMY6 0x0B |
#define | TRAP_SUBTYPE_DUMMY7 0x0C |
#define | DOOR_ORIENT_NSPASS 0x00 |
#define | DOOR_ORIENT_EWPASS 0x01 |
#define | DOOR_PASS_UNLOCKED 0x00 |
#define | DOOR_PASS_LOCKED 0x01 |
#define | THING_CATEGR_NULL 0x00 |
#define | THING_CATEGR_EFFCTGEN 0x01 |
#define | THING_CATEGR_ITEMEFFCT 0x02 |
#define | THING_CATEGR_CREATR 0x03 |
#define | THING_CATEGR_CREATLAIR 0x04 |
#define | THING_CATEGR_TRAP 0x05 |
#define | THING_CATEGR_DOOR 0x06 |
#define | THING_CATEGR_SPECIALBOX 0x07 |
#define | THING_CATEGR_SPELLBOOK 0x08 |
#define | THING_CATEGR_WRKSHOPBOX 0x09 |
#define | THING_CATEGR_SPINNTNG 0x0a |
#define | THING_CATEGR_FOOD 0x0b |
#define | THING_CATEGR_GOLD 0x0c |
#define | THING_CATEGR_TORCHCNDL 0x0d |
#define | THING_CATEGR_HEARTFLAME 0x0e |
#define | THING_CATEGR_POLEBAR 0x0f |
#define | THING_CATEGR_STATUE 0x10 |
#define | THING_CATEGR_FURNITURE 0x11 |
#define | THING_CATEGR_ROOMEQUIP 0x12 |
#define | THING_CATEGR_PWHAND 0x13 |
#define | THING_CATEGR_DNCRUCIAL 0x14 |
#define | THING_CATEGR_UNKNOWN 0x15 |
#define | THING_SENSITILE_NONE 0x0ffff |
Functions | |
DLLIMPORT unsigned char | get_thing_type (const unsigned char *thing) |
DLLIMPORT short | set_thing_type (unsigned char *thing, unsigned char type_idx) |
DLLIMPORT unsigned char | get_thing_subtype (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtype (unsigned char *thing, const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_thing_owner (const unsigned char *thing) |
DLLIMPORT short | set_thing_owner (unsigned char *thing, unsigned char plyr_idx) |
DLLIMPORT unsigned char | get_thing_subtile_x (const unsigned char *thing) |
DLLIMPORT unsigned short | get_thing_pos_x_adv (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtile_x (unsigned char *thing, unsigned char pos_x) |
DLLIMPORT unsigned char | get_thing_subtile_y (const unsigned char *thing) |
DLLIMPORT unsigned short | get_thing_pos_y_adv (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtile_y (unsigned char *thing, unsigned char pos_y) |
DLLIMPORT unsigned char | get_thing_subtile_h (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtile_h (unsigned char *thing, unsigned char pos_h) |
DLLIMPORT short | set_thing_subtile (unsigned char *thing, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned char | get_thing_subtpos_x (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtpos_x (unsigned char *thing, unsigned char pos_x) |
DLLIMPORT unsigned char | get_thing_subtpos_y (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtpos_y (unsigned char *thing, unsigned char pos_y) |
DLLIMPORT unsigned char | get_thing_subtpos_h (const unsigned char *thing) |
DLLIMPORT short | set_thing_subtpos_h (unsigned char *thing, unsigned char pos_h) |
DLLIMPORT short | set_thing_subtpos (unsigned char *thing, unsigned char pos_x, unsigned char pos_y) |
DLLIMPORT unsigned char | get_thing_level (const unsigned char *thing) |
DLLIMPORT short | set_thing_level (unsigned char *thing, unsigned char lev_num) |
DLLIMPORT unsigned short | get_thing_sensitile (const unsigned char *thing) |
DLLIMPORT short | set_thing_sensitile (unsigned char *thing, unsigned short til_num) |
DLLIMPORT unsigned char | get_door_orientation (const unsigned char *thing) |
DLLIMPORT short | set_door_orientation (unsigned char *thing, unsigned char orient) |
DLLIMPORT unsigned char | get_thing_range_subtpos (const unsigned char *thing) |
DLLIMPORT short | set_thing_range_subtpos (unsigned char *thing, unsigned char rng) |
DLLIMPORT unsigned char | get_thing_range_subtile (const unsigned char *thing) |
DLLIMPORT short | set_thing_range_subtile (unsigned char *thing, unsigned char rng) |
DLLIMPORT unsigned int | get_thing_range_adv (const unsigned char *thing) |
DLLIMPORT unsigned char * | create_thing_empty (void) |
DLLIMPORT unsigned char * | create_thing (unsigned int sx, unsigned int sy) |
DLLIMPORT unsigned char * | create_thing_copy (const struct LEVEL *lvl, unsigned int sx, unsigned int sy, unsigned char *src) |
DLLIMPORT unsigned char * | create_item (const struct LEVEL *lvl, unsigned int sx, unsigned int sy, unsigned char stype_idx) |
DLLIMPORT short | is_nulltng (const unsigned char *thing) |
DLLIMPORT short | is_nulltng_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_nulltng_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_nulltng_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_nulltng_count (void) |
DLLIMPORT short | is_effectgen (const unsigned char *thing) |
DLLIMPORT int | get_effectgen_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_effectgen_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_effectgen_count (void) |
DLLIMPORT short | is_itemeffect (const unsigned char *thing) |
DLLIMPORT short | is_itemeffect_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_itemeffect_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_itemeffect_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_itemeffect_count (void) |
DLLIMPORT short | is_creature (const unsigned char *thing) |
DLLIMPORT int | get_creature_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_creature_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_creature_count (void) |
DLLIMPORT short | is_crtrlair (const unsigned char *thing) |
DLLIMPORT short | is_crtrlair_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_crtrlair_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_crtrlair_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_crtrlair_count (void) |
DLLIMPORT short | is_trap (const unsigned char *thing) |
DLLIMPORT int | get_trap_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_trap_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_trap_count (void) |
DLLIMPORT short | is_door (const unsigned char *thing) |
DLLIMPORT int | get_door_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_door_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_door_count (void) |
DLLIMPORT short | is_dngspecbox (const unsigned char *thing) |
DLLIMPORT short | is_dngspecbox_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_dngspecbox_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_dngspecbox_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_dngspecbox_count (void) |
DLLIMPORT short | is_spellbook (const unsigned char *thing) |
DLLIMPORT short | is_spellbook_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_spellbook_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_spellbook_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_spellbook_count (void) |
DLLIMPORT short | is_wrkshopbox (const unsigned char *thing) |
DLLIMPORT short | is_wrkshopbox_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_wrkshopbox_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_wrkshopbox_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_wrkshopbox_count (void) |
DLLIMPORT short | is_spinningtng (const unsigned char *thing) |
DLLIMPORT short | is_spinningtng_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_spinningtng_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_spinningtng_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_spinningtng_count (void) |
DLLIMPORT short | is_food (const unsigned char *thing) |
DLLIMPORT short | is_food_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_food_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_food_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_food_count (void) |
DLLIMPORT short | is_gold (const unsigned char *thing) |
DLLIMPORT short | is_gold_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_gold_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_gold_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_gold_count (void) |
DLLIMPORT short | is_torchcndl (const unsigned char *thing) |
DLLIMPORT short | is_torchcndl_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_torchcndl_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_torchcndl_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_torchcndl_count (void) |
DLLIMPORT short | is_heartflame (const unsigned char *thing) |
DLLIMPORT short | is_heartflame_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_heartflame_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_heartflame_arritm (const int arr_itm) |
DLLIMPORT unsigned char | get_heartflame_next (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_heartflame_prev (const unsigned char stype_idx) |
DLLIMPORT unsigned int | get_heartflame_count (void) |
DLLIMPORT short | is_polebar (const unsigned char *thing) |
DLLIMPORT short | is_polebar_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_polebar_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_polebar_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_polebar_count (void) |
DLLIMPORT short | is_statue (const unsigned char *thing) |
DLLIMPORT short | is_statue_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_statue_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_statue_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_statue_count (void) |
DLLIMPORT short | is_furniture (const unsigned char *thing) |
DLLIMPORT short | is_furniture_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_furniture_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_furniture_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_furniture_count (void) |
DLLIMPORT short | is_roomequip (const unsigned char *thing) |
DLLIMPORT short | is_roomequip_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_roomequip_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_roomequip_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_roomequip_count (void) |
DLLIMPORT short | is_pwhand (const unsigned char *thing) |
DLLIMPORT short | is_pwhand_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_pwhand_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_pwhand_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_pwhand_count (void) |
DLLIMPORT short | is_dncrucial (const unsigned char *thing) |
DLLIMPORT short | is_dncrucial_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_dncrucial_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_dncrucial_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_dncrucial_count (void) |
DLLIMPORT short | is_false_stype (const unsigned char stype_idx) |
DLLIMPORT short | is_trapbox (const unsigned char *thing) |
DLLIMPORT short | is_trapbox_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_trapbox_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_trapbox_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_trapbox_count (void) |
DLLIMPORT short | is_doorbox (const unsigned char *thing) |
DLLIMPORT short | is_doorbox_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_doorbox_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_doorbox_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_doorbox_count (void) |
DLLIMPORT short | is_torch (const unsigned char *thing) |
DLLIMPORT short | is_torch_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_torch_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_torch_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_torch_count (void) |
DLLIMPORT short | is_lit_thing (const unsigned char *thing) |
DLLIMPORT short | is_lit_thing_stype (const unsigned char stype_idx) |
DLLIMPORT int | get_lit_thing_arridx (const unsigned char stype_idx) |
DLLIMPORT unsigned char | get_lit_thing_arritm (const int arr_itm) |
DLLIMPORT unsigned int | get_lit_thing_count (void) |
DLLIMPORT short | is_herogate (const unsigned char *thing) |
DLLIMPORT short | is_dnheart (const unsigned char *thing) |
DLLIMPORT short | is_doorkey (const unsigned char *thing) |
DLLIMPORT short | is_trainpost (const unsigned char *thing) |
DLLIMPORT short | is_room_inventory (const unsigned char *thing) |
DLLIMPORT short | is_clmaffective_thing (const unsigned char *thing) |
DLLIMPORT int | get_item_category (unsigned char stype_idx) |
DLLIMPORT unsigned char | get_usual_item_slab (unsigned char stype_idx) |
DLLIMPORT unsigned char | get_usual_thing_slab (unsigned char *thing) |
DLLIMPORT short | subtl_in_thing_range (const unsigned char *thing, unsigned int sx, unsigned int sy) |
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) |
DLLIMPORT char * | get_thing_type_fullname (const unsigned short type_idx) |
DLLIMPORT char * | get_thing_type_shortname (const unsigned short type_idx) |
DLLIMPORT char * | get_item_subtype_fullname (const unsigned short stype_idx) |
DLLIMPORT char * | get_item_subtype_shortname (const unsigned short stype_idx) |
DLLIMPORT char * | get_creature_subtype_fullname (const unsigned short stype_idx) |
DLLIMPORT char * | get_creature_subtype_shortname (const unsigned short stype_idx) |
DLLIMPORT char * | get_trap_subtype_fullname (const unsigned short stype_idx) |
DLLIMPORT char * | get_door_subtype_fullname (const unsigned short stype_idx) |
DLLIMPORT char * | get_thing_category_fullname (const unsigned short arr_idx) |
DLLIMPORT char * | get_thing_category_shortname (const unsigned short arr_idx) |
DLLIMPORT char * | get_effectgen_subtype_fullname (const unsigned short stype_idx) |
DLLIMPORT char * | get_thing_subtype_fullname (const unsigned short type_idx, const unsigned short stype_idx) |
DLLIMPORT int | get_thing_subtypes_arridx (const unsigned char *thing) |
DLLIMPORT unsigned int | get_thing_subtypes_count (const unsigned short arr_idx) |
DLLIMPORT unsigned int | get_thing_subtypes_arritem (const unsigned short arr_idx, const int arr_itm) |
DLLIMPORT int | get_thing_subtypes_arritmidx (const unsigned short arr_idx, const unsigned short stype_idx) |
DLLIMPORT thing_subtype_arrayitem | get_thing_subtypes_arritem_func (const unsigned short arr_idx) |
DLLIMPORT unsigned short | get_thing_subtypes_next (const unsigned short arr_idx, const unsigned short stype_idx) |
DLLIMPORT unsigned short | get_thing_subtypes_prev (const unsigned short arr_idx, const unsigned short stype_idx) |
DLLIMPORT short | switch_thing_subtype (unsigned char *thing, const short forward) |
short | thing_verify (unsigned char *thing, struct VERIFY_OPTIONS *verif_opt) |
#define CREATR_STYPES_COUNT 0x22 |
Definition at line 41 of file obj_things.h.
#define CREATR_SUBTP_ARCHER 0x03 |
Definition at line 199 of file obj_things.h.
#define CREATR_SUBTP_AVATAR 0x07 |
Definition at line 203 of file obj_things.h.
#define CREATR_SUBTP_BARBARIN 0x02 |
Definition at line 198 of file obj_things.h.
#define CREATR_SUBTP_BEETLE 0x18 |
Definition at line 220 of file obj_things.h.
#define CREATR_SUBTP_BILEDEMN 0x16 |
Definition at line 218 of file obj_things.h.
#define CREATR_SUBTP_DRAGON 0x11 |
Definition at line 213 of file obj_things.h.
#define CREATR_SUBTP_DWAFT 0x05 |
Definition at line 201 of file obj_things.h.
#define CREATR_SUBTP_FAIRY 0x0B |
Definition at line 207 of file obj_things.h.
#define CREATR_SUBTP_FLOAT 0x1F |
#define CREATR_SUBTP_FLY 0x13 |
Definition at line 215 of file obj_things.h.
#define CREATR_SUBTP_GHOST 0x1C |
Definition at line 224 of file obj_things.h.
#define CREATR_SUBTP_GIANT 0x0A |
Definition at line 206 of file obj_things.h.
#define CREATR_SUBTP_HORNY 0x0E |
Definition at line 210 of file obj_things.h.
#define CREATR_SUBTP_HOUND 0x1B |
Definition at line 223 of file obj_things.h.
#define CREATR_SUBTP_IMP 0x17 |
Definition at line 219 of file obj_things.h.
#define CREATR_SUBTP_KNIGHT 0x06 |
Definition at line 202 of file obj_things.h.
#define CREATR_SUBTP_MISTRESS 0x14 |
Definition at line 216 of file obj_things.h.
#define CREATR_SUBTP_MONK 0x04 |
Definition at line 200 of file obj_things.h.
#define CREATR_SUBTP_NEWA 0x20 |
Definition at line 229 of file obj_things.h.
#define CREATR_SUBTP_NEWB 0x21 |
Definition at line 230 of file obj_things.h.
#define CREATR_SUBTP_ORC 0x1E |
#define CREATR_SUBTP_SKELETON 0x0F |
Definition at line 211 of file obj_things.h.
#define CREATR_SUBTP_SMURI 0x0D |
Definition at line 209 of file obj_things.h.
#define CREATR_SUBTP_SPAWN 0x12 |
Definition at line 214 of file obj_things.h.
#define CREATR_SUBTP_SPIDER 0x1A |
Definition at line 222 of file obj_things.h.
#define CREATR_SUBTP_TENTCL 0x1D |
#define CREATR_SUBTP_THEFT 0x0C |
Definition at line 208 of file obj_things.h.
#define CREATR_SUBTP_TROLL 0x10 |
Definition at line 212 of file obj_things.h.
#define CREATR_SUBTP_TUNELER 0x08 |
Definition at line 204 of file obj_things.h.
#define CREATR_SUBTP_VAMPIRE 0x19 |
Definition at line 221 of file obj_things.h.
#define CREATR_SUBTP_WARLOCK 0x15 |
Definition at line 217 of file obj_things.h.
#define CREATR_SUBTP_WITCH 0x09 |
Definition at line 205 of file obj_things.h.
#define CREATR_SUBTP_WIZRD 0x01 |
#define DOOR_ORIENT_EWPASS 0x01 |
#define DOOR_ORIENT_NSPASS 0x00 |
Definition at line 251 of file obj_things.h.
Referenced by compute_door_orientation(), create_columns_slb_doorbrace(), create_columns_slb_dooriron(), create_columns_slb_doormagic(), create_columns_slb_doorwood(), and get_door_orientation().
#define DOOR_PASS_LOCKED 0x01 |
Definition at line 254 of file obj_things.h.
#define DOOR_PASS_UNLOCKED 0x00 |
#define DOOR_STYPES_COUNT 0x05 |
Definition at line 43 of file obj_things.h.
#define DOOR_SUBTYPE_BRACED 0x02 |
Definition at line 233 of file obj_things.h.
Referenced by get_usual_thing_slab(), things_verify(), and update_door_things_on_slab().
#define DOOR_SUBTYPE_IRON 0x03 |
Definition at line 234 of file obj_things.h.
Referenced by get_usual_thing_slab(), things_verify(), and update_door_things_on_slab().
#define DOOR_SUBTYPE_MAGIC 0x04 |
Definition at line 235 of file obj_things.h.
Referenced by door_verify(), get_usual_thing_slab(), things_verify(), and update_door_things_on_slab().
#define DOOR_SUBTYPE_WOOD 0x01 |
Definition at line 232 of file obj_things.h.
Referenced by door_verify(), get_usual_thing_slab(), things_verify(), and update_door_things_on_slab().
#define EFCTGEN_SUBTP_DRIPWTR 0x02 |
#define EFCTGEN_SUBTP_DRYICE 0x05 |
Definition at line 194 of file obj_things.h.
Referenced by effectgen_verify(), get_usual_thing_slab(), is_room_inventory(), and update_things_slb_graveyard_corner().
#define EFCTGEN_SUBTP_ENTRICE 0x04 |
Definition at line 193 of file obj_things.h.
Referenced by effectgen_verify(), get_usual_thing_slab(), is_room_inventory(), and update_things_slb_portal_inside().
#define EFCTGEN_SUBTP_LAVA 0x01 |
Definition at line 190 of file obj_things.h.
Referenced by effectgen_verify(), and get_usual_thing_slab().
#define EFCTGEN_SUBTP_ROCKFAL 0x03 |
#define ITEM_STYPES_COUNT 0x87 |
Definition at line 40 of file obj_things.h.
#define ITEM_SUBTYPE_ANVIL 0x1a |
Definition at line 74 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), and update_things_slb_workshop_corner().
#define ITEM_SUBTYPE_ARMOUR 0x33 |
Definition at line 101 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_BARREL 0x01 |
Definition at line 47 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_CANDLSTCK 0x1c |
Definition at line 76 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and update_things_slb_treasure_corner().
#define ITEM_SUBTYPE_CHICKN 0x0a |
Definition at line 56 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_CHICKNCRK 0x2a |
Definition at line 91 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_CHICKNGRW 0x09 |
Definition at line 55 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_CHICKNSTB 0x28 |
Definition at line 89 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_CHICKNWOB 0x29 |
Definition at line 90 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DBBRACE 0x6b |
Definition at line 159 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DBMAGIC 0x6d |
Definition at line 161 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DBSTEEL 0x6c |
Definition at line 160 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DBWOOD 0x6a |
Definition at line 158 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DISEASE 0x70 |
Definition at line 165 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_DNHEART 0x05 |
Definition at line 51 of file obj_things.h.
Referenced by create_item_adv(), get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), is_dnheart(), level_verify_logic(), update_things_slb_dungheart_inside(), and write_nfo().
#define ITEM_SUBTYPE_FLAGPOST 0x77 |
Definition at line 172 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_guardpost_floor().
#define ITEM_SUBTYPE_GLDHOARD1 0x34 |
Definition at line 102 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and things_verify().
#define ITEM_SUBTYPE_GLDHOARD2 0x35 |
Definition at line 103 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and things_verify().
#define ITEM_SUBTYPE_GLDHOARD3 0x36 |
Definition at line 104 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and things_verify().
#define ITEM_SUBTYPE_GLDHOARD4 0x37 |
Definition at line 105 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and things_verify().
#define ITEM_SUBTYPE_GLDHOARD5 0x38 |
Definition at line 106 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and things_verify().
#define ITEM_SUBTYPE_GOLD 0x06 |
Definition at line 52 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_GOLDCHEST 0x03 |
Definition at line 49 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_GOLDL 0x2b |
Definition at line 92 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_GRAVSTONE 0x1d |
Definition at line 77 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), update_things_slb_graveyard_corner(), and update_things_slb_graveyard_floor().
#define ITEM_SUBTYPE_GURDFLAGB 0x74 |
Definition at line 169 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_guardpost_floor().
#define ITEM_SUBTYPE_GURDFLAGG 0x75 |
Definition at line 170 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_guardpost_floor().
#define ITEM_SUBTYPE_GURDFLAGR 0x73 |
Definition at line 168 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_guardpost_floor().
#define ITEM_SUBTYPE_GURDFLAGY 0x76 |
Definition at line 171 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_guardpost_floor().
#define ITEM_SUBTYPE_HEARTFLMB 0x78 |
Definition at line 173 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and update_things_slb_dungheart_corner().
#define ITEM_SUBTYPE_HEARTFLMG 0x79 |
Definition at line 174 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and update_things_slb_dungheart_corner().
#define ITEM_SUBTYPE_HEARTFLMR 0x6f |
Definition at line 163 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and update_things_slb_dungheart_corner().
#define ITEM_SUBTYPE_HEARTFLMY 0x7a |
Definition at line 175 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and update_things_slb_dungheart_corner().
#define ITEM_SUBTYPE_HEROGATE 0x31 |
Definition at line 98 of file obj_things.h.
Referenced by compute_item_sensitile(), create_herogate_number_used_arr(), create_item_adv(), get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), is_herogate(), and remove_automade_obj_for_slab().
#define ITEM_SUBTYPE_LAIRARCHR 0x3b |
Definition at line 110 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRAVATR 0x3f |
Definition at line 114 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRBARBR 0x3a |
Definition at line 109 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRBILDM 0x4e |
Definition at line 129 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRBUG 0x50 |
Definition at line 131 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRDEMSP 0x4a |
Definition at line 125 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRDKMIS 0x4c |
Definition at line 127 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRDRAGN 0x49 |
Definition at line 124 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRDWRFA 0x3d |
Definition at line 112 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRFAIRY 0x43 |
Definition at line 118 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRFLY 0x4b |
Definition at line 126 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRGHOST 0x54 |
Definition at line 135 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRGIANT 0x42 |
Definition at line 117 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRGOBLN 0x48 |
Definition at line 123 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRHLHND 0x53 |
Definition at line 134 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRHORNY 0x46 |
Definition at line 121 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRIMP 0x4f |
Definition at line 130 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRKNGHT 0x3e |
Definition at line 113 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRMONK 0x3c |
Definition at line 111 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRORC 0x7e |
Definition at line 179 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRSAMUR 0x45 |
Definition at line 120 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRSKELT 0x47 |
Definition at line 122 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRSORCR 0x4d |
Definition at line 128 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRSPIDR 0x52 |
Definition at line 133 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRTENTC 0x55 |
Definition at line 136 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRTHEFT 0x44 |
Definition at line 119 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRTUNLR 0x40 |
Definition at line 115 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRVAMP 0x51 |
Definition at line 132 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRWITCH 0x41 |
Definition at line 116 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_LAIRWIZRD 0x39 |
Definition at line 108 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_NULL 0x00 |
Definition at line 46 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and get_thing_subtype().
#define ITEM_SUBTYPE_NULL1 0x18 |
Definition at line 71 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_NULL2 0x19 |
Definition at line 72 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_POTION1 0x22 |
Definition at line 83 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_POTION2 0x23 |
Definition at line 84 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_POTION3 0x24 |
Definition at line 85 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PRISONBAR 0x1b |
Definition at line 75 of file obj_things.h.
Referenced by create_item_adv(), get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_prison().
#define ITEM_SUBTYPE_PWHAND 0x25 |
Definition at line 86 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PWHANDGLD 0x7f |
Definition at line 180 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PWHANDGRB 0x26 |
Definition at line 87 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PWHANDWHP 0x27 |
Definition at line 88 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PWLIGHTNG 0x7c |
Definition at line 177 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_PWSIGHT 0x7b |
Definition at line 176 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SCAVNGEYE 0x71 |
Definition at line 166 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_scavenger_inside().
#define ITEM_SUBTYPE_SPELLARMG 0x86 |
Definition at line 187 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLCAVI 0x11 |
Definition at line 63 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLCHKN 0x2e |
Definition at line 95 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLCONC 0x17 |
Definition at line 69 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLCTA 0x10 |
Definition at line 62 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLDISE 0x2d |
Definition at line 94 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLDWAL 0x2f |
Definition at line 96 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLHEAL 0x12 |
Definition at line 64 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLHLDA 0x13 |
Definition at line 65 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLHOE 0x0b |
Definition at line 57 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLIMP 0x0c |
Definition at line 58 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLLIGH 0x14 |
Definition at line 66 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLMUST 0x0d |
Definition at line 59 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLPROT 0x16 |
Definition at line 68 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLSLAP 0x0e |
Definition at line 60 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLSOE 0x0f |
Definition at line 61 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLSPDC 0x15 |
Definition at line 67 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPELLTBMB 0x30 |
Definition at line 97 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPHIDNWRL 0x5d |
Definition at line 145 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPINCLEV 0x5b |
Definition at line 143 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPINNCOIN 0x80 |
Definition at line 181 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPINNKEY 0x2c |
Definition at line 93 of file obj_things.h.
Referenced by create_item_adv(), get_item_subtype_fullname(), get_item_subtype_shortname(), is_doorkey(), is_room_inventory(), item_verify(), and set_door_lock().
#define ITEM_SUBTYPE_SPINNKEY2 0x32 |
Definition at line 99 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), and is_room_inventory().
#define ITEM_SUBTYPE_SPMKSAFE 0x5c |
Definition at line 144 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPMULTPLY 0x5a |
Definition at line 142 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPRESURCT 0x57 |
Definition at line 139 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPREVMAP 0x56 |
Definition at line 138 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPSTEALHR 0x59 |
Definition at line 141 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_SPTRANSFR 0x58 |
Definition at line 140 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUE2 0x81 |
Definition at line 182 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUE3 0x82 |
Definition at line 183 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUE4 0x83 |
Definition at line 184 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUE5 0x84 |
Definition at line 185 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUE6 0x85 |
Definition at line 186 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUEWO 0x08 |
Definition at line 54 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_STATUHORN 0x1e |
Definition at line 78 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBALARM 0x5f |
Definition at line 147 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBBOULDER 0x5e |
Definition at line 146 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY2 0x64 |
Definition at line 152 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY3 0x65 |
Definition at line 153 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY4 0x66 |
Definition at line 154 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY5 0x67 |
Definition at line 155 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY6 0x68 |
Definition at line 156 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBDUMMY7 0x69 |
Definition at line 157 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBLAVA 0x63 |
Definition at line 151 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBLIGHTNG 0x61 |
Definition at line 149 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBPOISONG 0x60 |
Definition at line 148 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TBWRDOFPW 0x62 |
Definition at line 150 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TEMPLESPN 0x21 |
Definition at line 81 of file obj_things.h.
Referenced by compute_item_sensitile(), get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TEMPLESTA 0x04 |
Definition at line 50 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), is_clmaffective_thing(), is_room_inventory(), and update_things_slb_temple_corner().
#define ITEM_SUBTYPE_TORCH 0x02 |
Definition at line 48 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), update_things_slb_barracks_corner(), update_things_slb_graveyard_corner(), update_things_slb_hatchery_corner(), update_things_slb_scavenger_corner(), update_things_slb_training_corner(), and update_torch_things_near_slab().
#define ITEM_SUBTYPE_TORCHUN 0x07 |
Definition at line 53 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_TORTSPIKE 0x20 |
Definition at line 80 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_torture_edge().
#define ITEM_SUBTYPE_TORTURER 0x7d |
Definition at line 178 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_torture_inside().
#define ITEM_SUBTYPE_TRAINPOST 0x1f |
Definition at line 79 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), is_trainpost(), and update_things_slb_training_inside().
#define ITEM_SUBTYPE_WBITEM 0x6e |
Definition at line 162 of file obj_things.h.
Referenced by get_item_subtype_fullname(), and get_item_subtype_shortname().
#define ITEM_SUBTYPE_WRKSHPMCH 0x72 |
Definition at line 167 of file obj_things.h.
Referenced by get_item_subtype_fullname(), get_item_subtype_shortname(), get_usual_item_slab(), and update_things_slb_workshop_inside().
#define THING_CATEGR_CREATLAIR 0x04 |
Definition at line 263 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_CREATR 0x03 |
Definition at line 262 of file obj_things.h.
Referenced by compute_item_sensitile(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_DNCRUCIAL 0x14 |
Definition at line 279 of file obj_things.h.
Referenced by compute_item_sensitile(), get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_DOOR 0x06 |
Definition at line 265 of file obj_things.h.
Referenced by compute_item_sensitile(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_EFFCTGEN 0x01 |
Definition at line 260 of file obj_things.h.
Referenced by compute_item_sensitile(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_FOOD 0x0b |
Definition at line 270 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_FURNITURE 0x11 |
Definition at line 276 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_GOLD 0x0c |
Definition at line 271 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_HEARTFLAME 0x0e |
Definition at line 273 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_ITEMEFFCT 0x02 |
Definition at line 261 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_NULL 0x00 |
Definition at line 259 of file obj_things.h.
Referenced by compute_item_sensitile(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_POLEBAR 0x0f |
Definition at line 274 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), is_room_inventory(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_PWHAND 0x13 |
Definition at line 278 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_ROOMEQUIP 0x12 |
Definition at line 277 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_SPECIALBOX 0x07 |
Definition at line 266 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), remove_automade_obj_for_slab(), and write_nfo().
#define THING_CATEGR_SPELLBOOK 0x08 |
Definition at line 267 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_SPINNTNG 0x0a |
Definition at line 269 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_STATUE 0x10 |
Definition at line 275 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_TORCHCNDL 0x0d |
Definition at line 272 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_TRAP 0x05 |
Definition at line 264 of file obj_things.h.
Referenced by compute_item_sensitile(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_UNKNOWN 0x15 |
Definition at line 280 of file obj_things.h.
Referenced by compute_item_sensitile(), get_item_category(), item_verify(), and remove_automade_obj_for_slab().
#define THING_CATEGR_WRKSHOPBOX 0x09 |
Definition at line 268 of file obj_things.h.
Referenced by compute_item_sensitile(), get_level_objstats_textln(), item_verify(), and remove_automade_obj_for_slab().
#define THING_SENSITILE_NONE 0x0ffff |
Definition at line 283 of file obj_things.h.
Referenced by compute_item_sensitile(), compute_torch_sensitile(), create_item(), effectgen_verify(), get_thing_sensitile(), and item_verify().
#define THING_TYPE_AMBNITSND 0x0c |
Definition at line 36 of file obj_things.h.
#define THING_TYPE_CAVEIN 0x0d |
Definition at line 37 of file obj_things.h.
#define THING_TYPE_CREATURE 0x05 |
Definition at line 32 of file obj_things.h.
Referenced by create_creature(), get_thing_range_adv(), get_thing_subtype_fullname(), get_usual_thing_slab(), is_creature(), thing_verify(), things_verify(), and update_thing_stats().
#define THING_TYPE_DEADCRTR 0x04 |
Definition at line 31 of file obj_things.h.
#define THING_TYPE_DOOR 0x09 |
Definition at line 35 of file obj_things.h.
Referenced by create_columns_slb_doorbrace(), create_columns_slb_dooriron(), create_columns_slb_doormagic(), create_columns_slb_doorwood(), create_door(), draw_things_on_buffer(), get_thing_range_adv(), get_thing_subtype_fullname(), get_usual_thing_slab(), is_clmaffective_thing(), is_door(), is_room_inventory(), thing_verify(), things_verify(), update_thing_stats(), and write_def_tng_source().
#define THING_TYPE_EFFCTELEM 0x03 |
Definition at line 30 of file obj_things.h.
#define THING_TYPE_EFFECTGEN 0x07 |
Definition at line 33 of file obj_things.h.
Referenced by create_effectgen(), create_thing_copy(), draw_things_on_buffer(), get_thing_range_adv(), get_thing_subtype_fullname(), get_usual_thing_slab(), is_effectgen(), is_room_inventory(), thing_verify(), things_verify(), update_thing_stats(), and update_things_slb_graveyard_corner().
#define THING_TYPE_ITEM 0x01 |
Definition at line 28 of file obj_things.h.
Referenced by create_doorkey(), create_item(), create_thing_copy(), create_torch(), draw_things_on_buffer(), get_thing_range_adv(), get_thing_subtype_fullname(), get_usual_thing_slab(), is_clmaffective_thing(), is_crtrlair(), is_dncrucial(), is_dngspecbox(), is_dnheart(), is_doorbox(), is_doorkey(), is_food(), is_furniture(), is_gold(), is_heartflame(), is_herogate(), is_itemeffect(), is_lit_thing(), is_nulltng(), is_polebar(), is_pwhand(), is_room_inventory(), is_roomequip(), is_spellbook(), is_spinningtng(), is_statue(), is_torch(), is_torchcndl(), is_trainpost(), is_trapbox(), is_wrkshopbox(), level_verify_logic(), set_door_lock(), thing_verify(), things_verify(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_thing_stats(), update_things_slb_barracks_corner(), update_things_slb_dungheart_inside(), update_things_slb_graveyard_corner(), write_def_tng_source(), and write_nfo().
#define THING_TYPE_NONE 0x00 |
#define THING_TYPE_SHOT 0x02 |
Definition at line 29 of file obj_things.h.
#define THING_TYPE_TRAP 0x08 |
Definition at line 34 of file obj_things.h.
Referenced by create_trap(), get_thing_range_adv(), get_thing_subtype_fullname(), get_usual_thing_slab(), is_trap(), thing_verify(), things_verify(), update_thing_stats(), and write_def_tng_source().
#define TRAP_STYPES_COUNT 0x0d |
Definition at line 42 of file obj_things.h.
#define TRAP_SUBTYPE_ALARM 0x02 |
Definition at line 239 of file obj_things.h.
#define TRAP_SUBTYPE_BOULDER 0x01 |
#define TRAP_SUBTYPE_DUMMY2 0x07 |
Definition at line 244 of file obj_things.h.
#define TRAP_SUBTYPE_DUMMY3 0x08 |
Definition at line 245 of file obj_things.h.
#define TRAP_SUBTYPE_DUMMY4 0x09 |
Definition at line 246 of file obj_things.h.
#define TRAP_SUBTYPE_DUMMY5 0x0A |
Definition at line 247 of file obj_things.h.
#define TRAP_SUBTYPE_DUMMY6 0x0B |
Definition at line 248 of file obj_things.h.
#define TRAP_SUBTYPE_DUMMY7 0x0C |
Definition at line 249 of file obj_things.h.
#define TRAP_SUBTYPE_GAS 0x03 |
Definition at line 240 of file obj_things.h.
#define TRAP_SUBTYPE_LAVA 0x06 |
#define TRAP_SUBTYPE_LIGHTNG 0x04 |
Definition at line 241 of file obj_things.h.
#define TRAP_SUBTYPE_WORDPWR 0x05 |
Definition at line 242 of file obj_things.h.
DLLIMPORT unsigned char* create_item | ( | const struct LEVEL * | lvl, | |
unsigned int | sx, | |||
unsigned int | sy, | |||
unsigned char | stype_idx | |||
) |
DLLIMPORT unsigned char* create_thing | ( | unsigned int | sx, | |
unsigned int | sy | |||
) |
Definition at line 844 of file obj_things.c.
Referenced by create_creature(), create_door(), create_doorkey(), create_effectgen(), create_item(), create_torch(), and create_trap().
DLLIMPORT 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.
DLLIMPORT 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().
DLLIMPORT int get_creature_arridx | ( | const unsigned char | stype_idx | ) |
Definition at line 1244 of file obj_things.c.
DLLIMPORT unsigned char get_creature_arritm | ( | const int | arr_itm | ) |
Definition at line 1254 of file obj_things.c.
DLLIMPORT unsigned int get_creature_count | ( | void | ) |
Definition at line 1265 of file obj_things.c.
Referenced by get_creature_arridx(), and get_creature_arritm().
DLLIMPORT 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().
DLLIMPORT char* get_creature_subtype_shortname | ( | const unsigned short | stype_idx | ) |
Definition at line 3082 of file obj_things.c.
DLLIMPORT int get_crtrlair_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_crtrlair_arritm | ( | const int | arr_itm | ) |
Definition at line 1080 of file obj_things.c.
DLLIMPORT unsigned int get_crtrlair_count | ( | void | ) |
Definition at line 1091 of file obj_things.c.
Referenced by get_crtrlair_arridx(), and get_crtrlair_arritm().
DLLIMPORT int get_dncrucial_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_dncrucial_arritm | ( | const int | arr_itm | ) |
Definition at line 2368 of file obj_things.c.
DLLIMPORT unsigned int get_dncrucial_count | ( | void | ) |
Definition at line 2379 of file obj_things.c.
Referenced by get_dncrucial_arridx(), and get_dncrucial_arritm().
DLLIMPORT int get_dngspecbox_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_dngspecbox_arritm | ( | const int | arr_itm | ) |
Definition at line 1006 of file obj_things.c.
DLLIMPORT unsigned int get_dngspecbox_count | ( | void | ) |
Definition at line 1017 of file obj_things.c.
Referenced by get_dngspecbox_arridx(), and get_dngspecbox_arritm().
DLLIMPORT int get_door_arridx | ( | const unsigned char | stype_idx | ) |
Definition at line 1386 of file obj_things.c.
DLLIMPORT unsigned char get_door_arritm | ( | const int | arr_itm | ) |
Definition at line 1396 of file obj_things.c.
DLLIMPORT unsigned int get_door_count | ( | void | ) |
Definition at line 1407 of file obj_things.c.
Referenced by get_door_arridx(), and get_door_arritm().
DLLIMPORT unsigned char get_door_orientation | ( | const unsigned char * | thing | ) |
Definition at line 541 of file obj_things.c.
Referenced by compute_door_orientation(), create_columns_slb_doorbrace(), create_columns_slb_dooriron(), create_columns_slb_doormagic(), and create_columns_slb_doorwood().
DLLIMPORT 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().
DLLIMPORT int get_doorbox_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_doorbox_arritm | ( | const int | arr_itm | ) |
Definition at line 1328 of file obj_things.c.
DLLIMPORT unsigned int get_doorbox_count | ( | void | ) |
Definition at line 1339 of file obj_things.c.
Referenced by get_doorbox_arridx(), and get_doorbox_arritm().
DLLIMPORT int get_effectgen_arridx | ( | const unsigned char | stype_idx | ) |
Definition at line 1450 of file obj_things.c.
DLLIMPORT unsigned char get_effectgen_arritm | ( | const int | arr_itm | ) |
Definition at line 1460 of file obj_things.c.
DLLIMPORT unsigned int get_effectgen_count | ( | void | ) |
Definition at line 1471 of file obj_things.c.
Referenced by get_effectgen_arridx(), and get_effectgen_arritm().
DLLIMPORT char* get_effectgen_subtype_fullname | ( | const unsigned short | stype_idx | ) |
DLLIMPORT int get_food_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_food_arritm | ( | const int | arr_itm | ) |
Definition at line 1608 of file obj_things.c.
DLLIMPORT unsigned int get_food_count | ( | void | ) |
Definition at line 1619 of file obj_things.c.
Referenced by get_food_arridx(), and get_food_arritm().
DLLIMPORT int get_furniture_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_furniture_arritm | ( | const int | arr_itm | ) |
Definition at line 2414 of file obj_things.c.
DLLIMPORT unsigned int get_furniture_count | ( | void | ) |
Definition at line 2425 of file obj_things.c.
Referenced by get_furniture_arridx(), and get_furniture_arritm().
DLLIMPORT int get_gold_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_gold_arritm | ( | const int | arr_itm | ) |
Definition at line 1676 of file obj_things.c.
DLLIMPORT unsigned int get_gold_count | ( | void | ) |
Definition at line 1687 of file obj_things.c.
Referenced by get_gold_arridx(), and get_gold_arritm().
DLLIMPORT int get_heartflame_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_heartflame_arritm | ( | const int | arr_itm | ) |
Definition at line 1818 of file obj_things.c.
DLLIMPORT unsigned int get_heartflame_count | ( | void | ) |
Definition at line 1829 of file obj_things.c.
Referenced by get_heartflame_arridx(), and get_heartflame_arritm().
DLLIMPORT unsigned char get_heartflame_next | ( | const unsigned char | stype_idx | ) |
Definition at line 1837 of file obj_things.c.
DLLIMPORT unsigned char get_heartflame_prev | ( | const unsigned char | stype_idx | ) |
Definition at line 1854 of file obj_things.c.
DLLIMPORT int get_item_category | ( | unsigned char | stype_idx | ) |
Definition at line 3055 of file obj_things.c.
Referenced by get_usual_item_slab(), is_clmaffective_thing(), is_room_inventory(), and item_verify().
DLLIMPORT 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().
DLLIMPORT char* get_item_subtype_shortname | ( | const unsigned short | stype_idx | ) |
Definition at line 2860 of file obj_things.c.
DLLIMPORT int get_itemeffect_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_itemeffect_arritm | ( | const int | arr_itm | ) |
Definition at line 2143 of file obj_things.c.
DLLIMPORT unsigned int get_itemeffect_count | ( | void | ) |
Definition at line 2154 of file obj_things.c.
Referenced by get_itemeffect_arridx(), and get_itemeffect_arritm().
DLLIMPORT int get_lit_thing_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_lit_thing_arritm | ( | const int | arr_itm | ) |
Definition at line 1936 of file obj_things.c.
DLLIMPORT 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().
DLLIMPORT int get_nulltng_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_nulltng_arritm | ( | const int | arr_itm | ) |
Definition at line 2093 of file obj_things.c.
DLLIMPORT unsigned int get_nulltng_count | ( | void | ) |
Definition at line 2104 of file obj_things.c.
Referenced by get_nulltng_arridx(), and get_nulltng_arritm().
DLLIMPORT int get_polebar_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_polebar_arritm | ( | const int | arr_itm | ) |
Definition at line 1894 of file obj_things.c.
DLLIMPORT unsigned int get_polebar_count | ( | void | ) |
Definition at line 1905 of file obj_things.c.
Referenced by get_polebar_arridx(), and get_polebar_arritm().
DLLIMPORT int get_pwhand_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_pwhand_arritm | ( | const int | arr_itm | ) |
Definition at line 2323 of file obj_things.c.
DLLIMPORT unsigned int get_pwhand_count | ( | void | ) |
Definition at line 2334 of file obj_things.c.
Referenced by get_pwhand_arridx(), and get_pwhand_arritm().
DLLIMPORT int get_roomequip_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_roomequip_arritm | ( | const int | arr_itm | ) |
Definition at line 2278 of file obj_things.c.
DLLIMPORT unsigned int get_roomequip_count | ( | void | ) |
Definition at line 2289 of file obj_things.c.
Referenced by get_roomequip_arridx(), and get_roomequip_arritm().
DLLIMPORT int get_spellbook_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_spellbook_arritm | ( | const int | arr_itm | ) |
Definition at line 932 of file obj_things.c.
DLLIMPORT unsigned int get_spellbook_count | ( | void | ) |
Definition at line 943 of file obj_things.c.
Referenced by get_spellbook_arridx(), and get_spellbook_arritm().
DLLIMPORT int get_spinningtng_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_spinningtng_arritm | ( | const int | arr_itm | ) |
Definition at line 2014 of file obj_things.c.
DLLIMPORT unsigned int get_spinningtng_count | ( | void | ) |
Definition at line 2025 of file obj_things.c.
Referenced by get_spinningtng_arridx(), and get_spinningtng_arritm().
DLLIMPORT int get_statue_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_statue_arritm | ( | const int | arr_itm | ) |
Definition at line 1534 of file obj_things.c.
DLLIMPORT unsigned int get_statue_count | ( | void | ) |
Definition at line 1545 of file obj_things.c.
Referenced by get_statue_arridx(), and get_statue_arritm().
DLLIMPORT char* get_thing_category_fullname | ( | const unsigned short | arr_idx | ) |
DLLIMPORT char* get_thing_category_shortname | ( | const unsigned short | arr_idx | ) |
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.
DLLIMPORT 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().
DLLIMPORT unsigned char get_thing_owner | ( | const unsigned char * | thing | ) |
DLLIMPORT 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().
DLLIMPORT 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().
DLLIMPORT 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().
DLLIMPORT 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().
DLLIMPORT unsigned char get_thing_range_subtpos | ( | const unsigned char * | thing | ) |
DLLIMPORT unsigned short get_thing_sensitile | ( | const unsigned char * | thing | ) |
Definition at line 524 of file obj_things.c.
Referenced by effectgen_verify(), get_free_indexedthing_number(), item_verify(), things_verify(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtile_h | ( | const unsigned char * | thing | ) |
Definition at line 354 of file obj_things.c.
Referenced by create_columns_slb_torchdirt(), create_columns_slb_walltorch(), level_verify_logic(), thing_verify(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtile_x | ( | const unsigned char * | thing | ) |
Definition at line 321 of file obj_things.c.
Referenced by compute_door_orientation(), compute_effectgen_sensitile(), compute_item_sensitile(), compute_torch_sensitile(), effectgen_verify(), item_verify(), set_door_lock(), subtl_in_thing_range(), thing_add(), thing_verify(), update_thing_subpos_and_height(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtile_y | ( | const unsigned char * | thing | ) |
Definition at line 333 of file obj_things.c.
Referenced by compute_door_orientation(), compute_effectgen_sensitile(), compute_item_sensitile(), compute_torch_sensitile(), effectgen_verify(), item_verify(), set_door_lock(), subtl_in_thing_range(), thing_add(), thing_verify(), update_thing_subpos_and_height(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtpos_h | ( | const unsigned char * | thing | ) |
Definition at line 413 of file obj_things.c.
Referenced by create_columns_slb_torchdirt(), create_columns_slb_walltorch(), things_verify(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtpos_x | ( | const unsigned char * | thing | ) |
Definition at line 367 of file obj_things.c.
Referenced by draw_things_on_buffer(), level_verify_logic(), things_verify(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtpos_y | ( | const unsigned char * | thing | ) |
Definition at line 386 of file obj_things.c.
Referenced by draw_things_on_buffer(), level_verify_logic(), things_verify(), and write_def_tng_source().
DLLIMPORT unsigned char get_thing_subtype | ( | const unsigned char * | thing | ) |
Definition at line 294 of file obj_things.c.
Referenced by compute_item_sensitile(), create_herogate_number_used_arr(), create_thing_copy(), creature_verify(), door_verify(), draw_things_on_buffer(), effectgen_verify(), get_usual_thing_slab(), is_clmaffective_thing(), is_crtrlair(), is_dncrucial(), is_dngspecbox(), is_dnheart(), is_doorbox(), is_doorkey(), is_food(), is_furniture(), is_gold(), is_heartflame(), is_herogate(), is_itemeffect(), is_lit_thing(), is_nulltng(), is_polebar(), is_pwhand(), is_room_inventory(), is_roomequip(), is_spellbook(), is_spinningtng(), is_statue(), is_torch(), is_torchcndl(), is_trainpost(), is_trapbox(), is_wrkshopbox(), item_verify(), owned_things_count(), remove_automade_obj_for_slab(), set_door_lock(), switch_thing_subtype(), things_verify(), trap_verify(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_thing_subpos_and_height(), update_things_slb_barracks_corner(), update_things_slb_graveyard_corner(), update_things_slb_portal_inside(), and write_def_tng_source().
DLLIMPORT char* get_thing_subtype_fullname | ( | const unsigned short | type_idx, | |
const unsigned short | stype_idx | |||
) |
Definition at line 678 of file obj_things.c.
DLLIMPORT int get_thing_subtypes_arridx | ( | const unsigned char * | thing | ) |
Definition at line 573 of file obj_things.c.
Referenced by compute_item_sensitile(), remove_automade_obj_for_slab(), switch_thing_subtype(), things_verify(), and update_thing_stats().
DLLIMPORT unsigned int get_thing_subtypes_arritem | ( | const unsigned short | arr_idx, | |
const int | arr_itm | |||
) |
Definition at line 600 of file obj_things.c.
DLLIMPORT thing_subtype_arrayitem get_thing_subtypes_arritem_func | ( | const unsigned short | arr_idx | ) |
Definition at line 622 of file obj_things.c.
DLLIMPORT int get_thing_subtypes_arritmidx | ( | const unsigned short | arr_idx, | |
const unsigned short | stype_idx | |||
) |
Definition at line 611 of file obj_things.c.
DLLIMPORT unsigned int get_thing_subtypes_count | ( | const unsigned short | arr_idx | ) |
Definition at line 589 of file obj_things.c.
DLLIMPORT unsigned short get_thing_subtypes_next | ( | const unsigned short | arr_idx, | |
const unsigned short | stype_idx | |||
) |
DLLIMPORT unsigned short get_thing_subtypes_prev | ( | const unsigned short | arr_idx, | |
const unsigned short | stype_idx | |||
) |
DLLIMPORT unsigned char get_thing_type | ( | const unsigned char * | thing | ) |
Definition at line 281 of file obj_things.c.
Referenced by create_thing_copy(), draw_things_on_buffer(), get_thing_range_adv(), get_usual_thing_slab(), is_clmaffective_thing(), is_creature(), is_crtrlair(), is_dncrucial(), is_dngspecbox(), is_dnheart(), is_door(), is_doorbox(), is_doorkey(), is_effectgen(), is_food(), is_furniture(), is_gold(), is_heartflame(), is_herogate(), is_itemeffect(), is_lit_thing(), is_nulltng(), is_polebar(), is_pwhand(), is_room_inventory(), is_roomequip(), is_spellbook(), is_spinningtng(), is_statue(), is_torch(), is_torchcndl(), is_trainpost(), is_trap(), is_trapbox(), is_wrkshopbox(), level_verify_logic(), owned_things_count(), set_door_lock(), surr_tng_find(), thing_verify(), things_verify(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_thing_stats(), update_things_slb_barracks_corner(), update_things_slb_graveyard_corner(), and write_def_tng_source().
DLLIMPORT char* get_thing_type_fullname | ( | const unsigned short | type_idx | ) |
Definition at line 660 of file obj_things.c.
Referenced by get_thing_subtype_fullname(), and things_verify().
DLLIMPORT char* get_thing_type_shortname | ( | const unsigned short | type_idx | ) |
DLLIMPORT int get_torch_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_torch_arritm | ( | const int | arr_itm | ) |
Definition at line 1747 of file obj_things.c.
DLLIMPORT unsigned int get_torch_count | ( | void | ) |
Definition at line 1758 of file obj_things.c.
Referenced by get_torch_arridx(), and get_torch_arritm().
DLLIMPORT int get_torchcndl_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_torchcndl_arritm | ( | const int | arr_itm | ) |
Definition at line 2233 of file obj_things.c.
DLLIMPORT unsigned int get_torchcndl_count | ( | void | ) |
Definition at line 2244 of file obj_things.c.
Referenced by get_torchcndl_arridx(), and get_torchcndl_arritm().
DLLIMPORT int get_trap_arridx | ( | const unsigned char | stype_idx | ) |
Definition at line 1208 of file obj_things.c.
DLLIMPORT unsigned char get_trap_arritm | ( | const int | arr_itm | ) |
Definition at line 1218 of file obj_things.c.
DLLIMPORT unsigned int get_trap_count | ( | void | ) |
Definition at line 1229 of file obj_things.c.
Referenced by get_trap_arridx(), and get_trap_arritm().
DLLIMPORT 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().
DLLIMPORT int get_trapbox_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_trapbox_arritm | ( | const int | arr_itm | ) |
Definition at line 1154 of file obj_things.c.
DLLIMPORT unsigned int get_trapbox_count | ( | void | ) |
Definition at line 1165 of file obj_things.c.
Referenced by get_trapbox_arridx(), and get_trapbox_arritm().
DLLIMPORT unsigned char get_usual_item_slab | ( | unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT int get_wrkshopbox_arridx | ( | const unsigned char | stype_idx | ) |
DLLIMPORT unsigned char get_wrkshopbox_arritm | ( | const int | arr_itm | ) |
Definition at line 2188 of file obj_things.c.
DLLIMPORT unsigned int get_wrkshopbox_count | ( | void | ) |
Definition at line 2199 of file obj_things.c.
Referenced by get_wrkshopbox_arridx(), and get_wrkshopbox_arritm().
DLLIMPORT short is_clmaffective_thing | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_creature | ( | const unsigned char * | thing | ) |
Definition at line 1237 of file obj_things.c.
Referenced by draw_things_on_buffer(), get_free_indexedthing_number(), and things_verify().
DLLIMPORT short is_crtrlair | ( | const unsigned char * | thing | ) |
Definition at line 1053 of file obj_things.c.
DLLIMPORT short is_crtrlair_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT short is_dncrucial_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT short is_dngspecbox_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_dnheart | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_door | ( | const unsigned char * | thing | ) |
Definition at line 1379 of file obj_things.c.
Referenced by get_free_indexedthing_number(), things_verify(), update_door_things_on_slab(), and update_thing_subpos_and_height().
DLLIMPORT short is_doorbox | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_doorbox_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_doorkey | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_effectgen | ( | const unsigned char * | thing | ) |
Definition at line 1443 of file obj_things.c.
Referenced by subtl_in_effectgen_range(), things_verify(), and update_things_slb_portal_inside().
DLLIMPORT short is_false_stype | ( | const unsigned char | stype_idx | ) |
Definition at line 2109 of file obj_things.c.
DLLIMPORT 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().
DLLIMPORT short is_food_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_furniture | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_furniture_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT short is_gold_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_heartflame | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_heartflame_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_herogate | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_itemeffect | ( | const unsigned char * | thing | ) |
Definition at line 2117 of file obj_things.c.
DLLIMPORT short is_itemeffect_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT short is_lit_thing_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_nulltng | ( | const unsigned char * | thing | ) |
Definition at line 2067 of file obj_things.c.
DLLIMPORT short is_nulltng_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_polebar | ( | const unsigned char * | thing | ) |
Definition at line 1870 of file obj_things.c.
DLLIMPORT short is_polebar_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_pwhand | ( | const unsigned char * | thing | ) |
Definition at line 2297 of file obj_things.c.
DLLIMPORT short is_pwhand_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_room_inventory | ( | const unsigned char * | thing | ) |
Definition at line 2490 of file obj_things.c.
Referenced by delete_room_things_subtl(), remove_automade_obj_for_slab(), remove_noncrucial_room_things(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_thing_stats(), update_things_slb_barracks_corner(), update_things_slb_graveyard_corner(), and update_things_slb_portal_inside().
DLLIMPORT short is_roomequip | ( | const unsigned char * | thing | ) |
Definition at line 2252 of file obj_things.c.
DLLIMPORT short is_roomequip_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT short is_spellbook_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_spinningtng | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_spinningtng_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_statue | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_statue_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_torch | ( | const unsigned char * | thing | ) |
Definition at line 1723 of file obj_things.c.
Referenced by compute_item_sensitile(), create_columns_slb_torchdirt(), create_columns_slb_walltorch(), delete_room_things_subtl(), and update_thing_subpos_and_height().
DLLIMPORT short is_torch_stype | ( | const unsigned char | stype_idx | ) |
Definition at line 1731 of file obj_things.c.
Referenced by create_item_adv(), is_torch(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_things_slb_barracks_corner(), and update_things_slb_graveyard_corner().
DLLIMPORT short is_torchcndl | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_torchcndl_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_trainpost | ( | const unsigned char * | thing | ) |
DLLIMPORT 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().
DLLIMPORT short is_trapbox | ( | const unsigned char * | thing | ) |
DLLIMPORT short is_trapbox_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT short is_wrkshopbox | ( | const unsigned char * | thing | ) |
Definition at line 2162 of file obj_things.c.
DLLIMPORT short is_wrkshopbox_stype | ( | const unsigned char | stype_idx | ) |
DLLIMPORT 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().
DLLIMPORT 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().
DLLIMPORT short set_thing_owner | ( | unsigned char * | thing, | |
unsigned char | plyr_idx | |||
) |
Definition at line 314 of file obj_things.c.
Referenced by create_creature(), create_door(), create_doorkey(), create_effectgen(), create_item(), create_item_adv(), create_thing(), create_torch(), create_trap(), update_thing_slb_room_one_central_item(), update_thing_slb_room_one_item_subtl(), update_things_slb_barracks_corner(), update_things_slb_graveyard_corner(), and update_things_slb_portal_inside().
DLLIMPORT short set_thing_range_subtile | ( | unsigned char * | thing, | |
unsigned char | rng | |||
) |
DLLIMPORT short set_thing_range_subtpos | ( | unsigned char * | thing, | |
unsigned char | rng | |||
) |
Definition at line 432 of file obj_things.c.
DLLIMPORT short set_thing_sensitile | ( | unsigned char * | thing, | |
unsigned short | til_num | |||
) |
Definition at line 533 of file obj_things.c.
Referenced by create_creature(), create_door(), create_doorkey(), create_effectgen(), create_item(), create_item_adv(), create_thing_copy(), create_torch(), create_trap(), update_things_slb_barracks_corner(), and update_things_slb_graveyard_corner().
DLLIMPORT short set_thing_subtile | ( | unsigned char * | thing, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 346 of file obj_things.c.
Referenced by create_thing(), create_thing_copy(), update_door_things_on_slab(), update_things_slb_barracks_corner(), and update_things_slb_graveyard_corner().
DLLIMPORT short set_thing_subtile_h | ( | unsigned char * | thing, | |
unsigned char | pos_h | |||
) |
Definition at line 360 of file obj_things.c.
Referenced by create_door(), create_doorkey(), create_item_adv(), create_thing(), create_torch(), update_thing_subpos_and_height(), update_things_slb_guardpost_floor(), and update_things_slb_temple_corner().
DLLIMPORT short set_thing_subtile_x | ( | unsigned char * | thing, | |
unsigned char | pos_x | |||
) |
Definition at line 327 of file obj_things.c.
DLLIMPORT short set_thing_subtile_y | ( | unsigned char * | thing, | |
unsigned char | pos_y | |||
) |
Definition at line 339 of file obj_things.c.
DLLIMPORT short set_thing_subtpos | ( | unsigned char * | thing, | |
unsigned char | pos_x, | |||
unsigned char | pos_y | |||
) |
Definition at line 405 of file obj_things.c.
Referenced by create_door(), create_doorkey(), create_item_adv(), create_thing(), create_thing_copy(), create_torch(), and update_thing_subpos_and_height().
DLLIMPORT 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().
DLLIMPORT short set_thing_subtpos_x | ( | unsigned char * | thing, | |
unsigned char | pos_x | |||
) |
Definition at line 379 of file obj_things.c.
DLLIMPORT short set_thing_subtpos_y | ( | unsigned char * | thing, | |
unsigned char | pos_y | |||
) |
Definition at line 398 of file obj_things.c.
DLLIMPORT short set_thing_subtype | ( | unsigned char * | thing, | |
const unsigned char | stype_idx | |||
) |
Definition at line 300 of file obj_things.c.
Referenced by create_creature(), create_door(), create_doorkey(), create_effectgen(), create_item(), create_torch(), create_trap(), switch_thing_subtype(), and update_door_things_on_slab().
DLLIMPORT short set_thing_type | ( | unsigned char * | thing, | |
unsigned char | type_idx | |||
) |
Definition at line 287 of file obj_things.c.
Referenced by create_creature(), create_door(), create_doorkey(), create_effectgen(), create_item(), create_torch(), and create_trap().
DLLIMPORT short subtl_in_thing_range | ( | const unsigned char * | thing, | |
unsigned int | sx, | |||
unsigned int | sy | |||
) |
DLLIMPORT 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 | |||
) |