#include <stdio.h>#include <stdlib.h>#include "advent.h"#include "advdec.h"Include dependency graph for turn.c:

Go to the source code of this file.
Defines | |
| #define | MASE 1 |
| #define | DARK 2 |
| #define | WITT 3 |
| #define | H_SWORD 4 |
| #define | SLIDE 5 |
| #define | H_GRATE 6 |
| #define | H_BIRD 7 |
| #define | H_ELFIN 8 |
| #define | RNBOW 9 |
| #define | STYX 10 |
| #define | H_SNAKE 11 |
| #define | CASTLE 12 |
Functions | |
| _PROTOTYPE (void descitem,(void)) | |
| _PROTOTYPE (void copytrv,(struct trav *, struct trav *)) | |
| _PROTOTYPE (void spcmove,(int)) | |
| _PROTOTYPE (int stimer,(void)) | |
| void | turn () |
| void | describe () |
| void | descitem () |
| void | dwarfend () |
| void | normend () |
| void | death () |
| void | dwarves () |
| void | dopirate () |
| int | stimer () |
| void | do_hint (int hint) |
|
|
Definition at line 657 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 647 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 652 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 653 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 651 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 656 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 649 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 646 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 654 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 650 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 655 of file turn.c. Referenced by do_hint(). |
|
|
Definition at line 648 of file turn.c. Referenced by do_hint(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 286 of file turn.c. References bitoff(), playinfo::chase, playinfo::closing, drop(), FALSE, g, if(), j, LAMP, playinfo::limit, MAXDIE, move, normend(), playinfo::numdie, playinfo::oldloc2, playinfo::prop, rspeak(), toting(), WEARBT, wearng(), WUMPUS, and yes(). |
|
|
Definition at line 226 of file turn.c. References at(), CASK, CHAIN, CLOAK, playinfo::closed, g, i, if(), NUGGET, playinfo::prop, RING, RUG, STEPS, SWORD, playinfo::tally, and toting(). |
|
|
Definition at line 206 of file turn.c. References playinfo::abbnum, BEAR, playinfo::closing, dark(), desclg(), descsh(), g, playinfo::loc, LOOK, pct(), rspeak(), playinfo::terse, toting(), verb, and playinfo::visited. |
|
|
Definition at line 659 of file turn.c. References at(), athand(), BIRD, bug(), burden(), CASTLE, CROWN, DARK, DOG, g, GRATE, H_BIRD, H_ELFIN, H_GRATE, H_SNAKE, H_SWORD, here(), playinfo::hinted, playinfo::hintlc, playinfo::hints, HNTMIN, KEYS, playinfo::limit, playinfo::loc, LYRE, MASE, playinfo::oldloc, printf, playinfo::prop, PYRAMID, RNBOW, ROD, SHOES, SLIDE, SNAKE, STYX, SWORD, toting(), playinfo::visited, WITT, and yes(). |
|
|
Definition at line 440 of file turn.c. References athand(), CASK, CHEST, playinfo::chloc, EMERALD, FALSE, g, here(), if(), j, k, liq(), playinfo::newloc, playinfo::place, playinfo::prop, PYRAMID, toting(), treasr(), TRUE, and WINE. |
|
|
Definition at line 265 of file turn.c. References normend(), and rspeak(). Referenced by vbreak(), vdrop(), vhit(), vkill(), and vwake(). |
|
|
Definition at line 329 of file turn.c. References AXE, playinfo::daltloc, playinfo::dflag, playinfo::dloc, drop(), DWARFMAX, forced(), g, i, inside(), j, k, playinfo::loc_attrib, playinfo::newloc, NOPIRAT, playinfo::odloc, pct(), ranz(), and rspeak(). Referenced by turn(). |
|
|
Definition at line 275 of file turn.c. References FALSE, gaveup, score(), and TRUE. Referenced by death(), dwarfend(), itverb(), ivblast(), ivquit(), stimer(), vanswer(), and vdial(). |
|
|
Definition at line 503 of file turn.c. References playinfo::abbnum, AXE, BEAR, bitoff(), biton(), BOOTH, CHAIN, CHASM, playinfo::clock, playinfo::closed, playinfo::closing, playinfo::combo, destroy(), playinfo::dloc, playinfo::dseen, DWARFMAX, FALSE, FISSURE, fixd, playinfo::fixed, playinfo::foobar, g, GRATE, i, inside(), juggle(), playinfo::loc, LOCKBT, move, normend(), OPENBT, PHONE, plac, playinfo::prop, rspeak(), playinfo::tally, TDOOR, TDOOR2, playinfo::terse, TROLL, TROLL2, TRUE, playinfo::turns, and Y2. |
|
|
Definition at line 26 of file turn.c. References ajar(), blind(), BOOTH, playinfo::chase, playinfo::clock2, playinfo::closing, dark(), death(), descitem(), desclg(), describe(), domove(), playinfo::dseen, DWARFMAX, dwarves(), forced(), g, GNOME, playinfo::health, here(), i, LAMP, playinfo::loc, playinfo::loc_attrib, move, playinfo::newloc, newtravel, NOPIRAT, playinfo::odloc, playinfo::oldloc, playinfo::oldloc2, outside(), playinfo::panic, pct(), playinfo::place, playinfo::prop, pspeak(), RADIUM, rspeak(), SHIELD, TRUE, playinfo::visited, WUMPUS, and playinfo::wzdark. Referenced by main(). |
1.4.6