summaryrefslogtreecommitdiffstats
path: root/src/Defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Defines.h')
-rw-r--r--src/Defines.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/Defines.h b/src/Defines.h
index a9714c52f..dc2835517 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -12,6 +12,21 @@ typedef std::vector<int> cSlotNums;
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmissing-variable-declarations"
+#endif
+/** Constant to calculate ticks from seconds "ticks per second" */
+constexpr inline const int TPS = 20;
+// This is not added to the lua API because it broke the build
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
+
+
+
+
// tolua_begin
/** Experience Orb setup */
@@ -384,7 +399,6 @@ enum eMessageType
-
/** Returns a textual representation of the click action. */
const char * ClickActionToString(int a_ClickAction);