integrated searchpath system

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@149 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 15:22:28 +00:00
parent 60bce8a456
commit 742176416b
18 changed files with 68 additions and 42 deletions

View File

@@ -10,6 +10,7 @@
#include <string.h>
#include "CLogFile.h"
#include <fstream>
#include "FindFile.h"
CLogFile::CLogFile() {}
@@ -22,7 +23,7 @@ CLogFile::~CLogFile() {
void CLogFile::CreateLogfile(const char *LogName)
{
// Open and empty the log file
m_Logfile = fopen(LogName, "wt");
m_Logfile = OpenGameFile(LogName, "wt");
// Write the head
textOut("<html><head><title>LogFile</title></head>");
@@ -50,7 +51,7 @@ void CLogFile::CreateLogfile(const char *LogName)
textOut("Send E-Mail to me</a><br><br>");
fclose(m_Logfile);
m_Logfile = fopen(LogName, "at");
m_Logfile = OpenGameFile(LogName, "at");
}
// Function for writing the topic