Changeset View
Changeset View
Standalone View
Standalone View
source/ps/Filesystem.cpp
Show All 19 Lines | |||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "ps/Profile.h" | #include "ps/Profile.h" | ||||
#include "lib/res/h_mgr.h" // h_reload | #include "lib/res/h_mgr.h" // h_reload | ||||
#include "lib/sysdep/dir_watch.h" | #include "lib/sysdep/dir_watch.h" | ||||
#include "lib/utf8.h" | #include "lib/utf8.h" | ||||
#include <boost/filesystem.hpp> | |||||
PIVFS g_VFS; | PIVFS g_VFS; | ||||
static std::vector<std::pair<FileReloadFunc, void*> > g_ReloadFuncs; | static std::vector<std::pair<FileReloadFunc, void*> > g_ReloadFuncs; | ||||
bool VfsFileExists(const VfsPath& pathname) | bool VfsFileExists(const VfsPath& pathname) | ||||
{ | { | ||||
return g_VFS->GetFileInfo(pathname, 0) == INFO::OK; | return g_VFS->GetFileInfo(pathname, 0) == INFO::OK; | ||||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator