]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/counting.qh
Merge branches 'TimePath/oo', 'TimePath/buffsys', 'TimePath/gametypesys'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / counting.qh
index 0aeabc85e7b092e9800199fd2672c9b475a0a088..f464cdc32c5b8dce7efa1c7de08ce2ad78deaf79 100644 (file)
@@ -1,3 +1,8 @@
+#ifndef COUNTING_H
+#define COUNTING_H
+
+#include "util.qh"
+
 // ===============================================
 //  Time processing and counting functions/macros
 // ===============================================
@@ -51,7 +56,7 @@
                ZCTX(_("CI_THI^%d seconds")), /* third */ \
                ZCTX(_("CI_MUL^%d seconds"))) /* multi */
 
-string count_ordinal(float interval)
+string count_ordinal(int interval)
 {
        // This function is designed primarily for the English language, it's impossible
        // to accomodate all languages unless we do a specific function for each one...
@@ -215,3 +220,4 @@ string process_time(float outputtype, float seconds)
        }
        return "";
 }
+#endif