X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=config.h.cmake;h=ac3a178e2db9e105a8bc0c6f2017c68199a46fc2;hb=b49cbc5f242edb7023153f8bae9ceb444a2460da;hp=15300a04f4c1e592f7eeaa2f4584e0bc8dc89514;hpb=89c801d4e00a0be36f6ad693a055505968ef9514;p=supertux.git diff --git a/config.h.cmake b/config.h.cmake index 15300a04f..ac3a178e2 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,40 +1,30 @@ -#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*/ +#ifndef CONFIG_H +#define CONFIG_H + +#define PACKAGE_NAME "supertux2" + +#cmakedefine ENABLE_SQDBG + +#cmakedefine ENABLE_BINRELOC +#define INSTALL_SUBDIR_BIN "${INSTALL_SUBDIR_BIN}" +#define INSTALL_SUBDIR_SHARE "${INSTALL_SUBDIR_SHARE}" + +#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 + +#endif /*CONFIG_H*/