Big CMakeLists update.
[supertux.git] / config.h.cmake
index 869928f..15300a0 100644 (file)
@@ -1,26 +1,40 @@
-#define PACKAGE_NAME "supertux"
-#define PACKAGE_VERSION "0.3.2-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\r
+#define CONFIG_H\r
+\r
+#define PACKAGE_NAME "supertux"\r
+#define PACKAGE_VERSION "0.3.2-SVN${REVISION}"\r
+\r
+#cmakedefine DEBUG\r
+#cmakedefine ENABLE_SQDBG\r
+\r
+#cmakedefine ENABLE_BINRELOC\r
+#define APPDATADIR "${APPDATADIR}"\r
+\r
+#define SIZEOF_VOID_P ${SIZEOF_VOID_P}\r
+#if SIZEOF_VOID_P == 8\r
+#define _SQ64\r
+#endif\r
+\r
+#cmakedefine HAVE_ICONV_CONST\r
+#ifdef HAVE_ICONV_CONST\r
+#define ICONV_CONST const\r
+#else\r
+#define ICONV_CONST\r
+#endif\r
+\r
+#cmakedefine WORDS_BIGENDIAN\r
+\r
+#cmakedefine HAVE_OPENGL\r
+\r
+#cmakedefine HAVE_LIBCURL\r
+\r
+//Useful constants\r
+static const float DELTA = .0001f;\r
+\r
+// the engine will be run with a logical framerate of 64fps.\r
+// We chose 64fps here because it is a power of 2, so 1/64 gives an "even"\r
+// binary fraction...\r
+static const float LOGICAL_FPS = 64.0;\r
+\r
+\r
+#endif /*CONFIG_H*/\r