From 2ee282396f8cf740db8b3d513f2826503ed2cb00 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 8 Apr 2006 22:53:26 +0000 Subject: Add a simple header and version number to the default.dfg config file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9570 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/rockmacros.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/doom/rockmacros.h') diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h index 8f028d4893..047fa24bf9 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 -- cgit v1.2.3