misc/libphyslayer/hwpacksmounter.h
author unc0rr
Wed, 22 Jan 2014 01:11:13 +0400
changeset 10039 58cf89284115
parent 9991 3858d99476f5
child 10015 4feced261c68
permissions -rw-r--r--
Halfplement voting
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     1
#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     2
#define HEDGEWARS_PACKAGES_MOUNTER_H
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     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
9991
3858d99476f5 add compatibility for physicsfs 2.0
sheepluva
parents: 8978
diff changeset
     6
#include "physfscompat.h"
3858d99476f5 add compatibility for physicsfs 2.0
sheepluva
parents: 8978
diff changeset
     7
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     8
#ifdef __cplusplus
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     9
extern "C" {
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    10
#endif
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    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
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    14
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    15
#ifdef __cplusplus
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    16
}
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    17
#endif
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    18
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    19
#endif