/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back! *
+* Artsoft Retro-Game Library *
*----------------------------------------------------------*
-* (c) 1995-98 Artsoft Entertainment *
-* Holger Schemel *
-* Oststrasse 11a *
-* 33604 Bielefeld *
-* phone: ++49 +521 290471 *
-* email: aeglos@valinor.owl.de *
+* (c) 1994-2000 Artsoft Entertainment *
+* Holger Schemel *
+* Detmolder Strasse 189 *
+* 33604 Bielefeld *
+* Germany *
+* e-mail: info@artsoft.org *
*----------------------------------------------------------*
-* misc.h *
+* misc.h *
***********************************************************/
#ifndef MISC_H
#include <stdlib.h>
#include <stdio.h>
-#include "libgame.h"
+#include "system.h"
+
/* values for InitCounter() and Counter() */
#define INIT_COUNTER 0
char *getPath3(char *, char *, char*);
char *getStringCopy(char *);
char *getStringToLower(char *);
-void MarkTileDirty(int, int);
-void SetBorderElement();
void GetOptions(char **);
void Error(int, char *, ...);
void *checked_malloc(unsigned long);
inline void swap_numbers(int *, int *);
inline void swap_number_pairs(int *, int *, int *, int *);
+char *getUserDataDir(void);
+void createDirectory(char *, char *);
+void InitUserDataDirectory(void);
+
+#if !defined(PLATFORM_UNIX)
+void initErrorFile();
+FILE *openErrorFile();
+void dumpErrorFile();
+#endif
+
void debug_print_timestamp(int, char *);
#endif /* MISC_H */