Use symbolic shortnames for locations.
This commit is contained in:
parent
f1f7cfd4e9
commit
1896e0f886
4 changed files with 218 additions and 218 deletions
14
init.c
14
init.c
|
@ -323,17 +323,17 @@ void initialise(void)
|
|||
* chest's eventual location inside the maze. This loc is saved
|
||||
* in game.chloc for ref. the dead end in the other maze has its
|
||||
* loc stored in game.chloc2. */
|
||||
game.chloc = LOC_114;
|
||||
game.chloc2 = LOC_140;
|
||||
game.chloc = LOC_DEADEND12;
|
||||
game.chloc2 = LOC_DEADEND13;
|
||||
for (int i=1; i<=NDWARVES; i++) {
|
||||
game.dseen[i]=false;
|
||||
}
|
||||
game.dflag=0;
|
||||
game.dloc[1] = LOC_19;
|
||||
game.dloc[2] = LOC_27;
|
||||
game.dloc[3] = LOC_33;
|
||||
game.dloc[4] = LOC_44;
|
||||
game.dloc[5] = LOC_64;
|
||||
game.dloc[1] = LOC_KINGHALL;
|
||||
game.dloc[2] = LOC_WESTBANK;
|
||||
game.dloc[3] = LOC_Y2;
|
||||
game.dloc[4] = LOC_ALIKE3;
|
||||
game.dloc[5] = LOC_COMPLEX;
|
||||
game.dloc[6]=game.chloc;
|
||||
|
||||
/* Other random flags and counters, as follows:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue