Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-10-16 18:58:53 +02:00
parent 2af7301d7d
commit 7cbb7da54e
3 changed files with 208 additions and 209 deletions

View file

@ -1160,7 +1160,7 @@ bool CExport::newExport (SExportOptions &opt, IExportCB *expCB)
_Options->PrimFloraDir = sContinentDir; _Options->PrimFloraDir = sContinentDir;
sTmp = "Exporting"; sTmp = "Exporting";
if (_ExportCB != NULL) _ExportCB->dispInfo (sTmp); if (_ExportCB != NULL) _ExportCB->dispInfo (sTmp);
export (*_Options, _ExportCB, &vExportPrimitives); doExport (*_Options, _ExportCB, &vExportPrimitives);
// Copy new files for incremental purpose // Copy new files for incremental purpose
CTools::chdir (_ExeDir); CTools::chdir (_ExeDir);
@ -1236,7 +1236,7 @@ bool CExport::newExport (SExportOptions &opt, IExportCB *expCB)
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
bool CExport::export (SExportOptions &opt, IExportCB *expCB, vector<SExportPrimitive> *selection) bool CExport::doExport (SExportOptions &opt, IExportCB *expCB, vector<SExportPrimitive> *selection)
{ {
char sTmp[MAX_PATH]; char sTmp[MAX_PATH];
GetCurrentDirectory (MAX_PATH, sTmp); GetCurrentDirectory (MAX_PATH, sTmp);

View file

@ -127,7 +127,7 @@ public:
// Parse the SourceDir find the .land and .prim // Parse the SourceDir find the .land and .prim
// newExport is the incremental export // newExport is the incremental export
bool newExport (SExportOptions &options, IExportCB *expCB = NULL); bool newExport (SExportOptions &options, IExportCB *expCB = NULL);
bool export (SExportOptions &options, IExportCB *expCB = NULL, std::vector<SExportPrimitive> *selection = NULL); bool doExport (SExportOptions &options, IExportCB *expCB = NULL, std::vector<SExportPrimitive> *selection = NULL);
// HELPERS // HELPERS
// Get All files with the extension ext in the current directory and subdirectory // Get All files with the extension ext in the current directory and subdirectory

View file

@ -34,7 +34,6 @@
#include "nel/ligo/zone_region.h" #include "nel/ligo/zone_region.h"
#include "nel/ligo/zone_bank.h" #include "nel/ligo/zone_bank.h"
#include "nel/../../src/pacs/collision_mesh_build.h" #include "nel/../../src/pacs/collision_mesh_build.h"