rnd-20100315-2-src
[rocksndiamonds.git] / src / game_sp / ErrorReporting.c
index b795d57e2175e596762d100e44843f3ac6433483..05487a9d77f23dfa9cdf4bf7fbc1502a6180b24f 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "ErrorReporting.h"
 
+
+
 static char * GetErrLogPath();
 static char * GetTraceLogPath();
 
@@ -30,50 +32,3 @@ static char *GetTraceLogPath()
 
   return GetTraceLogPath;
 }
-
-void Trace(char *Source, char *Message)
-{
-  // Dim Path$, FNum%, bIsOpen As Boolean
-  //  Path = GetTraceLogPath()
-  //  FNum = FreeFile
-  //  bIsOpen = False
-  //  On Error GoTo TraceEH
-  //  Open Path For Append Access Write As FNum
-  //    bIsOpen = True
-  //    ' --- Print #FNum, Now & "  " & Source & " :  " & Message
-  //  On Error GoTo 0
-  // TraceEH:
-  //  If bIsOpen Then Close FNum
-}
-
-void ReportError(char *Source, char *Message)
-{
-  char *Path;
-  FILE *FNum;
-  boolean bIsOpen;
-
-  Path = GetErrLogPath();
-  // FNum = FreeFile();
-  bIsOpen = False;
-
-  // --- On Error GoTo ReportErrorEH
-  FNum = fopen(Path, "ab");
-  bIsOpen = True;
-  // --- Print #FNum, Now & "    SOURCE = " & Source & "    ErrMessage = " & Message
-  // --- On Error GoTo 0
-
-
-  // ReportErrorEH:
-  if (bIsOpen)
-    fclose(FNum);
-}
-
-void InitErrorReporting()
-{
-  char *Path;
-
-  Path = GetErrLogPath();
-  MayKill(Path);
-  Path = GetTraceLogPath();
-  MayKill(Path);
-}