Structurize the informaruin about dwarves.

This commit is contained in:
Eric S. Raymond 2023-04-07 09:15:20 -04:00
parent 195e6e149b
commit ff9c73a37d
6 changed files with 44 additions and 42 deletions

12
init.c
View file

@ -21,17 +21,17 @@ struct settings_t settings = {
};
struct game_t game = {
.dloc[1] = LOC_KINGHALL,
.dloc[2] = LOC_WESTBANK,
.dloc[3] = LOC_Y2,
.dloc[4] = LOC_ALIKE3,
.dloc[5] = LOC_COMPLEX,
.dwarves[1].loc = LOC_KINGHALL,
.dwarves[2].loc = LOC_WESTBANK,
.dwarves[3].loc = LOC_Y2,
.dwarves[4].loc = LOC_ALIKE3,
.dwarves[5].loc = LOC_COMPLEX,
/* Sixth dwarf is special (the pirate). He always starts at his
* chest's eventual location inside the maze. This loc is saved
* in chloc for ref. The dead end in the other maze has its
* loc stored in chloc2. */
.dloc[6] = LOC_MAZEEND12,
.dwarves[6].loc = LOC_MAZEEND12,
.chloc = LOC_MAZEEND12,
.chloc2 = LOC_DEADEND13,
.abbnum = 5,