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

Go to the source code of this file.
Functions | |
| _PROTOTYPE (static void goback,(void)) | |
| _PROTOTYPE (static void spcmove,(int rdest)) | |
| void | domove () |
| static void | goback () |
| static void | ck_kal () |
| static void | dotrav () |
| static void | badmove () |
| static void | spcmove (int rdest) |
| void | gettrav (int loc, struct trav *travel) |
Variables | |
| trav | travel [MAXTRAV] |
| static int | kalflg |
| static int | bcrossing = 0 |
| static int | phuce [2][4] |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 87 of file travel.c. References g, kalflg, playinfo::newloc, and playinfo::oldloc. Referenced by goback(). |
|
|
Definition at line 23 of file travel.c. References BACK, CAVE, dotrav(), g, gettrav(), goback(), playinfo::loc, motion, newtravel, NULLX, playinfo::oldloc, playinfo::oldloc2, outside(), rspeak(), travel, and TRUE. Referenced by turn(). |
|
|
Definition at line 103 of file travel.c. References at(), bug(), g, kk, playinfo::loc, motion, playinfo::newloc, playinfo::prop, ranz(), trav::tcond, trav::tdest, toting(), travel, and trav::tverb. |
|
||||||||||||
|
Definition at line 313 of file travel.c. References cave, i, MAXTRAV, t, trav::tdest, and travel. Referenced by domove(). |
|
|
Definition at line 51 of file travel.c. References ck_kal(), dotrav(), forced(), g, kk, playinfo::loc, MAXTRAV, motion, playinfo::oldloc, playinfo::oldloc2, rspeak(), trav::tcond, trav::tdest, travel, and trav::tverb. Referenced by domove(). |
|
|
Definition at line 189 of file travel.c. References BEAR, BOAT, BOOTH, burden(), CHASM, death(), drop(), EMERALD, enclosed(), extract(), fixd, playinfo::fixed, g, GNOME, holding(), juggle(), k, load(), playinfo::loc, MAXOBJ, move, playinfo::newloc, playinfo::oldloc2, pct(), phuce, plac, playinfo::place, playinfo::prop, pspeak(), rspeak(), SPICES, playinfo::tally2, toting(), TROLL, TROLL2, and playinfo::visited. |
|
|
|
|
|
Definition at line 12 of file travel.c. Referenced by ck_kal(). |
|
|
Initial value: {158, 160, 167, 166,
160, 158, 166, 167}
Definition at line 14 of file travel.c. Referenced by spcmove(). |
|
|
|
1.4.6