mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-20 06:06:13 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
40fd31dadc
commit
258fcdb490
4 changed files with 5 additions and 5 deletions
|
@ -161,7 +161,7 @@ bool putIn (NLMISC::CBitmap *pSrc, NLMISC::CBitmap *pDst, sint32 x, sint32 y, bo
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
string getBaseName (const string &fullname)
|
string getBaseName (const string &fullname)
|
||||||
{
|
{
|
||||||
string sTmp2 = "";
|
string sTmp2;
|
||||||
string::size_type pos = fullname.rfind('_');
|
string::size_type pos = fullname.rfind('_');
|
||||||
if (pos != string::npos)
|
if (pos != string::npos)
|
||||||
sTmp2 = fullname.substr(0, pos+1);
|
sTmp2 = fullname.substr(0, pos+1);
|
||||||
|
|
|
@ -346,7 +346,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
TextContext.setColor (CRGBA(255,255,255,255));
|
TextContext.setColor (CRGBA(255,255,255,255));
|
||||||
|
|
||||||
string sAllClusters = "";
|
string sAllClusters;
|
||||||
for( uint32 j = 0; j < vCluster.size(); ++j)
|
for( uint32 j = 0; j < vCluster.size(); ++j)
|
||||||
{
|
{
|
||||||
sAllClusters += vCluster[j]->Name;
|
sAllClusters += vCluster[j]->Name;
|
||||||
|
|
|
@ -171,7 +171,7 @@ bool putIn (NLMISC::CBitmap *pSrc, NLMISC::CBitmap *pDst, sint32 x, sint32 y)
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
string getBaseName (const string &fullname)
|
string getBaseName (const string &fullname)
|
||||||
{
|
{
|
||||||
string sTmp2 = "";
|
string sTmp2;
|
||||||
string::size_type pos = fullname.rfind('_');
|
string::size_type pos = fullname.rfind('_');
|
||||||
if (pos != string::npos)
|
if (pos != string::npos)
|
||||||
sTmp2 = fullname.substr(0, pos+1);
|
sTmp2 = fullname.substr(0, pos+1);
|
||||||
|
|
|
@ -174,9 +174,9 @@ sint main(int argc, char **argv)
|
||||||
std::string output_path = exporter.settings.output_path + md5.substr(0, 2) + "/" + md5;
|
std::string output_path = exporter.settings.output_path + md5.substr(0, 2) + "/" + md5;
|
||||||
|
|
||||||
// file is an animation
|
// file is an animation
|
||||||
std::string animation = ""; // CPath::lookup(baseFilename + ".anim", false, false, false);
|
std::string animation; // CPath::lookup(baseFilename + ".anim", false, false, false);
|
||||||
// file is a skeleton
|
// file is a skeleton
|
||||||
std::string skeleton = ""; // CPath::lookup(baseFilename + ".skel", false, false, false);
|
std::string skeleton; // CPath::lookup(baseFilename + ".skel", false, false, false);
|
||||||
// file is a shape
|
// file is a shape
|
||||||
std::string shape = CPath::lookup(baseFilename + ".shape", false, false, false);
|
std::string shape = CPath::lookup(baseFilename + ".shape", false, false, false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue