Use fixed size for builtin menus on non-android platforms
[oweals/minetest.git] / src / gettime.h
index 611906559b5059caf127553cd0f2954d8ea28fe0..2a6a211b88b3176850a719a486f7d3f3fb1fdb17 100644 (file)
@@ -31,7 +31,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
                Normal build: main.cpp
                Server build: servermain.cpp
 */
+enum TimePrecision {
+       PRECISION_SECONDS = 0,
+       PRECISION_MILLI,
+       PRECISION_MICRO,
+       PRECISION_NANO
+};
+
 extern u32 getTimeMs();
+extern u32 getTime(TimePrecision prec);
 
 /*
        Timestamp stuff