From 4ab971d2fe3b9aa1823328d946d3f1dfa395f25f Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 7 Jun 2011 15:58:18 +0200 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- code/nel/include/nel/3d/scene_group.h | 4 ++-- code/nel/tools/3d/file_info/main.cpp | 6 +++--- code/nel/tools/misc/bnp_make/main.cpp | 10 +++++----- code/nel/tools/misc/lock/lock.cpp | 2 +- code/ryzom/client/src/login_patch.cpp | 2 +- code/ryzom/server/src/ai_service/commands.cpp | 9 ++++++--- 6 files changed, 18 insertions(+), 15 deletions(-) diff --git a/code/nel/include/nel/3d/scene_group.h b/code/nel/include/nel/3d/scene_group.h index 9b4f8d792..d587f23d9 100644 --- a/code/nel/include/nel/3d/scene_group.h +++ b/code/nel/include/nel/3d/scene_group.h @@ -107,7 +107,7 @@ public: bool Visible; /// Precomputed Lighting. - // If true (false by default), then the instance don't cast shadow (used by ig_lighter.exe). + // If true (false by default), then the instance don't cast shadow (used by ig_lighter). bool DontCastShadow; // If true (false by default), then the instance's lighting will not be precomputed. bool AvoidStaticLightPreCompute; @@ -120,7 +120,7 @@ public: * If 0xFF => take Ambient of the sun. */ uint8 LocalAmbientId; - /** if true (false by default), the instance don't cast shadow, but ONLY FOR ig_lighter.exe (ig_lighter_lib) + /** if true (false by default), the instance don't cast shadow, but ONLY FOR ig_lighter (ig_lighter_lib) * (zone_lighter and zone_ig_lighter ignore it). * This is a special trick for the "Matis Serre" where the exterior mesh cast shadow in the interior, but * is not visible in the interior in realTime because of cluster clipping.... omg :( diff --git a/code/nel/tools/3d/file_info/main.cpp b/code/nel/tools/3d/file_info/main.cpp index 4a14a43c9..306a7fc74 100644 --- a/code/nel/tools/3d/file_info/main.cpp +++ b/code/nel/tools/3d/file_info/main.cpp @@ -331,9 +331,9 @@ void displayInfoFileInStream(FILE *logStream, const char *fileName, const set const& args) NLMISC::CIFile file(NLMISC::CPath::lookup(args[2])); vector lines; - while (!file.eof()) { + while (!file.eof()) + { const size_t bufferSize = 4*1024; char buffer[bufferSize]; file.getline(buffer, bufferSize); @@ -1844,7 +1845,8 @@ NLMISC_COMMAND(getInfo,"display returned values of buffered commands","") { CLogStringWriter stringWriter(&log); - FOREACHC(strIt, vector, bufferedRetStrings) { + FOREACHC(strIt, vector, bufferedRetStrings) + { stringWriter.append(*strIt); } @@ -2995,7 +2997,8 @@ NLMISC_COMMAND(simulateBug, "simulate an old AIS bug; command is one of 'list', initBugSimulationTexts(); log.displayNL("Bug simulations"); log.displayNL("Id|Description |State"); - for (int i=0; i