| /src/games/rogue/ |
| throw.c | 67 object *weapon; local 82 if ((wch = pack_letter("throw what?", WEAPON)) == CANCEL) { 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) [all...] |
| hit.c | 133 hit_chance = force_hit ? 100 : get_hit_chance(rogue.weapon); 145 damage = get_weapon_damage(rogue.weapon); 217 if ((!obj) || (obj->what_is != WEAPON)) { 436 get_hit_chance(const object *weapon) 441 hit_chance += 3 * to_hit(weapon); 447 get_weapon_damage(const object *weapon) 451 damage = get_w_damage(weapon);
|
| 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; 386 if (obj->what_is & (SCROL | POTION | WEAPON | ARMOR | WAND | RING)) {
|
| pack.c | 178 unwield(rogue.weapon); 197 if ((obj->quantity > 1) && (obj->what_is != WEAPON)) { 218 if (!(obj->what_is & (WEAPON | FOOD | SCROL | POTION))) { 230 if ((obj->what_is != WEAPON) || 231 ((obj->what_is == WEAPON) && 393 if (rogue.weapon && rogue.weapon->is_cursed) { 397 ch = pack_letter("wield what?", WEAPON); 414 unwield(rogue.weapon); 425 rogue.weapon = obj [all...] |
| inventory.c | 169 {'w', "w wield a weapon"}, 184 {')', ") print current weapon"}, 556 if (obj->what_is & (WEAPON | ARMOR | WAND | RING)) { 645 case WEAPON: 739 case WEAPON: 751 if (rogue.weapon) { 752 single_inv(rogue.weapon->ichar); 820 id = "weapon";
|
| rogue.h | 63 #define WEAPON ((unsigned short) 02) 258 object *weapon; member in struct:fightr
|
| score.c | 142 unwield(rogue.weapon); /* disarm and relax */ 567 case WEAPON:
|
| /src/external/bsd/libevent/dist/test/ |
| regress.rpc | 11 string weapon = 0x10121;
|
| 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\n") [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress.rpc | 11 string weapon = 0x10121;
|
| regress_rpc.c | 122 EVTAG_ASSIGN(kill_reply, weapon, "dagger"); 330 char *weapon; local 344 if (EVTAG_GET(kill, weapon, &weapon) == -1) { 345 fprintf(stderr, "get weapon\n"); 353 if (strcmp(weapon, "dagger")) 369 char *weapon; local 375 if (EVTAG_GET(kill, weapon, &weapon) == -1) { 376 fprintf(stderr, "get weapon\n") [all...] |
| /src/games/warp/ |
| Makefile | 9 them.c us.c util.c version.c warp.c weapon.c
|