载入中...
搜索中...
未找到
eve::filesystem::physfs 命名空间参考

class  File
 
class  Filesystem
 PhysFS 文件系统后端实现(挂载/解挂、读写、热重载)。 更多...
 

函数

bool test_eof (File *, PHYSFS_File *file)
 
void installScriptFileApi (ssq::VM &vm)
 用 PhysFS 版本覆盖 Squirrel 的 file / dofile / loadfile 全局, 使脚本与资源从已挂载的游戏源(真实目录或内存挂载的 .eve 归档)解析; PhysFS 中不存在的路径回退到 OS 文件系统,保持原有行为。
 

函数说明

◆ installScriptFileApi()

void eve::filesystem::physfs::installScriptFileApi ( ssq::VM &  vm)

用 PhysFS 版本覆盖 Squirrel 的 file / dofile / loadfile 全局, 使脚本与资源从已挂载的游戏源(真实目录或内存挂载的 .eve 归档)解析; PhysFS 中不存在的路径回退到 OS 文件系统,保持原有行为。

在文件 FileApi.cpp172 行定义.

引用了 fn, h, name , 以及 vm.

被这些函数引用 eve::cmd::Cmdline::McpHost() , 以及 eve::cmd::Cmdline::Run().

◆ test_eof()

bool eve::filesystem::physfs::test_eof ( File ,
PHYSFS_File *  file 
)
inline

在文件 File.cpp150 行定义.

引用了 file.

被这些函数引用 eve::filesystem::physfs::File::isEOF().