author | unc0rr |
Sun, 26 Jan 2014 10:20:42 +0400 | |
changeset 10077 | ca67740f19b2 |
parent 10015 | 4feced261c68 |
child 10127 | 7f29a65aa1e4 |
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" |
9264 | 6 |
#include "lua.h" |
9991 | 7 |
|
8052 | 8 |
#ifdef __cplusplus |
9 |
extern "C" { |
|
10 |
#endif |
|
11 |
||
8119
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
12 |
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
|
13 |
PHYSFS_DECL void hedgewarsMountPackage(char * fileName); |
8052 | 14 |
|
9264 | 15 |
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size); |
16 |
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer); |
|
17 |
||
8052 | 18 |
#ifdef __cplusplus |
19 |
} |
|
20 |
#endif |
|
21 |
||
22 |
#endif |