Fission FSN
Loading...
Searching...
No Matches
fsCPackFileUtils.h
Go to the documentation of this file.
1/********************************************************************
2 * File: fsCPackFileUtils.h
3 * Purpose: Desktop file utils that serve Content from asset packs (.fpk),
4 * falling back to loose files. See fsCAssetPack.
5 ********************************************************************/
6
7#ifndef FS_CPACK_FILE_UTILS_H
8#define FS_CPACK_FILE_UTILS_H
9
10#include "axmol.h"
11
12#if defined(AX_TARGET_PLATFORM) && \
13 (AX_TARGET_PLATFORM == AX_PLATFORM_MAC || AX_TARGET_PLATFORM == AX_PLATFORM_WIN32 || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX)
14 #define fsPACK_FILE_UTILS
15#endif
16
17#if defined fsPACK_FILE_UTILS
18namespace fsCPackFileUtils
19{
20// Takes over from the platform file utils when the resource root holds packs.
21// Call before anything reads assets or adds search paths.
22void installIfPacked();
23}
24#endif
25
26#endif