author | Wuzzy <Wuzzy2@mail.ru> |
Sat, 04 May 2019 19:07:58 +0200 | |
changeset 14881 | 543729d313f5 |
parent 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 |
|
10235 | 8 |
#ifndef QT_VERSION |
9264 | 9 |
#include "lua.h" |
10127 | 10 |
#endif |
10235 | 11 |
#endif |
9991 | 12 |
|
8052 | 13 |
#ifdef __cplusplus |
14 |
extern "C" { |
|
15 |
#endif |
|
16 |
||
8119
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
17 |
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
|
18 |
PHYSFS_DECL void hedgewarsMountPackage(char * fileName); |
8052 | 19 |
|
10235 | 20 |
#ifndef QT_VERSION |
9264 | 21 |
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size); |
10235 | 22 |
#endif |
9264 | 23 |
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer); |
24 |
||
8052 | 25 |
#ifdef __cplusplus |
26 |
} |
|
27 |
#endif |
|
28 |
||
29 |
#endif |