summaryrefslogtreecommitdiffstats
path: root/src/profile.h
diff options
context:
space:
mode:
authoradiblol <adiblol@1tbps.org>2012-03-08 19:32:05 +0100
committeradiblol <adiblol@1tbps.org>2012-03-08 19:32:05 +0100
commita4c804b49ec872b71bd5a0167c3ad45704a3cc30 (patch)
tree8c931235247d662ca46a99695beb328fdfc8e8a8 /src/profile.h
downloadcolobot-a4c804b49ec872b71bd5a0167c3ad45704a3cc30.tar.gz
colobot-a4c804b49ec872b71bd5a0167c3ad45704a3cc30.tar.bz2
colobot-a4c804b49ec872b71bd5a0167c3ad45704a3cc30.zip
Initial commit, Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/profile.h b/src/profile.h
new file mode 100644
index 0000000..e328ce1
--- /dev/null
+++ b/src/profile.h
@@ -0,0 +1,20 @@
+// profile.h
+
+#ifndef _PROFILE_H_
+#define _PROFILE_H_
+
+
+#define STRICT
+#define D3D_OVERLOADS
+
+
+extern BOOL InitCurrentDirectory();
+extern BOOL SetProfileString(char* section, char* key, char* string);
+extern BOOL GetProfileString(char* section, char* key, char* buffer, int max);
+extern BOOL SetProfileInt(char* section, char* key, int value);
+extern BOOL GetProfileInt(char* section, char* key, int &value);
+extern BOOL SetProfileFloat(char* section, char* key, float value);
+extern BOOL GetProfileFloat(char* section, char* key, float &value);
+
+
+#endif //_PROFILE_H_