diff urogue/main.c @ 273:51ddbe7b992d

UltraRogue: begin autoconfiscation. Build options can now be set with configure.
author John "Elwin" Edwards
date Mon, 04 Sep 2017 21:08:09 -0400
parents 1db299e868b8
children
line wrap: on
line diff
--- a/urogue/main.c	Sun Sep 03 19:58:22 2017 -0400
+++ b/urogue/main.c	Mon Sep 04 21:08:09 2017 -0400
@@ -26,9 +26,9 @@
 #include <errno.h>
 #include "rogue.h"
 
-#define SAVEDIR "."
-#define SCOREFILE "/var/local/games/roguelike/urogue.scr"
-#define LOGFILE "/var/local/games/roguelike/urogue.log"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 FILE *fd_score = NULL;
 FILE *file_log = NULL;