summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/rockmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/rockmacros.h')
-rw-r--r--apps/plugins/doom/rockmacros.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h
index 8f028d4..047fa24 100644
--- a/apps/plugins/doom/rockmacros.h
+++ b/apps/plugins/doom/rockmacros.h
@@ -91,4 +91,13 @@ inline void* memcpy(void* dst, const void* src, size_t size);
#define NO_PREDEFINED_LUMPS
#define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer
//#define FANCY_MENU // This is a call to allow load_main_backdrop to run in doom
+
+#define MAKE_FOURCC(a,b,c,d) (uint32_t)((((a)<<24)|((b)<<16)|((c)<<8)|(d)))
+
+/* Config file magic - increment the version number whenever the settings
+ structure changes.
+ */
+#define DOOM_CONFIG_MAGIC MAKE_FOURCC('D','O','O','M')
+#define DOOM_CONFIG_VERSION 1
+
#endif