Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-12-08 14:49:24 +01:00
parent 62189a69b8
commit eaa10899d0
6 changed files with 9 additions and 9 deletions

View file

@ -70,16 +70,16 @@ public:
virtual void show() = 0; virtual void show() = 0;
/// Serial the force definition. MUST be called by deriver during their serialisation /// Serial the force definition. MUST be called by deriver during their serialisation
virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream); virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream);
/// check whether this force is integrable over time. The default is false /// check whether this force is integrable over time. The default is false
virtual bool isIntegrable(void) const { return false; } virtual bool isIntegrable(void) const { return false; }
/// inherited from CPSLocatedBindableTarget, we use that to tell whether this force is integrable or not /// inherited from CPSLocatedBindableTarget, we use that to tell whether this force is integrable or not
virtual void attachTarget(CPSLocated *ptr); virtual void attachTarget(CPSLocated *ptr);
/// inherited from CPSLocatedBindableTarget /// inherited from CPSLocatedBindableTarget
void releaseTargetRsc(CPSLocated *target); void releaseTargetRsc(CPSLocated *target);
/** Integrate this force on the given located. If 'accumulate' is set to true, it just add the effect of this force on position /** Integrate this force on the given located. If 'accumulate' is set to true, it just add the effect of this force on position

View file

@ -184,7 +184,7 @@ public:
typedef std::vector<CVPInstruction> TProgram; typedef std::vector<CVPInstruction> TProgram;
public: public:
/** Parse a vertex program, and convert to proprietary format. /** Parse a vertex program, and convert to proprietary format.
* It is intended to be use by a driver implementation. * It is intended to be used by a driver implementation.
* \warning: Only syntax is checked. It doesn't check that a register has been initialised before use. * \warning: Only syntax is checked. It doesn't check that a register has been initialised before use.
* \param src The input text of a vertex program, in OpenGL format. * \param src The input text of a vertex program, in OpenGL format.
* \param result The result program. * \param result The result program.

View file

@ -2425,7 +2425,7 @@ bool CDriverGL::getAdapter(uint adapter, CAdapter &desc) const
desc.Driver = (const char *) glGetString (GL_VERSION); desc.Driver = (const char *) glGetString (GL_VERSION);
desc.Vendor= (const char *) glGetString (GL_VENDOR); desc.Vendor= (const char *) glGetString (GL_VENDOR);
desc.Description = "Default openGL adapter"; desc.Description = "Default OpenGL adapter";
desc.DeviceId = 0; desc.DeviceId = 0;
desc.DriverVersion = 0; desc.DriverVersion = 0;
desc.Revision = 0; desc.Revision = 0;

View file

@ -883,7 +883,6 @@ void CDriverGL::setupGlArraysStd(CVertexBufferInfo &vb)
case CVertexBufferInfo::HwNVIDIA: case CVertexBufferInfo::HwNVIDIA:
case CVertexBufferInfo::HwARB: case CVertexBufferInfo::HwARB:
{ {
// setup vertex ptr. // setup vertex ptr.
//----------- //-----------
uint numVertexCoord = CVertexBuffer::NumComponentsType[vb.Type[CVertexBuffer::Position]]; uint numVertexCoord = CVertexBuffer::NumComponentsType[vb.Type[CVertexBuffer::Position]];

View file

@ -19,7 +19,8 @@
#include "nel/misc/types_nl.h" #include "nel/misc/types_nl.h"
#include "nel/net/callback_net_base.h" #include "nel/net/callback_net_base.h"
#include "nel/net/callback_client.h" #include "nel/net/callback_client.h"
#include "nel/net/net_log.h" #include "nel/net/net_log.h"
#ifdef USE_MESSAGE_RECORDER #ifdef USE_MESSAGE_RECORDER
#include "nel/net/message_recorder.h" #include "nel/net/message_recorder.h"

View file

@ -63,7 +63,7 @@ void CColorModifier::convertBitmap(NLMISC::CBitmap &destBitmap, const NLMISC::CB
result.buildFromHLS(h + deltaH, l + Lightness, s + Saturation); result.buildFromHLS(h + deltaH, l + Lightness, s + Saturation);
/// apply contrasts /// apply contrasts
result.R = CalcBrightnessContrast(result.R, Luminosity, Contrast, grey); result.R = CalcBrightnessContrast(result.R, Luminosity, Contrast, grey);
result.G = CalcBrightnessContrast(result.G, Luminosity, Contrast, grey); result.G = CalcBrightnessContrast(result.G, Luminosity, Contrast, grey);
result.B = CalcBrightnessContrast(result.B, Luminosity, Contrast, grey); result.B = CalcBrightnessContrast(result.B, Luminosity, Contrast, grey);