memleak fixed + hashtable additions

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4156 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-02-14 15:12:52 +00:00
parent 42de5ba8ab
commit f0fa6713b0
3 changed files with 29 additions and 9 deletions
+9
View File
@@ -457,6 +457,15 @@ bool isbigendian()
return !(*((char *)(&one)));
}
void strtoupper(char *s)
{
while(*s)
{
*s = toupper(*s);
s++;
}
}
//////////////// geometry utils ////////////////
static inline float det2x2(float a, float b, float c, float d) { return a*d - b*c; }