mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-02 22:14:37 +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
|
@ -108,9 +108,11 @@ float sqr(float x);
|
|||
bool exists(const std::string &f, bool makeFatal = false, bool skipVFS = false);
|
||||
void errorLog(const std::string &s);
|
||||
void debugLog(const std::string &s);
|
||||
char *readFile(const std::string& path, unsigned long *size_ret = 0);
|
||||
|
||||
char *readCompressedFile(std::string path, unsigned long *size_ret = 0);
|
||||
// free returned mem with delete[]
|
||||
char *readFile(const char *path, size_t *size_ret = 0);
|
||||
char *readCompressedFile(const char *path, size_t *size_ret = 0);
|
||||
|
||||
std::string stripEndlineForUnix(const std::string &in);
|
||||
#ifdef HAVE_STRCASECMP
|
||||
static inline int nocasecmp(const std::string &s1, const std::string &s2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue