spelling-errors.patch

lubos, 12/01/2009 10:20 am

Download (28.8 kB)

src/net/service.cpp (working copy)
1575 1575
			WindowDisplayer = NULL;
1576 1576
		}
1577 1577

  
1578
		nlinfo ("SERVICE: Service released succesfully");
1578
		nlinfo ("SERVICE: Service released successfully");
1579 1579
	}
1580 1580
	catch (EFatalError &)
1581 1581
	{
include/nel/misc/stream.h (working copy)
621 621

  
622 622
	/**
623 623
	 * Parameters for seek().
624
	 * begin seek from the begining of the stream.
624
	 * begin seek from the beginning of the stream.
625 625
	 * current seek from the current location of the stream pointer.
626 626
	 * end seek from the end of the stream.
627 627
	 */
include/nel/3d/mesh_mrm_skinned_instance.h (working copy)
57 57
class CMeshMRMSkinnedInstance : public CMeshBaseInstance
58 58
{
59 59
public:
60
	/// Call at the begining of the program, to register the model
60
	/// Call at the beginning of the program, to register the model
61 61
	static	void	registerBasic();
62 62

  
63 63
protected:
src/logic/logic_state_machine.cpp (working copy)
434 434
		filter = 1;
435 435
	}
436 436
	else
437
	// xxx* => we look for a string with xxx at the begining
437
	// xxx* => we look for a string with xxx at the beginning
438 438
	if( varName[varName.size()-1]=='*' )
439 439
	{
440 440
		motif = varName.substr(0,varName.size()-1);
include/nel/misc/eval_num_expr.h (working copy)
178 178
	  * ValueError.
179 179
	  *
180 180
	  * \param value is the value to parse.
181
	  * \param result is the result to fill if the value has been succesfully parsed.
181
	  * \param result is the result to fill if the value has been successfully parsed.
182 182
	  * \param userData is a user data used by user eval function.
183 183
	  * \return UnkownValue if the value is not known, ValueError is the value evaluation failed or NoError
184 184
	  * if it has been parsed.
......
195 195
	  * \param funcName is the name of the function to evaluate.
196 196
	  * \param arg0 is the first parameter passed to the function.
197 197
	  * \param arg1 is the second parameter passed to the function.
198
	  * \param result is the result to fill if the value has been succesfully parsed.
198
	  * \param result is the result to fill if the value has been successfully parsed.
199 199
	  * \return UnkownFunction if the function doesn't exist, FunctionError if the function evaluation
200 200
	  * failed, NoError if it has been parsed.
201 201
	  */
src/sound/context_sound.cpp (working copy)
282 282
				if (i == _BaseName.size())
283 283
				{
284 284
					// The base name is ok, check that the next char is a digit (avoid conflit if some
285
					// sound have a longeur base name with same begining)
285
					// sound have a longeur base name with same beginning)
286 286
					if (soundName[i] >= '0' && soundName[i] <= '9')
287 287
						_ContextSounds->addSound(CAudioMixerUser::instance()->getSoundId(*first), _BaseName);
288 288
				}
src/misc/eval_num_expr.cpp (working copy)
1266 1266
const char *CEvalNumExpr::_ErrorString[ReturnValueCount]=
1267 1267
{
1268 1268
	"No error",
1269
	"Unkown value",
1269
	"Unknown value",
1270 1270
	"Error during user defined value evaluation",
1271
	"Unkown function",
1271
	"Unknown function",
1272 1272
	"Error during user defined function evaluation",
1273 1273
	"Syntax error in a number expression",
1274
	"Unkown operator",
1274
	"Unknown operator",
1275 1275
	"Should be a open parentesis",
1276 1276
	"Should be a close parentesis",
1277 1277
	"Should be a coma character",
src/misc/sstring.cpp (working copy)
99 99
			{
100 100
				if (i != 0)
101 101
				{
102
					// we are not at begining of the string, delimiter is considered as separator
102
					// we are not at beginning of the string, delimiter is considered as separator
103 103
					if (splitStringAtBrackets)
104 104
						break;
105 105
				}
include/nel/3d/mesh_multi_lod_instance.h (working copy)
68 68
		Lod0Blend		=	0x1,
69 69
	};
70 70

  
71
	/// Call at the begining of the program, to register the model
71
	/// Call at the beginning of the program, to register the model
72 72
	static	void	registerBasic();
73 73

  
74 74
	/// Last Matrix date for Lods
src/3d/driver/direct3d/driver_direct3d_texture.cpp (working copy)
280 280
	case D3DFMT_DXT3: bits=8; break;
281 281
	case D3DFMT_DXT4: bits=8; break;
282 282
	case D3DFMT_DXT5: bits=8; break;
283
	default: nlstop; break;	// unkown pixel format
283
	default: nlstop; break;	// unknown pixel format
284 284
	}
285 285
	return bits;
286 286
}
include/nel/net/login_server.h (working copy)
54 54
class IDisplayer;
55 55

  
56 56
/** This class is the server part of the Login System. It is used in the Front End Service.
57
 * At the begining, it connects to the WS. When a new player comes in and is authenticated, a
57
 * At the beginning, it connects to the WS. When a new player comes in and is authenticated, a
58 58
 * callback is called to warn the user code that a new player is here.
59 59
 * Example:
60 60
 * \code
include/nel/3d/seg_remanence.h (working copy)
61 61
		CSegRemanence(CSegRemanence &other);
62 62
		CSegRemanence &operator = (CSegRemanence &other);
63 63
	//@}
64
	/// Call at the begining of the program, to register the model
64
	/// Call at the beginning of the program, to register the model
65 65
	static	void			registerBasic();
66 66
	/// to instanciate that model from a scene
67 67
	static CTransform		*creator() { return new CSegRemanence; }
include/nel/3d/render_trav.h (working copy)
234 234
	enum	{MaxVPLight= 4};
235 235

  
236 236
	/** reset the lighting setup in the driver (all lights are disabled).
237
	 *	called at begining of traverse(). Must be called by any model (before and after rendering)
237
	 *	called at beginning of traverse(). Must be called by any model (before and after rendering)
238 238
	 *	that wish to use CDriver::setLight() instead of the standard behavior with changeLightSetup()
239 239
	 */
240 240
	void		resetLightSetup();
tools/3d/cluster_viewer/view_cs.cpp (working copy)
258 258
	
259 259
	// Add all instance that create the scene
260 260
	// --------------------------------------	
261
	// Begining of script reading
261
	// Beginning of script reading
262 262
	CVector CameraStart;
263 263

  
264 264
	LoadSceneScript ("view_cs.txt", CNELU::Scene, DispCS, CameraStart);
src/sound/driver/dsound/sound_driver_dsound.cpp (working copy)
577 577
		case DSERR_PRIOLEVELNEEDED:
578 578
			throw ESoundDriver("Failed to lock the DirectSound primary buffer : DSERR_PRIOLEVELNEEDED");
579 579
		default:
580
			throw ESoundDriver("Failed to lock the DirectSound primary buffer : unkown error");
580
			throw ESoundDriver("Failed to lock the DirectSound primary buffer : unknown error");
581 581

  
582 582
		}
