misc/libphyslayer/hwpacksmounter.h
author unc0rr
Wed, 08 Jan 2014 01:16:20 +0400
branchwebgl
changeset 9972 feb4b031b52e
parent 9264 21df1a0ec9ed
child 10015 4feced261c68
permissions -rw-r--r--
Remove X and Y from the structure since those are misaligned in c code and I failed to do anything about that and they were the last cause of desyncs and only used in 4 places and I'm too lazy

#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H

#include "physfs.h"

#ifndef STRINIT
#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