Lines Matching refs:position
46 if (TestBit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch()
48 ClearBit(location[position].objects, VIPER); in launch()
49 position = location[position].up; in launch()
66 if (notes[LAUNCHED] && TestBit(location[position].objects, LAND) && in land()
67 location[position].down) { in land()
69 position = location[position].down; in land()
70 SetBit(location[position].objects, VIPER); in land()
183 if (TestBit(location[position].objects, CAR)) { in drive()
186 ClearBit(location[position].objects, CAR); in drive()
187 SetBit(location[position].objects, CRASH); in drive()
200 if (TestBit(location[position].objects, HORSE)) { in ride()
203 ClearBit(location[position].objects, HORSE); in ride()
204 while (!(position = rnd(NUMOFROOMS + 1)) || !OUTSIDE || in ride()
205 !beenthere[position] || location[position].flyhere) in ride()
207 SetBit(location[position].objects, HORSE); in ride()
208 if (location[position].north) in ride()
209 position = location[position].north; in ride()
210 else if (location[position].south) in ride()
211 position = location[position].south; in ride()
212 else if (location[position].east) in ride()
213 position = location[position].east; in ride()
215 position = location[position].west; in ride()
230 if (position == 217) { in light()
244 switch(position) { in dooropen()