projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Transition to YAML is done, adventure.text and travel.py can go away.
[open-adventure.git]
/
cheat.c
diff --git
a/cheat.c
b/cheat.c
index fecfdc260e9e7054bf0194a410a97bf2f7a6caf4..d9da4057f8b0a41eb2ab49e6cfeddb64add7ebfb 100644
(file)
--- a/
cheat.c
+++ b/
cheat.c
@@
-5,9
+5,8
@@
#include <stdbool.h>
#include <time.h>
#include "advent.h"
#include <stdbool.h>
#include <time.h>
#include "advent.h"
-#include "database.h"
#include "linenoise/linenoise.h"
#include "linenoise/linenoise.h"
-#include "
newdb
.h"
+#include "
dungeon
.h"
struct game_t game;
struct game_t game;
@@
-81,7
+80,7
@@
int main(int argc, char *argv[])
/* Initialize game variables */
initialise();
/* Initialize game variables */
initialise();
-
game.zzword = rndvoc(3, 0
);
+
make_zzword(game.zzword
);
game.newloc = LOC_START;
game.loc = LOC_START;
game.limit = GAMELIMIT;
game.newloc = LOC_START;
game.loc = LOC_START;
game.limit = GAMELIMIT;