/dports/games/dungeoncrawl/dc400b26-src/source/ |
H A D | items.cc | 278 if (item == NON_ITEM) in init_item() 302 int item = NON_ITEM; in get_item_slot() 314 if (item == NON_ITEM) in get_item_slot() 482 igrd[x][y] = NON_ITEM; in destroy_item_stack() 484 while (o != NON_ITEM) in destroy_item_stack() 713 while (objl != NON_ITEM) in item_check() 843 if (o == NON_ITEM) in pickup() 1170 igrd[x][y] = NON_ITEM; in move_item_stack_to_grid() 1227 if (item == NON_ITEM) in move_top_item() 1272 if (i == NON_ITEM) in drop_gold() [all …]
|
H A D | mon-util.cc | 160 if (weapon != NON_ITEM && mitm[weapon].base_type == OBJ_WEAPONS in scan_mon_inv_randarts() 166 if (second != NON_ITEM && mitm[second].base_type == OBJ_WEAPONS in scan_mon_inv_randarts() 172 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR in scan_mon_inv_randarts() 373 if (armour != NON_ITEM in mons_resist_magic() 444 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR in mons_res_elec() 472 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR) in mons_res_poison() 518 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR) in mons_res_fire() 562 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR) in mons_res_cold() 603 if (armour != NON_ITEM && mitm[armour].base_type == OBJ_ARMOUR) in mons_res_negative_energy() 1110 if (mons_wpn == NON_ITEM) in monam() [all …]
|
H A D | food.cc | 174 if (igrd[you.x_pos][you.y_pos] == NON_ITEM) in butchery() 311 int last_item = NON_ITEM; in butchery() 317 while (objl != NON_ITEM) in butchery() 366 last_item = NON_ITEM; in butchery() 401 last_item = NON_ITEM; in butchery() 479 if (o == NON_ITEM) in butchery() 511 if (igrd[you.x_pos][you.y_pos] != NON_ITEM) in eat_food() 662 for (int o = igrd[you.x_pos][you.y_pos]; o != NON_ITEM; o = mitm[o].link) in eat_from_floor()
|
H A D | abyss.cc | 152 if (thing_created != NON_ITEM) in generate_area() 205 if (menv[i].inv[j] != NON_ITEM) in area_shift() 208 menv[i].inv[j] = NON_ITEM; in area_shift() 365 igrd[i][j] = NON_ITEM; in abyss_teleport()
|
H A D | spells2.cc | 99 if (igrd[i][j] != NON_ITEM) in detect_items() 184 if (igrd[adx][ady] == NON_ITEM in corpse_rot() 193 while (objl != NON_ITEM) in corpse_rot() 269 if (igrd[adx][ady] != NON_ITEM) in animate_dead() 275 while (objl != NON_ITEM) in animate_dead() 315 if (igrd[axps][ayps] == NON_ITEM) in animate_a_corpse() 375 if (igrd[you.x_pos][you.y_pos] == NON_ITEM) in cast_twisted() 384 while (objl != NON_ITEM) in cast_twisted()
|
H A D | monstuff.cc | 85 item.link = NON_ITEM; in get_mimic_item() 250 if (item != NON_ITEM) in monster_drop_ething() 262 monster->inv[i] = NON_ITEM; in monster_drop_ething() 292 if (o == NON_ITEM) in place_monster_corpse() 567 if (monster->inv[dmi] != NON_ITEM) in monster_die() 570 monster->inv[dmi] = NON_ITEM; in monster_die() 684 monster->inv[dmi] = NON_ITEM; in monster_cleanup() 2757 else if (monster->inv[MSLOT_WAND] == NON_ITEM in handle_wand() 3713 int item = NON_ITEM; in handle_pickup() 3910 if (monster->inv[MSLOT_WAND] != NON_ITEM) in handle_pickup() [all …]
|
H A D | shopping.cc | 92 if (itty == NON_ITEM) in in_a_shop() 103 if (itty == NON_ITEM) //mitm.link [itty] == NON_ITEM) in in_a_shop() 105 shop_items[i - 1] = NON_ITEM; in in_a_shop() 135 if (mitm[itty].link == NON_ITEM) in in_a_shop() 177 if (shop_items[ft] == NON_ITEM) in in_a_shop() 213 if (shop_items[ft] == NON_ITEM) in in_a_shop()
|
H A D | direct.cc | 713 if (menv[i].type != MONS_DANCING_WEAPON && mon_wep != NON_ITEM) in describe_cell() 723 && menv[i].inv[MSLOT_MISSILE] != NON_ITEM) in describe_cell() 739 if (mon_arm != NON_ITEM) in describe_cell() 885 if (targ_item != NON_ITEM) in describe_cell() 905 if (mitm[ targ_item ].link != NON_ITEM) in describe_cell()
|
H A D | files.cc | 389 if (item == NON_ITEM) in load() 751 menv[following].inv[minvc] = NON_ITEM; in load() 756 if (itmf == NON_ITEM) in load() 758 menv[following].inv[minvc] = NON_ITEM; in load() 765 mitm[itmf].link = NON_ITEM; in load() 800 if (menv[i].inv[j] == NON_ITEM) in load() 804 if (mitm[menv[i].inv[j]].link != NON_ITEM) in load() 805 mitm[menv[i].inv[j]].link = NON_ITEM; in load() 1077 menv[imn].inv[i] = NON_ITEM; in load_ghost()
|
H A D | defines.h | 54 #define NON_ITEM 501 macro
|
H A D | dungeon.cc | 186 igrd[x][y] = NON_ITEM; in builder() 439 if (p == NON_ITEM) in items() 440 return (NON_ITEM); in items() 450 mitm[p].link = NON_ITEM; in items() 2420 mitm[p].link = NON_ITEM; in items() 2503 if (bp == NON_ITEM) in give_item() 3055 mitm[bp].link = NON_ITEM; in give_item() 3134 if (bp == NON_ITEM) in give_item() 3139 mitm[bp].link = NON_ITEM; in give_item() 4970 if (i == NON_ITEM) in beehive() [all …]
|
H A D | spells3.cc | 444 if (i == NON_ITEM) in dancing_weapon() 470 mitm[i].link = NON_ITEM; in dancing_weapon() 757 while (objl != NON_ITEM) in entomb() 777 while (objl != NON_ITEM) in entomb()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | items.cc | 162 env.igrid.init(NON_ITEM); in link_items() 491 if (item == NON_ITEM) in init_item() 507 int item = NON_ITEM; in get_mitm_slot() 1407 if (o == NON_ITEM) in player_on_single_stack() 1431 if (o == NON_ITEM) in pickup() 2279 ob = NON_ITEM; in move_item_to_grid() 2373 if (si->link == NON_ITEM && env.igrid(to) != NON_ITEM) in move_item_stack_to_grid() 2483 if (item == NON_ITEM) in move_top_item() 3192 while (o != NON_ITEM) in _do_autopickup() 3284 return NON_ITEM; in item_on_floor() [all …]
|
H A D | mon-gear.cc | 41 if (thing == NON_ITEM || thing == -1) in give_specific_item() 51 mthing.link = NON_ITEM; in give_specific_item() 94 if (thing == NON_ITEM) in give_specific_item() 151 if (idx == NON_ITEM) in _give_wand() 1223 return NON_ITEM; in make_mons_weapon() 1244 return NON_ITEM; in make_mons_weapon() 1257 return NON_ITEM; in make_mons_weapon() 1525 if (bp == NON_ITEM) in make_item_for_monster() 2136 return NON_ITEM; in make_mons_armour() 2141 return NON_ITEM; in make_mons_armour() [all …]
|
H A D | defines.h | 69 #define NON_ITEM 27000 macro 75 COMPILE_CHECK(ITEM_IN_SHOP > NON_ITEM + MAX_MONSTERS); 77 #if NON_ITEM <= MAX_ITEMS 78 #error NON_ITEM must be > MAX_ITEMS
|
H A D | monster.cc | 123 inv.init(NON_ITEM); in reset() 475 if (offhand != NON_ITEM in weapon() 559 if (inv[MSLOT_WEAPON] != NON_ITEM) in can_wield() 570 if (offhand != NON_ITEM) in can_wield() 1162 if (inv[slot] != NON_ITEM) in pickup() 1212 if (item_index == NON_ITEM) in drop_item() 1263 inv[eslot] = NON_ITEM; in drop_item() 4569 inv.init(NON_ITEM); in ghost_init() 6236 if (idx == NON_ITEM) in steal_item_from_player() 6298 if (index == NON_ITEM) in take_item() [all …]
|
H A D | wiz-item.cc | 58 if (thing == NON_ITEM) in _make_all_books() 63 if (thing == NON_ITEM) in _make_all_books() 126 if (thing_created == NON_ITEM) in wizard_create_spec_object() 231 if (thing_created != NON_ITEM) in wizard_create_spec_object() 568 if (islot == NON_ITEM) in wizard_create_all_artefacts() 582 if (islot == NON_ITEM) in wizard_create_all_artefacts() 614 if (islot != NON_ITEM) in wizard_create_all_artefacts() 756 if (item.defined() && !item.held_by_monster() && item.link != NON_ITEM) in wizard_list_items() 771 if (item != NON_ITEM) in wizard_list_items() 834 if (p == NON_ITEM) in _debug_acquirement_stats() [all …]
|
H A D | acquire.cc | 1012 return NON_ITEM; in _failed_acquirement() 1203 int thing_created = NON_ITEM; in acquirement_create_item() 1228 if (thing_created == NON_ITEM) in acquirement_create_item() 1257 thing_created = NON_ITEM; in acquirement_create_item() 1280 thing_created = NON_ITEM; in acquirement_create_item() 1294 thing_created = NON_ITEM; in acquirement_create_item() 1376 thing_created = NON_ITEM; in acquirement_create_item() 1383 if (thing_created == NON_ITEM) in acquirement_create_item() 1388 if (thing_created != NON_ITEM) in acquirement_create_item() 1403 if (thing_created != NON_ITEM && !quiet) in acquirement_create_item() [all …]
|
H A D | god-passive.cc | 525 if (env.igrid(p) == NON_ITEM || testbits(env.pgrid(p), FPROP_NO_JIYVA)) in jiyva_eat_offlevel_items() 853 && you.visible_igrd(pos) != NON_ITEM)) in gozag_detect_level_gold() 1097 int wpn_index = NON_ITEM; in shadow_monster() 1106 if (wpn_index == NON_ITEM) in shadow_monster() 1139 you.skill_rdiv(wpn_index != NON_ITEM in shadow_monster() 1146 mon->inv[MSLOT_MISSILE] = NON_ITEM; in shadow_monster() 1155 if (mon->inv[MSLOT_WEAPON] != NON_ITEM) in shadow_monster_reset() 1159 if (mon->inv[MSLOT_ALT_WEAPON] != NON_ITEM) in shadow_monster_reset() 1161 if (mon->inv[MSLOT_MISSILE] != NON_ITEM) in shadow_monster_reset() 1218 if (ammo_index != NON_ITEM) in dithmenos_shadow_throw()
|
H A D | god-blessing.cc | 97 mon->inv[MSLOT_SHIELD] != NON_ITEM, in _upgrade_orc_weapon() 390 if (armour == NON_ITEM) in _beogh_bless_armour() 393 if (mon->inv[MSLOT_ARMOUR] != NON_ITEM) in _beogh_bless_armour() 408 if (slot == NON_ITEM) in _beogh_bless_armour() 412 if (mon->inv[MSLOT_SHIELD] != NON_ITEM) in _beogh_bless_armour()
|
H A D | traps.cc | 218 return NON_ITEM; in get_trapping_net() 232 if (get_trapping_net(act->pos(), true) != NON_ITEM) in held_status() 268 if (net == NON_ITEM) in _mark_net_trapping() 271 if (net != NON_ITEM) in _mark_net_trapping() 363 if (net != NON_ITEM) in check_net_will_hold_monster() 380 if (net != NON_ITEM) in check_net_will_hold_monster() 1004 if (net == NON_ITEM) in free_self_from_net() 1064 if (net != NON_ITEM) in mons_clear_trapping_net() 1104 if (net == NON_ITEM) in clear_trapping_net()
|
H A D | misc.cc | 79 if (net != NON_ITEM) in swap_with_monster() 91 if (get_trapping_net(you.pos()) != NON_ITEM) in swap_with_monster()
|
H A D | mon-transit.cc | 236 if (mons.inv[i] != NON_ITEM) in load_mons_items() 286 m.inv[i] = NON_ITEM; in restore_mons_items() 291 if (islot == NON_ITEM) in restore_mons_items()
|
H A D | mon-clone.cc | 321 if (new_index == NON_ITEM) in clone_mons() 324 mons->inv[ii.slot()] = NON_ITEM; in clone_mons()
|
H A D | show.cc | 240 if (item_grid == NON_ITEM) in update_item_at() 245 if (eitem.link > NON_ITEM) in update_item_at() 247 else if (eitem.link < NON_ITEM && !crawl_state.game_is_arena()) in update_item_at()
|