Searched refs:weapon (Results 1 - 12 of 12) sorted by relevance
/netbsd-current/games/rogue/ |
H A D | throw.c | 67 object *weapon; local 87 if (!(weapon = get_letter_object(wch))) { 91 if ((weapon->in_use_flags & BEING_USED) && weapon->is_cursed) { 97 if ((weapon->in_use_flags & BEING_WIELDED) && (weapon->quantity <= 1)) { 98 unwield(rogue.weapon); 99 } else if (weapon->in_use_flags & BEING_WORN) { 103 } else if (weapon->in_use_flags & ON_EITHER_HAND) { 104 un_put_on(weapon); 127 throw_at_monster(object *monster, object *weapon) argument 204 flop_weapon(object *weapon, short row, short col) argument [all...] |
H A D | hit.c | 133 hit_chance = force_hit ? 100 : get_hit_chance(rogue.weapon); 145 damage = get_weapon_damage(rogue.weapon); 436 get_hit_chance(const object *weapon) argument 441 hit_chance += 3 * to_hit(weapon); 447 get_weapon_damage(const object *weapon) argument 451 damage = get_w_damage(weapon);
|
H A D | use.c | 217 if (rogue.weapon) { 218 if (rogue.weapon->what_is == WEAPON) { 220 name_of(rogue.weapon), 221 ((rogue.weapon->quantity <= 1) ? "s" : ""), 224 rogue.weapon->hit_enchant++; 226 rogue.weapon->d_enchant++; 229 rogue.weapon->is_cursed = 0;
|
H A D | pack.c | 178 unwield(rogue.weapon); 393 if (rogue.weapon && rogue.weapon->is_cursed) { 414 unwield(rogue.weapon); 425 rogue.weapon = obj; 435 rogue.weapon = NULL;
|
H A D | inventory.c | 169 {'w', "w wield a weapon"}, 184 {')', ") print current weapon"}, 751 if (rogue.weapon) { 752 single_inv(rogue.weapon->ichar); 820 id = "weapon";
|
H A D | rogue.h | 258 object *weapon; member in struct:fightr
|
H A D | score.c | 142 unwield(rogue.weapon); /* disarm and relax */
|
/netbsd-current/external/bsd/libevent/dist/test/ |
H A D | regress.rpc | 11 string weapon = 0x10121;
|
H A D | regress_rpc.c | 124 EVTAG_ASSIGN(kill_reply, weapon, "dagger"); 332 char *weapon; local 346 if (EVTAG_GET(xkill, weapon, &weapon) == -1) { 347 fprintf(stderr, "get weapon\n"); 355 if (strcmp(weapon, "dagger")) 371 char *weapon; local 377 if (EVTAG_GET(xkill, weapon, &weapon) == -1) { 378 fprintf(stderr, "get weapon\ [all...] |
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/ |
H A D | regress.rpc | 11 string weapon = 0x10121;
|
H A D | regress_rpc.c | 123 EVTAG_ASSIGN(kill_reply, weapon, "dagger"); 331 char *weapon; local 345 if (EVTAG_GET(kill, weapon, &weapon) == -1) { 346 fprintf(stderr, "get weapon\n"); 354 if (strcmp(weapon, "dagger")) 370 char *weapon; local 376 if (EVTAG_GET(kill, weapon, &weapon) == -1) { 377 fprintf(stderr, "get weapon\ [all...] |
/netbsd-current/games/warp/ |
H A D | Makefile | 9 them.c us.c util.c version.c warp.c weapon.c
|
Completed in 153 milliseconds