Mana
|
Go to the source code of this file.
Macros | |
#define | RW_SEEK_SET SEEK_SET |
#define | RW_SEEK_CUR SEEK_CUR |
#define | RW_SEEK_END SEEK_END |
Functions | |
SDL_RWops * | PHYSFSRWOPS_makeRWops (PHYSFS_File *handle) |
Make a SDL_RWops from an existing PhysicsFS file handle. | |
SDL_RWops * | PHYSFSRWOPS_openRead (const char *fname) |
Open a platform-independent filename for reading, and make it accessible via an SDL_RWops structure. | |
SDL_RWops * | PHYSFSRWOPS_openWrite (const char *fname) |
Open a platform-independent filename for writing, and make it accessible via an SDL_RWops structure. | |
SDL_RWops * | PHYSFSRWOPS_openAppend (const char *fname) |
Open a platform-independent filename for appending, and make it accessible via an SDL_RWops structure. | |
#define RW_SEEK_CUR SEEK_CUR |
Definition at line 39 of file physfsrwops.c.
#define RW_SEEK_END SEEK_END |
Definition at line 42 of file physfsrwops.c.
#define RW_SEEK_SET SEEK_SET |
Definition at line 36 of file physfsrwops.c.
SDL_RWops * PHYSFSRWOPS_makeRWops | ( | PHYSFS_File * | handle | ) |
Make a SDL_RWops from an existing PhysicsFS file handle.
You should dispose of any references to the handle after successful creation of the RWops. The actual PhysicsFS handle will be destroyed when the RWops is closed.
handle | a valid PhysicsFS file handle. |
Definition at line 220 of file physfsrwops.c.
SDL_RWops * PHYSFSRWOPS_openAppend | ( | const char * | fname | ) |
Open a platform-independent filename for appending, and make it accessible via an SDL_RWops structure.
The file will be closed in PhysicsFS when the RWops is closed. PhysicsFS should be configured to your liking before opening files through this method.
filename | File to open in platform-independent notation. |
Definition at line 244 of file physfsrwops.c.
SDL_RWops * PHYSFSRWOPS_openRead | ( | const char * | fname | ) |
Open a platform-independent filename for reading, and make it accessible via an SDL_RWops structure.
The file will be closed in PhysicsFS when the RWops is closed. PhysicsFS should be configured to your liking before opening files through this method.
filename | File to open in platform-independent notation. |
Definition at line 232 of file physfsrwops.c.
SDL_RWops * PHYSFSRWOPS_openWrite | ( | const char * | fname | ) |
Open a platform-independent filename for writing, and make it accessible via an SDL_RWops structure.
The file will be closed in PhysicsFS when the RWops is closed. PhysicsFS should be configured to your liking before opening files through this method.
filename | File to open in platform-independent notation. |
Definition at line 238 of file physfsrwops.c.