diff --git a/arogue5/arogue5.vcxproj b/arogue5/arogue5.vcxproj
index b4eb4df..6825643 100644
--- a/arogue5/arogue5.vcxproj
+++ b/arogue5/arogue5.vcxproj
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";LOGFILE="arogue5.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";LOGFILE="arogue5.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -181,4 +181,4 @@
-
+
\ No newline at end of file
diff --git a/arogue7/arogue7.vcxproj b/arogue7/arogue7.vcxproj
index bc796da..e533fdf 100644
--- a/arogue7/arogue7.vcxproj
+++ b/arogue7/arogue7.vcxproj
@@ -88,7 +88,7 @@
Level3
Disabled
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";LOGFILE="arogue7.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
@@ -122,7 +122,7 @@
true
true
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";LOGFILE="arogue7.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
diff --git a/rogue3/rogue3.vcxproj b/rogue3/rogue3.vcxproj
index 3cf7635..a0c1766 100644
--- a/rogue3/rogue3.vcxproj
+++ b/rogue3/rogue3.vcxproj
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";LOGFILE="rogue3.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";LOGFILE="rogue3.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -174,4 +174,4 @@
-
+
\ No newline at end of file
diff --git a/rogue4/rip.c b/rogue4/rip.c
index 9e70dde..b464609 100644
--- a/rogue4/rip.c
+++ b/rogue4/rip.c
@@ -246,7 +246,7 @@ void writelog(int amount, int flags, char monst)
return;
#ifdef LOGFILE
if (lfd >= 0)
- logfi = fdopen(lfd, "a");
+ logfi = md_fdopen(lfd, "a");
else
return;
if (logfi == NULL)
diff --git a/rogue4/rogue4.vcxproj b/rogue4/rogue4.vcxproj
index d20f6e4..e53778c 100644
--- a/rogue4/rogue4.vcxproj
+++ b/rogue4/rogue4.vcxproj
@@ -90,7 +90,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";LOGFILE="rogue4.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -124,7 +124,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";LOGFILE="rogue4.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -176,4 +176,4 @@
-
+
\ No newline at end of file
diff --git a/rogue5/rogue5.vcxproj b/rogue5/rogue5.vcxproj
index 0617b96..53a2374 100644
--- a/rogue5/rogue5.vcxproj
+++ b/rogue5/rogue5.vcxproj
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";LOGFILE="rogue5.log";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";LOGFILE="rogue5.log";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
true
@@ -176,4 +176,4 @@
-
+
\ No newline at end of file
diff --git a/srogue/srogue.vcxproj b/srogue/srogue.vcxproj
index 8dc3739..fd1a3e2 100644
--- a/srogue/srogue.vcxproj
+++ b/srogue/srogue.vcxproj
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";LOGFILE="srogue.log";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";LOGFILE="srogue.log";%(PreprocessorDefinitions)
true
@@ -180,4 +180,4 @@
-
+
\ No newline at end of file
diff --git a/xrogue/xrogue.vcxproj b/xrogue/xrogue.vcxproj
index 1ef8238..67bb7e3 100644
--- a/xrogue/xrogue.vcxproj
+++ b/xrogue/xrogue.vcxproj
@@ -88,7 +88,7 @@
Level3
Disabled
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";LOGFILE="xrogue.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
@@ -122,7 +122,7 @@
true
true
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";LOGFILE="xrogue.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses