X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=config.h.cmake;h=15300a04f4c1e592f7eeaa2f4584e0bc8dc89514;hb=d280c800be43b01c92ce31dca9d0a290220e63dd;hp=3838a396eafd71d8f01021ca354624aff9eb4f7f;hpb=44e69c96435ae9e30bd7be23e272dc7b217b78a9;p=supertux.git diff --git a/config.h.cmake b/config.h.cmake index 3838a396e..15300a04f 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,23 +1,40 @@ -#define PACKAGE_NAME "supertux" -#define PACKAGE_VERSION "0.3.0" - -#cmakedefine DEBUG -#cmakedefine ENABLE_SQDBG - -#cmakedefine ENABLE_BINRELOC -#ifdef ENABLE_BINRELOC -#define APPDATADIR ${APPDATADIR} -#endif - -#define SIZEOF_VOID_P ${SIZEOF_VOID_P} -#if SIZEOF_VOID_P == 8 -#define _SQ64 -#endif - -#cmakedefine HAVE_ICONV_CONST -#ifdef HAVE_ICONV_CONST -#define ICONV_CONST const -#else -#define ICONV_CONST -#endif - +#ifndef CONFIG_H +#define CONFIG_H + +#define PACKAGE_NAME "supertux" +#define PACKAGE_VERSION "0.3.2-SVN${REVISION}" + +#cmakedefine DEBUG +#cmakedefine ENABLE_SQDBG + +#cmakedefine ENABLE_BINRELOC +#define APPDATADIR "${APPDATADIR}" + +#define SIZEOF_VOID_P ${SIZEOF_VOID_P} +#if SIZEOF_VOID_P == 8 +#define _SQ64 +#endif + +#cmakedefine HAVE_ICONV_CONST +#ifdef HAVE_ICONV_CONST +#define ICONV_CONST const +#else +#define ICONV_CONST +#endif + +#cmakedefine WORDS_BIGENDIAN + +#cmakedefine HAVE_OPENGL + +#cmakedefine HAVE_LIBCURL + +//Useful constants +static const float DELTA = .0001f; + +// the engine will be run with a logical framerate of 64fps. +// We chose 64fps here because it is a power of 2, so 1/64 gives an "even" +// binary fraction... +static const float LOGICAL_FPS = 64.0; + + +#endif /*CONFIG_H*/