Changeset View
Changeset View
Standalone View
Standalone View
source/ps/scripting/JSInterface_VFS.cpp
Show All 17 Lines | |||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "JSInterface_VFS.h" | #include "JSInterface_VFS.h" | ||||
#include "lib/file/vfs/vfs_util.h" | #include "lib/file/vfs/vfs_util.h" | ||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "ps/CStr.h" | #include "ps/CStr.h" | ||||
#include "ps/Filesystem.h" | #include "ps/Filesystem.h" | ||||
#include "scriptinterface/ScriptVal.h" | |||||
#include "scriptinterface/ScriptInterface.h" | #include "scriptinterface/ScriptInterface.h" | ||||
#include <sstream> | #include <sstream> | ||||
// Only allow engine compartments to read files they may be concerned about. | // Only allow engine compartments to read files they may be concerned about. | ||||
#define PathRestriction_GUI {L""} | #define PathRestriction_GUI {L""} | ||||
#define PathRestriction_Simulation {L"simulation/"} | #define PathRestriction_Simulation {L"simulation/"} | ||||
#define PathRestriction_Maps {L"simulation/", L"maps/"} | #define PathRestriction_Maps {L"simulation/", L"maps/"} | ||||
▲ Show 20 Lines • Show All 247 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator