Hi developers. I am currently porting a Win32 game to mobile devices. The sound, display and file subsystems will be manageed by EdgeLib. However there are a few things that I hope you can help me with since the current game has resources stored in its own virtual file system.
1. Ability to CreateSurface based on a ClassEFile instance from the current file position. Currently, I need to load the image into memory then create an image from memory. This would be nice to have to save on memory usage.
2. Ability to WritePNG/WriteBMP to a ClassEFile instance from the current file position. It would also be good to able to get the entire BMP file data as a memory block so that I can pass it to wish #3. This is not a big issue since the save-game format does not contain images.
3. Methods on ClassEFile to decompress and compress ZLib data. The virtual file system mentioned above stores chunks of data using ZLib compression. I need to be able to read/write these chunks. This is the important wish, as I do need to read the resources.
At the moment in order to implement this I need to include the source for the zlib library. Since it appears that these are already part of EdgeLib, I am wondering if it is possible to expose some additional functionality from these libraries.