]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
use trace_plane_normal to check whether the trace succeeded
[xonotic/darkplaces.git] / common.h
index e8a363f5db6a26a62ce4344f21e0e22bac6b5ee7..c48ed390b4d54b3e73c390af75f11823eb8b2e89 100644 (file)
--- a/common.h
+++ b/common.h
@@ -281,6 +281,7 @@ typedef enum gamemode_e
        GAME_CONTAGIONTHEORY,
        GAME_EDU2P,
        GAME_BLADEMASTER,
+       GAME_PROPHECY,
        GAME_COUNT
 }
 gamemode_t;
@@ -354,5 +355,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
 
 #endif  // #ifndef HAVE_STRLCPY
 
+void FindFraction(double val, int *num, int *denom, int denomMax);
+
 #endif