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:
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user