1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Deprecate and remove hsStlSortUtils

This commit is contained in:
2013-01-01 20:08:52 -08:00
parent 8158a43dfe
commit 74e06e3984
20 changed files with 25 additions and 344 deletions

View File

@ -43,7 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#define plMtlCollector_h_inc
#include <set>
#include "hsStlSortUtils.h"
#include "plString.h"
class PBBitmap;
class Mtl;
@ -55,7 +55,7 @@ typedef std::set<Mtl*> MtlSet;
typedef std::set<Texmap*> TexSet;
typedef std::set<plPlasmaMAXLayer*> LayerSet;
typedef std::set<PBBitmap*> PBSet;
typedef std::set<const char*, stringISorter> TexNameSet;
typedef std::set<plString, plString::less_i> TexNameSet;
class plMtlCollector
{

View File

@ -80,10 +80,10 @@ void plResCollector::Collect()
TexNameSet::iterator it = texNames.begin();
for (; it != texNames.end(); it++)
{
const char *texName = *it;
plString texName = *it;
char outpath[MAX_PATH], name[_MAX_FNAME+_MAX_EXT], ext[_MAX_EXT];
_splitpath(texName, NULL, NULL, name, ext);
_splitpath(texName.c_str(), NULL, NULL, name, ext);
strcat(name, ext);
if (bar.Update(name))
@ -92,7 +92,7 @@ void plResCollector::Collect()
strcpy(outpath, path);
strcat(outpath, name);
CopyFile(texName, outpath, TRUE);
CopyFile(texName.c_str(), outpath, TRUE);
}
// Get the filename to save to