author | unc0rr |
Wed, 19 Jun 2013 00:52:21 +0400 | |
branch | webgl |
changeset 9264 | 21df1a0ec9ed |
parent 8978 | e6ef8fe314bd |
child 10015 | 4feced261c68 |
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" |
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
5 |
|
9264 | 6 |
#ifndef STRINIT |
7 |
#include "lua.h" |
|
8 |
#endif |
|
9 |
||
8052 | 10 |
#ifdef __cplusplus |
11 |
extern "C" { |
|
12 |
#endif |
|
13 |
||
8119
257ffa847aa2
physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents:
8052
diff
changeset
|
14 |
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
|
15 |
PHYSFS_DECL void hedgewarsMountPackage(char * fileName); |
8052 | 16 |
|
9264 | 17 |
PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size); |
18 |
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer); |
|
19 |
||
8052 | 20 |
#ifdef __cplusplus |
21 |
} |
|
22 |
#endif |
|
23 |
||
24 |
#endif |