Cut initialize in favor of implicit/default initialization where possible
This commit is contained in:
parent
562569f33c
commit
7f2c118e56
3 changed files with 28 additions and 40 deletions
15
cheat.c
15
cheat.c
|
@ -7,7 +7,20 @@
|
|||
#include "linenoise/linenoise.h"
|
||||
#include "dungeon.h"
|
||||
|
||||
struct game_t game;
|
||||
struct game_t game = {
|
||||
.chloc = LOC_DEADEND12,
|
||||
.chloc2 = LOC_DEADEND13,
|
||||
.dloc[1] = LOC_KINGHALL,
|
||||
.dloc[2] = LOC_WESTBANK,
|
||||
.dloc[3] = LOC_Y2,
|
||||
.dloc[4] = LOC_ALIKE3,
|
||||
.dloc[5] = LOC_COMPLEX,
|
||||
.dloc[6] = LOC_DEADEND12,
|
||||
.abbnum = 5,
|
||||
.clock1 = WARNTIME,
|
||||
.clock2 = FLASHTIME,
|
||||
.blklin = true
|
||||
};
|
||||
|
||||
FILE *logfp = NULL, *rfp = NULL;
|
||||
bool oldstyle = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue