Changed: #878 Fix typos in comments/code

hg/feature/sound
kervala 14 years ago
parent 626f05bcb9
commit 90ad8da878

@ -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

@ -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.

@ -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;

@ -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]];

@ -21,6 +21,7 @@
#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"
#endif #endif

Loading…
Cancel
Save