| /dragonfly/games/battlestar/ |
| HD | command4.c | 54 if ((testbit(from, value) || wiz || tempwiz) && in take() 55 heavy && bulky && !testbit(inven, value)) { in take() 60 if (testbit(from, value)) in take() 67 } else if (testbit(inven, value)) in take() 71 else if (!testbit(from, value)) in take() 93 if (testbit(from, SWORD)) { in take() 97 if (testbit(from, TWO_HANDED)) { in take() 107 if (testbit(from, MAID)) { in take() 111 } else if (testbit(from, DEADWOOD)) { in take() 115 } else if (testbit(from, DEADNATIVE)) { in take() [all …]
|
| HD | command3.c | 38 if (testbit(inven, SHOVEL)) { in dig() 90 if (testbit(inven, n)) { in jump() 104 if (testbit(inven, SHOVEL)) { in bury() 110 (testbit(location[position].objects, value) || in bury() 115 if (testbit(inven, MAID) || in bury() 116 testbit(location[position].objects, MAID)) in bury() 118 if (testbit(inven, DEADWOOD) || in bury() 119 testbit(location[position].objects, in bury() 122 if (testbit(inven, DEADGOD) || in bury() 123 testbit(location[position].objects, in bury() [all …]
|
| HD | command7.c | 65 if (testbit(inven, TWO_HANDED)) in fight() 68 else if (testbit(inven, SWORD) || testbit(inven, BROAD)) in fight() 72 else if (testbit(inven, KNIFE) || testbit(inven, MALLET) || in fight() 73 testbit(inven, CHAIN) || testbit(inven, MACE) || in fight() 74 testbit(inven, HALBERD)) in fight() 188 if (testbit(inven, AMULET) || testbit(wear, AMULET)) { in fight() 190 if (testbit(inven, MEDALION) || in fight() 191 testbit(wear, MEDALION)) { in fight() 203 if (testbit(inven, AMULET)) { in fight() 237 if (testbit(inven, LASER)) { in fight() [all …]
|
| HD | command2.c | 77 if (testbit(inven, value)) { in wearit() 86 if (testbit(wear, value)) { in wearit() 132 if (wordvalue[wordnumber] == AMULET && testbit(inven, AMULET) && in use() 135 if (testbit(inven, MEDALION)) { in use() 159 else if (wordvalue[wordnumber] == COMPASS && testbit(inven, COMPASS)) in use() 178 n == HALBERD) && testbit(inven, n)) && n < NUMOFOBJECTS; in murder() 181 if (testbit(inven, LASER)) { in murder() 213 if (testbit(location[position].objects, BATHGOD)) { in murder() 221 if (testbit(location[position].objects, in murder() 239 if (testbit(location[position].objects, TIMER)) { in murder() [all …]
|
| HD | command1.c | 42 testbit(location[position].objects, LAND) || in moveplayer() 138 if ((testbit(inven, TALISMAN) || testbit(wear, TALISMAN)) && in news() 139 (testbit(inven, MEDALION) || testbit(wear, MEDALION)) && in news() 140 (testbit(inven, AMULET) || testbit(wear, AMULET))) { in news() 145 if (testbit(location[position].objects, ELF)) { in news() 149 if (testbit(location[position].objects, DARK)) { in news() 153 if (testbit(location[position].objects, WOODSMAN)) { in news() 173 if (testbit(location[position].objects, GIRL)) in news() 190 if (testbit(location[position].objects, CYLON)) { in news() 251 (testbit(location[position].objects, LAND) && fuel <= 0)) { in crash()
|
| HD | cypher.c | 116 if (testbit(location[position].objects, in cypher() 136 if (testbit(location[position].objects, in cypher() 187 if (testbit(inven, n)) { in cypher() 208 if (testbit(inven, n) || in cypher() 209 … (testbit(location[position].objects, n) && objsht[n])) { in cypher() 229 if (testbit(wear, n)) { in cypher() 247 if (testbit(wear, n)) { in cypher() 265 if (testbit(location[position].objects, in cypher() 284 if (testbit(inven, n)) { in cypher() 302 if (testbit(inven, n)) { in cypher() [all …]
|
| HD | command5.c | 42 && testbit(location[position].objects, BATHGOD)) { in kiss() 48 if (testbit(location[position].objects, in kiss() 99 if ((testbit(location[position].objects, BATHGOD) || in love() 100 testbit(location[position].objects, NORMGOD)) && in love() 151 if (testbit(location[position].objects, in love() 208 while (!testbit(inven, n)) in zzz() 332 if (person && testbit(location[position].objects, person)) { in give() 343 if (result != -1 && (testbit(location[position].objects, obj) || in give()
|
| HD | command6.c | 41 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch() 63 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) && in land() 177 if (testbit(location[position].objects, CAR)) { in drive() 195 if (testbit(location[position].objects, HORSE)) { in ride() 223 if (testbit(inven, MATCHES) && matchcount) { in light()
|
| HD | battlestar.c | 68 if (!notes[CANTSEE] || testbit(inven, LAMPON) || in main() 69 testbit(location[position].objects, LAMPON)) { in main()
|
| HD | misc.c | 54 if (testbit(array, n)) in ucard()
|
| HD | room.c | 67 if (testbit(p, n) && objdes[n]) in printobjs()
|
| HD | extern.h | 50 #define testbit(array, index) (array[index/BITS] & (1U << (index % BITS))) macro
|