PhysicsFS 是否独立于平台?
我正在考虑在我的游戏引擎项目中使用PhysicsFS,但我想首先确保它完全独立于平台。这是因为我想在完成 Windows 代码后将我的引擎移植到一些相当不起眼的平台(例如 Wii Homebrew)。
I'm thinking about using PhysicsFS in my game engine project, but I'd like to first make sure it's entirely platform-independent. That's because I'd like to port my engine to some rather obscure platforms after I'm done with the Windows code (Wii Homebrew, for example).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据开发人员在其网站上提供的官方规范:
甚至
所以答案是肯定的,它是平台无关的。
2011 年 4 月 20 日更新
按照 @rubenvb 的建议,我最好将其定义为一个跨平台库。这是因为PhysicsFS 库利用#ifdefs 并为Windows、BeOS / Haiku、Mac OS X、OS/2、PocketPC、POSIX 和UNIX 平台提供特定实现。
In accordance with the official specs the developers provide on their site it:
And even
So the answer is Yes, it is platform-independent.
Update from April, 20 2011
Following @rubenvb advice, I'd better define it as a cross-platform library. That's because PhysicsFS library utilizes
#ifdefs
and provides particular implementations for Windows, BeOS / Haiku, Mac OS X, OS/2, PocketPC, POSIX and UNIX platforms.