A portable, flexible file i/o abstraction.
Go to file
Martin Ahrnbom 9d55f3f099 Added support for WinRT 8.1 Universal Apps.
Hopefully this will work on Win10 as well... Only time will tell!
Here's what's changed:
1. Added a platform_winrt.cpp file. It's based on platform_windows.c but has some WinRT-specific changes.
2. Changed physfs_platforms.h to define PHYSFS_PLATFORM_WINRT when running on WinRT. PHYSFS_PLATFORM_WINDOWS should also be defined, as WinRT behaves a lot like "normal" Windows and this flag is tested against in multiple parts of the PhysFS source code.
3. Changed platform_windows.c to not be used when PHYSFS_PLATFORM_WINRT is defined.
4. In order to work on Windows ARM devices, I had to change in physfs_internal.h, to include _M_ARM as a flag for running on ARM as "ARM" and "__arm__" aren't defined when running on a Windows ARM device.

What I've tested:
* Setting up a "sane folder configuration"
* Reading and writing files
* Mounting zip files
* Using seek & tell
* Checking file length

All of these work fine. I couldn't get the actual test software to run on WinRT, but it seems like eveyrthing's working. I've tested these things on my Windows 8.1 computer, as well as my Lumia 920 which is currently running Windows 8.1.
2015-03-29 07:03:30 +02:00
docs Make sure read buffers get reinitialized before refilling (thanks, Michael!). 2014-09-11 00:07:23 -04:00
extras Added pkg-config support (thanks, Jonas!). 2013-11-13 00:38:35 -05:00
src Added support for WinRT 8.1 Universal Apps. 2015-03-29 07:03:30 +02:00
test Moved supportsSymlinks into PHYSFS_ArchiveInfo. 2012-11-30 00:04:52 -05:00
.hgignore Added .hgignore ... 2009-03-28 18:15:35 -04:00
CMakeLists.txt Added pkg-config support (thanks, Jonas!). 2013-11-13 00:38:35 -05:00
LICENSE.txt Replaced zlib with a hacked up copy of miniz: http://code.google.com/p/miniz/ 2012-03-10 02:31:58 -05:00
README.txt Moved directory structure around. 2009-03-27 15:10:42 -04:00

README.txt

PhysicsFS; a portable, flexible file i/o abstraction.

  http://icculus.org/physfs/

Please see the docs directory for documentation, licensing, and information.