X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=config.h.cmake;h=15300a04f4c1e592f7eeaa2f4584e0bc8dc89514;hb=e126dd8c3da286ab759dc36f3f59f3955e16ed09;hp=ae8c590798ce9d190bf108fe94ad9c8b9e82f55b;hpb=6c78ac1faf00fe9c89b8a0aaa19eb019626e7b4c;p=supertux.git diff --git a/config.h.cmake b/config.h.cmake index ae8c59079..15300a04f 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,26 +1,40 @@ -#define PACKAGE_NAME "supertux" -#define PACKAGE_VERSION "0.3.1-SVN" - -#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 +#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*/