about summary refs log tree commit diff
path: root/src/engine/config.h
diff options
context:
space:
mode:
authorJakob Fries <jakob.fries@gmail.com>2007-06-01 12:24:13 +0000
committerJakob Fries <jakob.fries@gmail.com>2007-06-01 12:24:13 +0000
commitf18df70e53edd1c58406e41ee25cbfc0bd8012e0 (patch)
tree79b4518afbf3cf8a7949131ec2e7baa8a0218201 /src/engine/config.h
parent03201a3a6f5cd639c6ddea9ad75649ce68d1a652 (diff)
downloadzcatch-f18df70e53edd1c58406e41ee25cbfc0bd8012e0.tar.gz
zcatch-f18df70e53edd1c58406e41ee25cbfc0bd8012e0.zip
Diffstat (limited to 'src/engine/config.h')
-rw-r--r--src/engine/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/config.h b/src/engine/config.h
index 7cfe2ea5..116ad9b4 100644
--- a/src/engine/config.h
+++ b/src/engine/config.h
@@ -16,6 +16,12 @@ void config_reset();
 void config_load(const char *filename);
 void config_save(const char *filename);
 
+#define MACRO_CONFIG_INT(name,def,min,max) int config_get_ ## name (configuration *c);
+#define MACRO_CONFIG_STR(name,len,def) const char *config_get_ ## name (configuration *c);
+#include "config_variables.h"
+#undef MACRO_CONFIG_INT
+#undef MACRO_CONFIG_STR
+
 #define MACRO_CONFIG_INT(name,def,min,max) void config_set_ ## name (configuration *c, int val);
 #define MACRO_CONFIG_STR(name,len,def) void config_set_ ## name (configuration *c, const char *str);
 #include "config_variables.h"