583 583
	}
include/nel/3d/skeleton_model.h (working copy)
86 86
	/// max number of bones supported in skeleton
87 87
	enum	{ MaxNumBones = 256 };
88 88

  
89
	/// Call at the begining of the program, to register the model
89
	/// Call at the beginning of the program, to register the model
90 90
	static	void	registerBasic();
91 91

  
92 92
public:
include/nel/3d/clip_trav.h (working copy)
100 100

  
101 101
	/// \name Visible List mgt. Those visible models are updated each traverse().
102 102
	//@{
103
	// NB: list is cleared at begining of traverse().
103
	// NB: list is cleared at beginning of traverse().
104 104
	void				addVisibleModel(CTransform *model)
105 105
	{
106 106
		model->_IndexInVisibleList= _CurrentNumVisibleModels;
include/nel/3d/transform.h (working copy)
97 97
class CTransform : public ITransformable
98 98
{
99 99
public:
100
	/// Call at the begining of the program, to register the model
100
	/// Call at the beginning of the program, to register the model
101 101
	static	void	registerBasic();
102 102

  
103 103
	/// get the scene which has created us
......
120 120
	/**
121 121
	 *	Extra init for a model. this method is called by the framework at the very end of CScene::createModel()
122 122
	 *	Warning! if the model is a CTransformShape, then when initModel() is called, Shape and other related member/setup
123
	 *	of IShape::createInstance() are not yet done (because createModel() is called at the begining in createInstance()).
123
	 *	of IShape::createInstance() are not yet done (because createModel() is called at the beginning in createInstance()).
124 124
	 *
125 125
	 *	Because initModel() is called at the very end, deriver could implement anything like creating other models,
126 126
	 *	but not deleting this model...
include/nel/net/pacs_client.h (working copy)
560 560
			client->getPositionSpeedCallback (id, position, speed);
561 561
		}
562 562
		else
563
			NLMISC::nlError ("Pacs client: unkown sub message string");
563
			NLMISC::nlError ("Pacs client: unknown sub message string");
564 564

  
565 565
		// Next message ?
566 566
		msgin.serial (again);
include/nel/3d/landscape_def.h (working copy)
88 88
class	CLandscapeGlobals
89 89
{
90 90
public:
91
	// LANDSCAPE RENDERING CONTEXT.  Landscape must setup it at the begining at refine()/render().
91
	// LANDSCAPE RENDERING CONTEXT.  Landscape must setup it at the beginning at refine()/render().
92 92
	// The current date of LandScape for refine only.
93 93
	static	sint	CurrentDate;
94 94
	// The current date of LandScape for render only.
......
150 150
	static	CLandscapeVBAllocator	*CurrentTileVBAllocator;
151 151

  
152 152

  
153
	// PATCH GLOBAL INTERFACE.  patch must setup them at the begining at refine()/render().
153
	// PATCH GLOBAL INTERFACE.  patch must setup them at the beginning at refine()/render().
154 154
	// NO!!! REMIND: can't have any patch global, since a propagated split()/updateErrorMetric()
155 155
	// can arise. must use Patch pointer.
156 156

  
include/nel/3d/point_light_model.h (working copy)
62 62
class CPointLightModel : public CTransform
63 63
{
64 64
public:
65
	/// Call at the begining of the program, to register the model
65
	/// Call at the beginning of the program, to register the model
66 66
	static	void	registerBasic();
67 67

  
68 68

  
include/nel/3d/landscape_model.h (working copy)
49 49
class	CLandscapeModel : public CTransform
50 50
{
51 51
public:
52
	/// Call at the begining of the program, to register the model
52
	/// Call at the beginning of the program, to register the model
53 53
	static	void	registerBasic();
54 54

  
55 55
public:
include/nel/misc/app_context.h (working copy)
220 220
			if (_Instance == NULL) \
221 221
			{ \
222 222
				/* the nel context MUST be initialised */ \
223
				nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very begining of your application.")); \
223
				nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very beginning of your application.")); \
224 224
				void *ptr = NLMISC::INelContext::getInstance().getSingletonPointer(#className); \
225 225
				if (ptr == NULL) \
226 226
				{ \
......
253 253
			if (_Instance == NULL) \
254 254
			{ \
255 255
				/* the nel context MUST be initialised */ \
256
				nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very begining of your application.")); \
256
				nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very beginning of your application.")); \
257 257
				void *ptr = NLMISC::INelContext::getInstance().getSingletonPointer(#className); \
258 258
				if (ptr == NULL) \
259 259
				{ \
include/nel/3d/mesh_mrm_instance.h (working copy)
56 56
class CMeshMRMInstance : public CMeshBaseInstance
57 57
{
58 58
public:
59
	/// Call at the begining of the program, to register the model
59
	/// Call at the beginning of the program, to register the model
60 60
	static	void	registerBasic();
61 61

  
62 62
protected:
src/ligo/ligo_error.cpp (working copy)
101 101
	"A edge has two times the same corner",	// TwoCornerVertices
102 102
	"A corner is missing in this edge", // CornerIsMissing
103 103
	"A boundary vertex is used by multiple edges", // VertexAlreadyUsed
104
	"Unkown error",						// UnknownError
104
	"Unknown error",						// UnknownError
105 105
};
106 106

  
107 107
// ***************************************************************************
src/ligo/ligo_error.h (working copy)
91 91
		/// Boundary vertex used by multiple edge
92 92
		VertexAlreadyUsed,
93 93

  
94
		/// Unkown error
94
		/// Unknown error
95 95
		UnknownError,
96 96

  
97 97
		/// Error count
include/nel/net/service.h (working copy)
565 565
	if (_Instance == NULL)
566 566
	{
567 567
		/* the nel context MUST be initialised */
568
		nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very begining of your application."));
568
		nlassertex(NLMISC::INelContext::isContextInitialised(), ("You are trying to access a safe singleton without having initialized a NeL context. The simplest correction is to add 'NLMISC::CApplicationContext myApplicationContext;' at the very beginning of your application."));
569 569
		// try to retrieve the safe singleton pointer
570 570
		_Instance = reinterpret_cast<IService*>(NLMISC::INelContext::getInstance().getSingletonPointer("IService"));
571 571
	}
include/nel/3d/anim_detail_trav.h (working copy)
78 78
	// For clipTrav. cleared at beginning of CClipTrav::traverse
79 79
	void				clearVisibleList();
80 80

  
81
	// For ClipTrav only. NB: list is cleared at begining of traverse(). NB: only CTransform are supported
81
	// For ClipTrav only. NB: list is cleared at beginning of traverse(). NB: only CTransform are supported
82 82
	void				addVisibleModel(CTransform *model)
83 83
	{
84 84
		_VisibleList[_CurrentNumVisibleModels]= model;
include/nel/3d/transform_shape.h (working copy)
62 62
class CTransformShape : public CTransform
63 63
{
64 64
public:
65
	/// Call at the begining of the program, to register the model
65
	/// Call at the beginning of the program, to register the model
66 66
	static	void	registerBasic();
67 67

  
68 68
public:
include/nel/misc/file.h (working copy)
135 135

  
136 136
	/// \name Statistics
137 137

  
138
	/// Get the number of file open from the begining of the application. Files can be in a big file.
138
	/// Get the number of file open from the beginning of the application. Files can be in a big file.
139 139
	static uint32	getNumFileOpen() {return _FileOpened;}
140 140

  
141 141
	/// Get the number of read acces to a file.
include/nel/3d/mesh_base_instance.h (working copy)
60 60
class CMeshBaseInstance : public CTransformShape
61 61
{
62 62
public:
63
	/// Call at the begining of the program, to register the model
63
	/// Call at the beginning of the program, to register the model
64 64
	static	void	registerBasic();
65 65

  
66 66
public:
include/nel/misc/pool_memory.h (working copy)
109 109

  
110 110
			ite++;
111 111
		}
112
		// Pointer at the begining
112
		// Pointer at the beginning
113 113
		_BlockPointer=_BlockList.begin();
114 114
	}
115 115

  
src/misc/xml_pack.cpp (working copy)
47 47
		return false;
48 48
	}
49 49

  
50
	/// Advance up to the begining of the next line, incrementing the in/out param lineCount
50
	/// Advance up to the beginning of the next line, incrementing the in/out param lineCount
51 51
	void CXMLPack::skipLine(string::iterator &it, string::iterator end, uint32 &lineCount)
52 52
	{
53 53
		// advance up to end of string or newline char
......
143 143
				nlwarning("Error : invalid pack file sub header at line %u in '%s', can't found element closing '>'", lineCount, xmlPackFileName.c_str());
144 144
				return false;
145 145
			}
146
			// advance to next line (begining of sub file)
146
			// advance to next line (beginning of sub file)
147 147
			skipLine(it, end, lineCount);
148 148

  
149 149
			string::iterator beginOfFile = it;
include/nel/3d/camera.h (working copy)
75 75
class CCamera : public CTransform
76 76
{
77 77
public:
78
	/// Call at the begining of the program, to register the model
78
	/// Call at the beginning of the program, to register the model
79 79
	static	void	registerBasic();
80 80

  
81 81

  
src/3d/driver/opengl/driver_opengl_extension.cpp (working copy)
794 794
	glGetIntegerv(GL_MAX_VERTEX_SHADER_LOCALS_EXT, &numVSLocals);
795 795
	if (numVSLocals < 4 * (12 + 4) + 1 + 3)
796 796
	{
797
		nlwarning("EXT_vertex_shader extension has not much register. Some vertex programm may fail loading");
797
		nlwarning("EXT_vertex_shader extension has not much register. Some vertex program may fail loading");
798 798
		return false;
799 799
	}
800 800
	//
tools/3d/zone_dump/zone_dump.cpp (working copy)
197 197
						// Get the current pos
198 198
						sint32 curPos=output.getPos ();
199 199

  
200
						// File at the begining
200
						// File at the beginning
201 201
						output.seek (0, NLMISC::IStream::begin);
202 202

  
203 203
						// Write the triangle count
include/nel/3d/root_model.h (working copy)
46 46
class CRootModel : public CTransform
47 47
{
48 48
public:
49
	/// Call at the begining of the program, to register the model
49
	/// Call at the beginning of the program, to register the model
50 50
	static	void	registerBasic();
51 51

  
52 52

  
include/nel/3d/patch.h (working copy)
815 815
	CTessFarVertex	BaseFarVertices[4];
816 816

  
817 817

  
818
	// Local info for CTessFace tiles. CPatch must setup them at the begining at refine()/render().
818
	// Local info for CTessFace tiles. CPatch must setup them at the beginning at refine()/render().
819 819
	// For Far Texture coordinates.
820 820
	float			Far0UScale, Far0VScale, Far0UBias, Far0VBias;
821 821
	float			Far1UScale, Far1VScale, Far1UBias, Far1VBias;
include/nel/georges/load_form.h (working copy)
1034 1034
			{
1035 1035
				if (dependencyDates[depends[i]] > packedFiledate)
1036 1036
				{
1037
					nldebug("Dependancy on %s for %s not up to date !",
1037
					nldebug("Dependency on %s for %s not up to date !",
1038 1038
						dictionnary[depends[i]].c_str(), sheetNames[k].c_str());
1039 1039
					NeededToRecompute.push_back(k);
1040 1040
					break;
src/misc/config_file/cf_gramatical.cpp (working copy)
937 937
					}
938 938
					else
939 939
					{
940
						// this var has been created in a parent Cfg, append at the begining of the array
940
						// this var has been created in a parent Cfg, append at the beginning of the array
941 941
						Var.add ((*((vector<NLMISC::CConfigFile::CVar>*)(YYPARSE_PARAM)))[i]);
942 942
						if (Var != (*((vector<NLMISC::CConfigFile::CVar>*)(YYPARSE_PARAM)))[i] && Var.Callback != NULL)
943 943
							(Var.Callback)(Var);
include/nel/misc/xml_pack.h (working copy)
54 54
		 *	return true and advance the it iterator if match is found.
55 55
		 */
56 56
		bool matchString(std::string::iterator &it, std::string::iterator end, const char *text);
57
		/// Advance up to the begining of the next line, incrementing the in/out param lineCount
57
		/// Advance up to the beginning of the next line, incrementing the in/out param lineCount
58 58
		void skipLine(std::string::iterator &it, std::string::iterator end, uint32 &lineCount);
59 59
		///@}
60 60

  
include/nel/3d/quad_grid_clip_manager.h (working copy)
59 59
class CQuadGridClipManager : public CTransform
60 60
{
61 61
public:
62
	/// Call at the begining of the program, to register the model
62
	/// Call at the beginning of the program, to register the model
63 63
	static	void	registerBasic();
64 64

  
65 65
public:
include/nel/3d/vegetable_blend_layer_model.h (working copy)
55 55
class CVegetableBlendLayerModel : public CTransform
56 56
{
57 57
public:
58
	/// Call at the begining of the program, to register the model
58
	/// Call at the beginning of the program, to register the model
59 59
	static	void	registerBasic();
60 60

  
61 61
public:
src/3d/driver/opengl/driver_opengl_texture.cpp (working copy)
126 126
								  TextureMode, ID, 0);
127 127

  
128 128
		// attach depth/stencil render to FBO
129
		// note: for some still unkown reason it's impossible to add
129
		// note: for some still unknown reason it's impossible to add
130 130
		// a stencil buffer as shown in the respective docs (see
131 131
		// opengl.org extension registry). Until a safe approach to add
132 132
		// them is found, there will be no attached stencil for the time
src/3d/driver/direct3d/driver_direct3d.h (working copy)
644 644
	void	*lock (uint size, uint stride, uint &offset);
645 645
	void	unlock ();
646 646

  
647
	// Runtime reset (called at the begining of the frame rendering), blocking lock here.
647
	// Runtime reset (called at the beginning of the frame rendering), blocking lock here.
648 648
	void	reset ();
649 649
};
650 650

  
......
674 674
	void	*lock (uint size, uint &offset);
675 675
	void	unlock ();
676 676

  
677
	// Runtime reset (called at the begining of the frame rendering), blocking lock here.
677
	// Runtime reset (called at the beginning of the frame rendering), blocking lock here.
678 678
	void	reset ();
679 679
};
680 680

  
include/nel/misc/polygon.h (working copy)
81 81
	  *
82 82
	  * The subdivison is in non-constant n*log(n) with n is the number of vertices.
83 83
	  *
84
	  * \param outputPolygons is the list filled with clipped convex polygons. The list is not cleared at the begining.
84
	  * \param outputPolygons is the list filled with clipped convex polygons. The list is not cleared at the beginning.
85 85
	  * New polygons are just appended at the end.
86 86
	  * \param basis is the basis of the polygon projection.
87 87
	  * \return true if the polygon has been subdivided. false if the polygon overlap itself in the XY plane of the basis
include/nel/3d/load_balancing_trav.h (working copy)
172 172
	// For clipTrav. cleared at beginning of CClipTrav::traverse
173 173
	void				clearVisibleList();
174 174

  
175
	// For ClipTrav only. NB: list is cleared at begining of traverse().
175
	// For ClipTrav only. NB: list is cleared at beginning of traverse().
176 176
	void				addVisibleModel(CTransform *model)
177 177
	{
178 178
		_VisibleList[_CurrentNumVisibleModels]= model;
include/nel/3d/mesh_instance.h (working copy)
56 56
class CMeshInstance : public CMeshBaseInstance
57 57
{
58 58
public:
59
	/// Call at the begining of the program, to register the model
59
	/// Call at the beginning of the program, to register the model
60 60
	static	void	registerBasic();
61 61

  
62 62
public: