X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=7c6ba5f50fdcca67db74b8f7c9aeda43cb701696;hb=da27ae1932d1311887ad3a677b10b87610e31854;hp=1416e4110bab64ab3fd9d077eeb3b6065f7625d8;hpb=d43854f0f6bb8e9eea7fbce80348150e7e7fc34d;p=open-adventure.git diff --git a/main.c b/main.c index 1416e41..7c6ba5f 100644 --- a/main.c +++ b/main.c @@ -22,9 +22,8 @@ #include #include #include "advent.h" -#include "database.h" #include "linenoise/linenoise.h" -#include "newdb.h" +#include "dungeon.h" #define DIM(a) (sizeof(a)/sizeof(a[0])) @@ -54,7 +53,7 @@ static void sig_handler(int signo) * MAIN PROGRAM * * Adventure (rev 2: 20 treasures) - * +Here's what we think. * * History: Original idea & 5-treasure version (adventures) by Willie Crowther * 15-treasure version (adventure) by Don Woods, April-June 1977 * 20-treasure version (rev 2) by Don Woods, August 1978 @@ -473,8 +472,8 @@ static bool dwarfmove(void) * another chance, he gets a snide remark as we exit. When * reincarnated, all objects being carried get dropped at game.oldlc2 * (presumably the last place prior to being killed) without change - * of props. the loop runs backwards to assure that the bird is - * dropped before the cage. (this kluge could be changed once we're + * of props. The loop runs backwards to assure that the bird is + * dropped before the cage. (This kluge could be changed once we're * sure all references to bird and cage are done by keywords.) The * lamp is a special case (it wouldn't do to leave it in the cave). * It is turned off and left outside the building (only if he was