summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index 0871eb1..e0c2eea 100755
--- a/include/game.h
+++ b/include/game.h
@@ -18,6 +18,8 @@ inline T max(T one, T two) { return (one > two) ? one : two; }
template <typename T>
inline T clamp(T value, T one, T two) { return (value < one) ? one : ((value > two) ? two : value); }
+#define M_PI 3.14159265358979323846
+#define M_PI_2 (M_PI / 2)
extern "C" {
int strlen(const char *str);
@@ -28,6 +30,8 @@ float atan2(float y, float x);
float cos(float x);
float sin(float x);
+float ceil(float x);
+float floor(float x);
}
bool DVD_Start();
@@ -2457,5 +2461,8 @@ extern int currentScreenSizeID;
extern float GlobalScreenWidth, GlobalScreenHeight;
+extern u32 GlobalTickCount;
+
+
#endif