OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:weapon
(Results
1 - 2
of
2
) sorted by relevancy
/src/games/rogue/
throw.c
67
object *
weapon
;
local in function:throw
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
...]
rogue.h
63
#define
WEAPON
((unsigned short) 02)
258
object *
weapon
;
member in struct:fightr
Completed in 15 milliseconds
Indexes created Fri Sep 26 08:10:20 GMT 2025