summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-07-19 17:07:00 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-07-19 17:07:00 -0500
commitc2cc0c0d58b09d4e11003ca53e33b38723709bc1 (patch)
tree63cca09448468beaa000b055acb6d70c712c7ba3 /include/common.h
parent4457c47b7cb1e56577760df0e6ddfdc8bf28a7a8 (diff)
downloadkamek-c2cc0c0d58b09d4e11003ca53e33b38723709bc1.tar.gz
kamek-c2cc0c0d58b09d4e11003ca53e33b38723709bc1.zip
Bunch of fixes, Zorder stuff, and non-working sprespawner
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b8bce80..2e7dc80 100755..100644
--- a/include/common.h
+++ b/include/common.h
@@ -44,6 +44,9 @@ typedef struct { f32 x, y, z; } VEC3, Vec, *VecPtr, Point3d, *Point3dPtr;
typedef struct { s16 x; s16 y; s16 z; }S16Vec, *S16VecPtr;
typedef struct { f32 x, y, z, w; } Quaternion, *QuaternionPtr, Qtrn, *QtrnPtr;
+extern "C" const char * strrchr ( const char * str, int character );
+extern "C" int strcmp ( const char * str1, const char * str2 );
+
#include "rvl/mtx.h"
@@ -76,6 +79,7 @@ int sprintf(char *buffer, const char *format, ...);
int snprintf(char *buffer, int buff_size, const char *format, ...);
char *strcat(const char *destination, const char *source);
void *memset(void *ptr, int value, unsigned int num);
+int memcmp(const void *ptr1, const void *ptr2, unsigned int num);
void *AllocFromGameHeap1(u32 size);
void FreeFromGameHeap1(void *block);