Home
last modified time | relevance | path

Searched refs:inven (Results 1 – 13 of 13) sorted by relevance

/dragonfly/games/battlestar/
HDcommand7.c65 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()
203 if (testbit(inven, AMULET)) { in fight()
204 clearbit(inven, AMULET); in fight()
237 if (testbit(inven, LASER)) { in fight()
[all …]
HDcommand3.c38 if (testbit(inven, SHOVEL)) { in dig()
90 if (testbit(inven, n)) { in jump()
91 clearbit(inven, n); in jump()
104 if (testbit(inven, SHOVEL)) { in bury()
115 if (testbit(inven, MAID) || in bury()
118 if (testbit(inven, DEADWOOD) || in bury()
122 if (testbit(inven, DEADGOD) || in bury()
126 if (testbit(inven, DEADTIME) || in bury()
130 if (testbit(inven, DEADNATIVE) || in bury()
155 (testbit(inven, value) || in bury()
[all …]
HDcommand4.c55 heavy && bulky && !testbit(inven, value)) { in take()
56 setbit(inven, value); in take()
67 } else if (testbit(inven, value)) in take()
171 (testbit(wear, AMULET) || testbit(inven, AMULET))) { in take()
305 if (testbit(inven, MAID) || in drop()
308 else if (testbit(inven, DEADWOOD) || in drop()
311 else if (testbit(inven, DEADGOD) || in drop()
314 else if (testbit(inven, DEADTIME) || in drop()
317 else if (testbit(inven, DEADNATIVE) || in drop()
333 if (testbit(inven, value)) { in drop()
[all …]
HDcypher.c187 if (testbit(inven, n)) { in cypher()
208 if (testbit(inven, n) || in cypher()
284 if (testbit(inven, n)) { in cypher()
302 if (testbit(inven, n)) { in cypher()
319 if (ucard(inven)) { in cypher()
322 if (testbit(inven, n)) in cypher()
376 if (testbit(inven, n)) { in cypher()
389 if (!notes[CANTSEE] || testbit(inven, LAMPON) || in cypher()
HDcommand2.c77 if (testbit(inven, value)) { in wearit()
78 clearbit(inven, 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()
HDsave.c56 fread(inven, sizeof inven, 1, fp); in restore()
110 fwrite(inven, sizeof inven, 1, fp); in save()
HDcommand1.c138 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()
HDcommand5.c206 if (ucard(inven)) { in zzz()
208 while (!testbit(inven, n)) in zzz()
210 clearbit(inven, n); in zzz()
HDbattlestar.c68 if (!notes[CANTSEE] || testbit(inven, LAMPON) || in main()
HDglobals.c262 unsigned int inven[NUMOFWORDS]; variable
HDcommand6.c223 if (testbit(inven, MATCHES) && matchcount) { in light()
HDextern.h308 extern unsigned int inven[NUMOFWORDS];
/dragonfly/games/adventure/
HDglorkz1114 2020 inven