1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 06:24:32 +00:00

Remove commented-out code

This commit is contained in:
Nicolas Braud-Santoni 2016-05-05 19:40:28 +02:00
parent 0f39b825e1
commit eb128e65a4
162 changed files with 2092 additions and 6594 deletions

View file

@ -82,7 +82,7 @@ void precacherCallback(const std::string &file, intptr_t param)
}
// precacheTex
// caches one texture
// caches one texture
// also support simple wildcard to cache multiple textures
// e.g. naija/*.png
void Precacher::precacheTex(const std::string &tex)
@ -97,12 +97,12 @@ void Precacher::precacheTex(const std::string &tex)
if (core->debugLogTextures)
debugLog("PRECACHING: " + tex);
if (tex.find('*')!=std::string::npos)
{
if (core->debugLogTextures)
debugLog("searching directory");
int loc = tex.find('*');
std::string path = tex.substr(0, loc);
std::string type = tex.substr(loc+1, tex.size());
@ -137,7 +137,7 @@ void Precacher::precacheList(const std::string &list, void progressCallback())
if (!t.empty())
{
#if defined(BBGE_BUILD_UNIX)
//debugLog("precache["+t+"]");
t = t.substr(0,t.size()-1);
debugLog("precache["+t+"]");
#endif