demo record backport

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1358 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-10-14 16:39:15 +00:00
parent 6f4868ab9f
commit 6d2c639379
11 changed files with 474 additions and 77 deletions
-2
View File
@@ -140,14 +140,12 @@ FILE *openfile(const char *filename, const char *mode)
return fopen(found, mode);
}
#ifndef STANDALONE
gzFile opengzfile(const char *filename, const char *mode)
{
const char *found = findfile(filename, mode);
if(!found) return NULL;
return gzopen(found, mode);
}
#endif
char *loadfile(const char *fn, int *size)
{