author | unc0rr |
Mon, 10 Feb 2014 23:02:49 +0400 | |
changeset 10128 | 0f6878b5395a |
parent 10127 | 7f29a65aa1e4 |
child 10235 | bafca1686867 |
permissions | -rw-r--r-- |
8052 | 1 |
#ifndef HEDGEWARS_PACKAGES_MOUNTER_H |
2 |
#define HEDGEWARS_PACKAGES_MOUNTER_H |
|
3 |
||
8119
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
4 |
#include "physfs.h" |
9991 | 5 |
#include "physfscompat.h" |
10127 | 6 |
|
7 |
#ifndef PAS2C |
|
9264 | 8 |
#include "lua.h" |
10127 | 9 |
#endif |
9991 | 10 |
|
8052 | 11 |
#ifdef __cplusplus |
12 |
extern "C" { |
|
13 |
#endif |
|
14 |
||
8119
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
15 |
PHYSFS_DECL void hedgewarsMountPackages(); |
8978
e6ef8fe314bd
suggestion of unc0rr's to fix issue w/ random maps in campaign. load sidecar packages in physfs for lua. should be useful also for lua that does custom layouts
nemo
parents:
8524
diff
changeset
|
16 |
PHYSFS_DECL void hedgewarsMountPackage(char * fileName); |
8052 | 17 |
|
9264 | 18 |
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size); |
19 |
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer); |
|
20 |
||
8052 | 21 |
#ifdef __cplusplus |
22 |
} |
|
23 |
#endif |
|
24 |
||
25 |
#endif |