|
SDLGameEngine
|
Resource handling functions. More...
Go to the source code of this file.
Data Structures | |
| struct | SGEFILE |
Defines | |
| #define | sgeDecryptBuffer sgeEncryptBuffer |
Functions | |
| SGEFILE * | sgeOpenFile (const char *filename, const char *encryptionkey) |
| Open a sge archive created with sga. | |
| void | sgeCloseFile (SGEFILE *f) |
| Close a sge archive and free its memory resources. | |
| void | sgeCreateFile (const char *filename, char *filenames[], Uint32 numberOfFiles, const char *encryptionkey) |
| Create a new sge archive. | |
| int | sgeGetFileIndex (SGEFILE *f, const char *filename) |
| Return the index a file is in the archives lookup table. | |
| Uint32 | sgeGetFileSize (SGEFILE *f, const char *filename) |
| Return the size of a file in the archive. | |
| void * | sgeReadFile (SGEFILE *f, const char *filename) |
| Read a file from the archive to memory. | |
| SDL_Surface * | sgeReadImage (SGEFILE *f, const char *filename) |
| Read a video accelerated image file from archive. | |
| SDL_Surface * | sgeReadImageMemory (SGEFILE *f, const char *filename) |
| Read a image file from archive into RAM. | |
| Mix_Chunk * | sgeReadSound (SGEFILE *f, const char *filename) |
| Read a sound file from archive. | |
| SDL_Surface * | sgeDuplicateSDLSurface (SDL_Surface *s) |
| Duplicate a sdl surface. | |
Resource handling functions.
Definition in file sgeresource.h.