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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user