Feel free to revert this one, was just screwing around with stuff from before. I kinda like it and figured committing it was the easiest way for you to look at it. http://m8y.org/hw/perlin.png
#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H
#include "physfs.h"
#include "physfscompat.h"
#ifndef PAS2C
#include "lua.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
PHYSFS_DECL void hedgewarsMountPackages();
PHYSFS_DECL void hedgewarsMountPackage(char * fileName);
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size);
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer);
#ifdef __cplusplus
}
#endif
#endif