HomeSort by: relevance | last modified time | path
    Searched refs:testbit (Results 1 - 12 of 12) sorted by relevancy

  /src/games/battlestar/
command4.c 62 if ((testbit(from, value) || wiz || tempwiz) &&
63 heavy && bulky && !testbit(inven, value)) {
68 if (testbit(from, value))
75 } else if (testbit(inven, value))
79 else if (!testbit(from, value))
101 if (testbit(from, SWORD)) {
105 if (testbit(from, TWO_HANDED)) {
115 if (testbit(from, MAID)) {
119 } else if (testbit(from, DEADWOOD)) {
123 } else if (testbit(from, DEADNATIVE))
    [all...]
command3.c 46 if (testbit(inven, SHOVEL)) {
98 if (testbit(inven, n)) {
112 if (testbit(inven, SHOVEL)) {
118 (testbit(location[position].objects, value) ||
123 if (testbit(inven, MAID) ||
124 testbit(location[position].objects, MAID))
126 if (testbit(inven, DEADWOOD) ||
127 testbit(location[position].objects,
130 if (testbit(inven, DEADGOD) ||
131 testbit(location[position].objects
    [all...]
command7.c 73 if (testbit(inven, TWO_HANDED))
76 else if (testbit(inven, SWORD) || testbit(inven, BROAD))
80 else if (testbit(inven, KNIFE) || testbit(inven, MALLET) ||
81 testbit(inven, CHAIN) || testbit(inven, MACE) ||
82 testbit(inven, HALBERD))
196 if (testbit(inven, AMULET) || testbit(wear, AMULET))
    [all...]
misc.c 62 if (testbit(array, n))
command2.c 85 if (testbit(inven, value)) {
94 if (testbit(wear, value)) {
140 if (wordvalue[wordnumber] == AMULET && testbit(inven, AMULET) &&
143 if (testbit(inven, MEDALION)) {
167 else if (wordvalue[wordnumber] == COMPASS && testbit(inven, COMPASS))
186 n == HALBERD) && testbit(inven, n)) && n < NUMOFOBJECTS;
189 if (testbit(inven, LASER)) {
221 if (testbit(location[position].objects, BATHGOD)) {
229 if (testbit(location[position].objects,
247 if (testbit(location[position].objects, TIMER))
    [all...]
command1.c 50 testbit(location[position].objects, LAND) ||
146 if ((testbit(inven, TALISMAN) || testbit(wear, TALISMAN)) &&
147 (testbit(inven, MEDALION) || testbit(wear, MEDALION)) &&
148 (testbit(inven, AMULET) || testbit(wear, AMULET))) {
153 if (testbit(location[position].objects, ELF)) {
157 if (testbit(location[position].objects, DARK)) {
161 if (testbit(location[position].objects, WOODSMAN))
    [all...]
battlestar.c 81 if (!notes[CANTSEE] || testbit(inven, LAMPON) ||
82 testbit(location[position].objects, LAMPON)) {
cypher.c 124 if (testbit(location[position].objects,
144 if (testbit(location[position].objects,
195 if (testbit(inven, n)) {
216 if (testbit(inven, n) ||
217 (testbit(location[position].objects, n) && objsht[n])) {
237 if (testbit(wear, n)) {
255 if (testbit(wear, n)) {
273 if (testbit(location[position].objects,
292 if (testbit(inven, n)) {
310 if (testbit(inven, n))
    [all...]
command5.c 50 && testbit(location[position].objects, BATHGOD)) {
56 if (testbit(location[position].objects,
107 if ((testbit(location[position].objects, BATHGOD) ||
108 testbit(location[position].objects, NORMGOD)) &&
159 if (testbit(location[position].objects,
216 while (!testbit(inven, n))
340 if (person && testbit(location[position].objects, person)) {
351 if (result != -1 && (testbit(location[position].objects, obj) ||
command6.c 49 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) {
71 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) &&
185 if (testbit(location[position].objects, CAR)) {
203 if (testbit(location[position].objects, HORSE)) {
231 if (testbit(inven, MATCHES) && matchcount) {
room.c 75 if (testbit(p, n) && objdes[n])
extern.h 50 #define testbit(array, index) (array[index/BITS] & (1U << (index % BITS))) macro

Completed in 19 milliseconds