mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-22 14:30:54 +00:00
remove zlib, libpng, glpng and related code; add some stb libs; rework texture loading
This commit is contained in:
parent
da2385d6c6
commit
96216503c4
86 changed files with 21936 additions and 57875 deletions
|
@ -45,6 +45,7 @@ size_t vfwrite(const void *ptr, size_t size, size_t count, VFILE *vf);
|
|||
int vfseek(VFILE *vf, long int offset, int origin);
|
||||
char *vfgets(char *str, int num, VFILE *vf);
|
||||
long int vftell(VFILE *vf);
|
||||
int vfeof(VFILE *vf);
|
||||
int vfsize(VFILE *vf, size_t *sizep); // extension
|
||||
|
||||
// This class is a minimal adapter to support STL-like read-only file streams for VFS files, using std::istringstream.
|
||||
|
@ -80,6 +81,7 @@ int ttvfs_stdio_fsize(VFILE *f, size_t *sizep); // extension
|
|||
#define vfseek fseek
|
||||
#define vfgets fgets
|
||||
#define vftell ftell
|
||||
#define vfeof feof
|
||||
#define vfsize ttvfs_stdio_fsize
|
||||
|
||||
//-------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue