mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-23 17:28:45 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
e0e1d495dc
commit
46707ef3bc
95 changed files with 163 additions and 172 deletions
|
@ -188,7 +188,7 @@ public:
|
|||
*/
|
||||
float StringLine;
|
||||
|
||||
/// Optionnal: each render*() method can draw a subset of letters. Default is 0/FFFFFFFF
|
||||
/// Optional: each render*() method can draw a subset of letters. Default is 0/FFFFFFFF
|
||||
uint32 SelectStart;
|
||||
uint32 SelectSize;
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ private:
|
|||
/** Just for build process.
|
||||
* NB: we must store palette info by corner (not by vertex) because Matrix Block grouping may insert vertex
|
||||
* discontinuities. eg: a vertex use Matrix18. After Matrix grouping (16matrix max), Matrix18 could be Matrix2 for a group
|
||||
* of face, but Matrix13 for an other!!
|
||||
* of face, but Matrix13 for another!!
|
||||
*/
|
||||
struct CCornerTmp : public CMesh::CCorner
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
* - create a default camera, linked to the scene, and with default frustum as specified above.
|
||||
*
|
||||
* After creation, use the CNELU::Camera to manipulates the camera of scene (but you may change all you want
|
||||
* to this camera or create/use an other camera if you want...)
|
||||
* to this camera or create/use another camera if you want...)
|
||||
* \param viewport the viewport, fullscreen by default.
|
||||
*/
|
||||
static void initScene(CViewport viewport=CViewport());
|
||||
|
|
|
@ -509,7 +509,7 @@ public:
|
|||
*/
|
||||
void setupColorsFromTileFlags(const NLMISC::CRGBA colors[4]);
|
||||
|
||||
/** Set this patch flags from an other one.
|
||||
/** Set this patch flags from another one.
|
||||
* The patchs must match
|
||||
*/
|
||||
void copyTileFlagsFromPatch(const CPatch *src);
|
||||
|
|
|
@ -117,7 +117,7 @@ public:
|
|||
|
||||
/** Detach a bindable object from this located. Ownership is transferred to the caller
|
||||
* Any reference the object may have in the system is lost (targets..)
|
||||
* After that is may be inserted an other system.
|
||||
* After that is may be inserted another system.
|
||||
*/
|
||||
CPSLocatedBindable *unbind(uint index);
|
||||
|
||||
|
|
|
@ -398,7 +398,7 @@ protected:
|
|||
void releaseShapes();
|
||||
|
||||
|
||||
/** Compute (optionnal) mesh colors.
|
||||
/** Compute (optional) mesh colors.
|
||||
* \param startIndex Index of the mesh being processed
|
||||
* \param toProcess Number of meshs to process
|
||||
*/
|
||||
|
|
|
@ -369,7 +369,7 @@ private:
|
|||
void allocTileUv(TTileUvId id);
|
||||
// delete a CTessNearVertex "id", removing it from Patch RenderList, for each not NULL TileFace of "this" face.
|
||||
void deleteTileUv(TTileUvId id);
|
||||
// Just ptr-copy a CTessNearVertex "id" from an other face/vertex id. Do this for each not NULL TileFace.
|
||||
// Just ptr-copy a CTessNearVertex "id" from another face/vertex id. Do this for each not NULL TileFace.
|
||||
void copyTileUv(TTileUvId id, CTessFace *srcFace, TTileUvId srcId);
|
||||
|
||||
// The Base NearVertex must be allocated before.
|
||||
|
|
|
@ -59,7 +59,7 @@ private:
|
|||
|
||||
public:
|
||||
|
||||
/// Copy this tile flags from an other tile
|
||||
/// Copy this tile flags from another tile
|
||||
void copyFlagsFromOther(const CTileElement &other) { Flags = other.Flags; }
|
||||
|
||||
/** The three tile ident. NL_TILE_ELM_LAYER_EMPTY means no Tile for this pass. Tile[0] should be !=NL_TILE_ELM_LAYER_EMPTY.
|
||||
|
|
|
@ -663,7 +663,7 @@ protected:
|
|||
*/
|
||||
virtual sint renderSkinGroupGeom(float /* alphaMRM */, uint /* remainingVertices */, uint8 * /* dest */) {return 0;}
|
||||
/** if supportSkinGrouping(), called to render the primitives of the already skinned vertices (VB activated in the driver)
|
||||
* Optionnaly, fill specRdrPasses with specular rdrPass to sort (used for specular grouping).
|
||||
* Optionally, fill specRdrPasses with specular rdrPass to sort (used for specular grouping).
|
||||
* \param baseVertex value to add to each PBlock index.
|
||||
*/
|
||||
virtual void renderSkinGroupPrimitives(uint /* baseVertex */, std::vector<CSkinSpecularRdrPass> &/* specularRdrPasses */, uint /* skinIndex */) { }
|
||||
|
|
|
@ -107,7 +107,7 @@ public:
|
|||
* setting <0 means -1 and so means DistMax = infinite (default in meshs but multilod meshes).
|
||||
* NB: This apply to the shape direclty!! ie All instances using same shape will be affected
|
||||
*
|
||||
* Note: If the skeleton himself is sticked to an other skeleton, this setup is not taken into account.
|
||||
* Note: If the skeleton himself is sticked to another skeleton, this setup is not taken into account.
|
||||
* ie the skeleton clip follow the ancestor skeleton clip result (ie the first skeleton in hierarchy
|
||||
* which is not sticked).
|
||||
*
|
||||
|
|
|
@ -191,7 +191,7 @@ void splitString(const std::string &str, const std::string &separator, std::vec
|
|||
void splitUCString(const ucstring &ucstr, const ucstring &separator, std::vector<ucstring> &retList);
|
||||
|
||||
// ***************************************************************************
|
||||
/// In a string or ucstring, find a substr and replace it with an other. return true if replaced
|
||||
/// In a string or ucstring, find a substr and replace it with another. return true if replaced
|
||||
template<class T, class U>
|
||||
bool strFindReplace(T &str, const T &strFind, const U &strReplace)
|
||||
{
|
||||
|
|
|
@ -572,7 +572,7 @@ public:
|
|||
* \param tiled If false coordinate are clamped, else the bitmap is considered to tile
|
||||
*/
|
||||
CRGBAF getColor (float x, float y) const;
|
||||
// Get Color with optionnal tiling on axis
|
||||
// Get Color with optional tiling on axis
|
||||
CRGBAF getColor (float x, float y, bool tileU, bool tileV) const;
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
namespace NLMISC
|
||||
{
|
||||
|
||||
/** A simple invisible win32 window, with an optionnal message handling function.
|
||||
/** A simple invisible win32 window, with an optional message handling function.
|
||||
* Possible uses include :
|
||||
* - Creating an icon in the tray (require a window to be passed)
|
||||
* - Creating a message queue (in order to use an IPC mechanism such as WM_COPYDATA)
|
||||
|
@ -42,7 +42,7 @@ class CDummyWindow
|
|||
{
|
||||
public:
|
||||
CDummyWindow();
|
||||
/** Init a dummy window, with an optionnal message handling procedure
|
||||
/** Init a dummy window, with an optional message handling procedure
|
||||
* \return true on success
|
||||
*/
|
||||
bool init(HINSTANCE hInstance, WNDPROC winProc = NULL);
|
||||
|
|
|
@ -120,7 +120,7 @@ public:
|
|||
* \param quat a UNIT quaternion
|
||||
*/
|
||||
void setRot(const CQuat &quat);
|
||||
/** Explicit setup the Rotation/Scale matrix (base) with the rotation part of an other matrix.
|
||||
/** Explicit setup the Rotation/Scale matrix (base) with the rotation part of another matrix.
|
||||
* \param matrix the matrix to copy rot part.
|
||||
*/
|
||||
void setRot(const CMatrix &matrix);
|
||||
|
|
|
@ -1779,35 +1779,30 @@ IDriver::TMessageBoxId CDriverD3D::systemMessageBox (const char* message, const
|
|||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
bool CDriverD3D::activate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
bool CDriverD3D::isActive ()
|
||||
{
|
||||
return (IsWindow(_HWnd) != 0);
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
nlWindow CDriverD3D::getDisplay()
|
||||
{
|
||||
return _HWnd;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
NLMISC::IEventEmitter *CDriverD3D::getEventEmitter()
|
||||
{
|
||||
return &_EventEmitter;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
void CDriverD3D::getWindowSize (uint32 &width, uint32 &height)
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_getWindowSize);
|
||||
|
@ -1825,7 +1820,6 @@ void CDriverD3D::getWindowPos (sint32 &x, sint32 &y)
|
|||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
uint32 CDriverD3D::getImplementationVersion () const
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_getImplementationVersion);
|
||||
|
@ -1833,21 +1827,18 @@ uint32 CDriverD3D::getImplementationVersion () const
|
|||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
const char *CDriverD3D::getDriverInformation ()
|
||||
{
|
||||
return "Directx 9 NeL Driver";
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
uint8 CDriverD3D::getBitPerPixel ()
|
||||
{
|
||||
return _CurrentMode.Depth;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
bool CDriverD3D::clear2D(CRGBA rgba)
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_clear2D);
|
||||
|
@ -2712,7 +2703,7 @@ const char *CDriverD3D::getVideocardInformation ()
|
|||
return name;
|
||||
}
|
||||
else
|
||||
return "Can't get video card informations";
|
||||
return "Can't get video card information";
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
@ -3077,14 +3068,14 @@ bool CDriverD3D::setMonitorColorProperties (const CMonitorColorProperties &prope
|
|||
}
|
||||
// ***************************************************************************
|
||||
|
||||
//****************************************************************************
|
||||
// ****************************************************************************
|
||||
bool CDriverD3D::supportEMBM() const
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_supportEMBM);
|
||||
return _EMBMSupported;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
// ****************************************************************************
|
||||
bool CDriverD3D::isEMBMSupportedAtStage(uint stage) const
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_isEMBMSupportedAtStage);
|
||||
|
@ -3092,7 +3083,7 @@ bool CDriverD3D::isEMBMSupportedAtStage(uint stage) const
|
|||
return stage < _NbNeLTextureStages - 1;
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
// ****************************************************************************
|
||||
void CDriverD3D::setEMBMMatrix(const uint stage, const float mat[4])
|
||||
{
|
||||
H_AUTO_D3D(CDriverD3D_setEMBMMatrix);
|
||||
|
|
|
@ -774,7 +774,7 @@ public:
|
|||
virtual void forceTextureResize(uint divisor);
|
||||
virtual void forceNativeFragmentPrograms(bool /* nativeOnly */) {} // ignored
|
||||
|
||||
// Driver informations
|
||||
// Driver information
|
||||
virtual uint getNumAdapter() const;
|
||||
virtual bool getAdapter(uint adapter, CAdapter &desc) const;
|
||||
virtual bool setAdapter(uint adapter);
|
||||
|
|
|
@ -161,7 +161,7 @@ void CLandscapeModel::clipAndRenderLandscape()
|
|||
CRenderTrav &renderTrav= getOwnerScene()->getRenderTrav();
|
||||
|
||||
// Yes, this is ugly, but the clip pass is finished in render(), for clipping TessBlocks.
|
||||
// This saves an other Landscape patch traversal, so this is faster...
|
||||
// This saves another Landscape patch traversal, so this is faster...
|
||||
// Order them in order which clip faster (first horizontal, then vertical).
|
||||
// NB: TessBlock are ALWAYS clipped with the frustum pyramid, not the clustered one (faster clip for most common cases).
|
||||
CurrentPyramid[0]= clipTrav.WorldFrustumPyramid[NL3D_CLIP_PLANE_LEFT];
|
||||
|
|
|
@ -297,7 +297,7 @@ float CMRMBuilder::computeEdgeCost(const CMRMEdge &edge)
|
|||
{
|
||||
/* The edge is between 2 interfaces but not the same. If we collide it we'll have holes!
|
||||
This problem arise if space beetween interfaces is small. eg: if we setup an interface beetween
|
||||
hair and head, and an other one beetween head and torso, then we'll have this problem in the
|
||||
hair and head, and another one beetween head and torso, then we'll have this problem in the
|
||||
back of the neck.
|
||||
The solution is to make a big big cost to hope we'll never collide them (else Holes...)!!
|
||||
Don't use FLT_MAX to still have a correct order if we don't have choice...
|
||||
|
@ -1030,7 +1030,7 @@ void CMRMBuilder::saveCoarserMesh(CMRMMesh &coarserMesh)
|
|||
index++;
|
||||
}
|
||||
else
|
||||
vert.CoarserIndex=-1; // indicate that this vertex no more exist and is to be geomorphed to an other.
|
||||
vert.CoarserIndex=-1; // indicate that this vertex no more exist and is to be geomorphed to another.
|
||||
}
|
||||
|
||||
|
||||
|
@ -1059,7 +1059,7 @@ void CMRMBuilder::saveCoarserMesh(CMRMMesh &coarserMesh)
|
|||
index++;
|
||||
}
|
||||
else
|
||||
wedge.CoarserIndex=-1; // indicate that this wedge no more exist and is to be geomorphed to an other.
|
||||
wedge.CoarserIndex=-1; // indicate that this wedge no more exist and is to be geomorphed to another.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -559,7 +559,7 @@ void CShapeBank::cancelLoadAsync (const std::string &shapeNameNotLwr)
|
|||
- mesh load async is ended, and the texture is not found in the driver
|
||||
=> texture generate()-d too
|
||||
- mesh state is AsyncLoad_Texture, and begin (but doesn't end) to upload the texture
|
||||
- an other mesh is created syncrhonously using also this texture (thus
|
||||
- another mesh is created syncrhonously using also this texture (thus
|
||||
found in driver, and so just referencing it, no generate)
|
||||
- the async mesh is then canceled, while the texture has not end to load!
|
||||
- the texture is still in memory (the sync mesh still point to it), but with
|
||||
|
@ -742,7 +742,7 @@ void CShapeBank::linkShapeToShapeCache(const string &shapeNameNotLwr, const stri
|
|||
// abort, since same cache name / cache ptr
|
||||
return;
|
||||
|
||||
// If The shape is In the cache of an other Shape Cache, abort.
|
||||
// If The shape is In the cache of another Shape Cache, abort.
|
||||
if( shapeInfo.isAdded )
|
||||
// Abort, because impossible.
|
||||
return;
|
||||
|
|
|
@ -2470,7 +2470,7 @@ void CTessFace::averageTesselationVertices()
|
|||
{
|
||||
// NB: here, just need to compute average of myself with FLeft, because my neighbor FBase
|
||||
// is on same patch (see splitRectangular()), and is average with its FLeft neighbor is done
|
||||
// on an other branch of the recurs call.
|
||||
// on another branch of the recurs call.
|
||||
neighbor= FLeft;
|
||||
}
|
||||
|
||||
|
@ -2514,7 +2514,7 @@ void CTessFace::refreshTesselationGeometry()
|
|||
|
||||
|
||||
/* NB: rectangular case: just need to take SonLeft->VBase, because my neighbor on FBase will compute his son
|
||||
on an other branch of the recurs call.
|
||||
on another branch of the recurs call.
|
||||
*/
|
||||
// re-compute this position (maybe with new noise geometry in Tile Edition).
|
||||
SonLeft->VBase->EndPos= Patch->computeVertex(SonLeft->PVBase.getS(), SonLeft->PVBase.getT());
|
||||
|
|
|
@ -180,7 +180,7 @@ void CTrackSampledCommon::buildCommon(const std::vector<uint16> &timeList, float
|
|||
//===================
|
||||
_BeginTime= beginTime;
|
||||
_EndTime= endTime;
|
||||
// compute deltatime for a frame to an other
|
||||
// compute deltatime for a frame to another
|
||||
uint totalFrameCount= timeList[numKeys-1] - timeList[0];
|
||||
nlassert(totalFrameCount>0);
|
||||
_DeltaTime= (_EndTime-_BeginTime) / totalFrameCount;
|
||||
|
|
|
@ -149,20 +149,20 @@ static const char *WaterVpBump1LayersCode =
|
|||
ADD R0, R2, -R1; #compute reflection vector \n\
|
||||
MAD o[TEX1], R0, c[8], c[8]; \n\
|
||||
";
|
||||
/** Optionnal diffuse texture in stage 3
|
||||
/** Optional diffuse texture in stage 3
|
||||
*/
|
||||
static const char *WaterVpDiffuseMapStage3Code =
|
||||
"DP4 o[TEX3].x, R4, c[13]; #compute uv for diffuse texture \n\
|
||||
DP4 o[TEX3].y, R4, c[14]; \n\
|
||||
";
|
||||
/** Optionnal diffuse texture in stage 2
|
||||
/** Optional diffuse texture in stage 2
|
||||
*/
|
||||
static const char *WaterVpDiffuseMapStage2Code =
|
||||
"DP4 o[TEX2].x, R4, c[13]; #compute uv for diffuse texture \n\
|
||||
DP4 o[TEX2].y, R4, c[14]; \n\
|
||||
";
|
||||
|
||||
/** Optionnal diffuse texture in stage 1
|
||||
/** Optional diffuse texture in stage 1
|
||||
*/
|
||||
static const char *WaterVpDiffuseMapStage1Code =
|
||||
"DP4 o[TEX1].x, R4, c[13]; #compute uv for diffuse texture \n\
|
||||
|
|
|
@ -538,7 +538,7 @@ void CZone::compile(CLandscape *landscape, TZoneMap &loadedZones)
|
|||
nlassert(zone!=this);
|
||||
// insert the zone in the neigborood (if not done...).
|
||||
neighborZones[zoneto]= zone;
|
||||
// Doesn't matter if BaseVertices is already linked to an other zone...
|
||||
// Doesn't matter if BaseVertices is already linked to another zone...
|
||||
// This should be the same pointer in this case...
|
||||
BaseVertices[cur]= zone->getBaseVertex(vertto);
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ bool testWildCard(const char *strIn, const char *wildCard)
|
|||
if( testWildCard(strIn+pos+token.size(), wildCard) )
|
||||
// if succeed, end
|
||||
return true;
|
||||
// fails=> test with an other occurence of token in the string.
|
||||
// fails=> test with another occurence of token in the string.
|
||||
pos= sCopy.find(token, pos+1);
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ bool CAsyncFileManager::cancelLoadTask(const CAsyncFileManager::ICancelCallback
|
|||
|
||||
// If not found, the current running task may be the one we want to cancel. Must wait it.
|
||||
// Beware that this code works because of the CUnfairSynchronized access we made above (ensure that the
|
||||
// taskmanager will end just the current task async (if any) and won't start an other one.
|
||||
// taskmanager will end just the current task async (if any) and won't start another one.
|
||||
waitCurrentTaskToComplete ();
|
||||
|
||||
return false;
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
///\name Object
|
||||
//@{
|
||||
/** Create a keyboard device, that must then be deleted by the caller
|
||||
* An optionnal WinEventEmiter can be provided, so that its flags can be in sync
|
||||
* An optional WinEventEmiter can be provided, so that its flags can be in sync
|
||||
* with a win32 keyboard flags (shift, ctrl, and alt)
|
||||
*/
|
||||
static CDIKeyboard *createKeyboardDevice(IDirectInput8 *di8,
|
||||
|
|
|
@ -1530,7 +1530,7 @@ void CMatrix::serial(IStream &f)
|
|||
// ======================================================================================================
|
||||
void CMatrix::setArbitraryRotI(const CVector &idir)
|
||||
{
|
||||
// avoid gimbal lock. if idir == nearly K, use an other second lead vector
|
||||
// avoid gimbal lock. if idir == nearly K, use another second lead vector
|
||||
if( fabs(idir.z)<0.9f )
|
||||
setRot(idir, CVector::J, CVector::K);
|
||||
else
|
||||
|
@ -1540,7 +1540,7 @@ void CMatrix::setArbitraryRotI(const CVector &idir)
|
|||
|
||||
void CMatrix::setArbitraryRotJ(const CVector &jdir)
|
||||
{
|
||||
// avoid gimbal lock. if jdir == nearly K, use an other second lead vector
|
||||
// avoid gimbal lock. if jdir == nearly K, use another second lead vector
|
||||
if(fabs(jdir.z)<0.9f)
|
||||
setRot(CVector::I, jdir, CVector::K);
|
||||
else
|
||||
|
@ -1550,7 +1550,7 @@ void CMatrix::setArbitraryRotJ(const CVector &jdir)
|
|||
|
||||
void CMatrix::setArbitraryRotK(const CVector &kdir)
|
||||
{
|
||||
// avoid gimbal lock. if kdir == nearly I, use an other second lead vector
|
||||
// avoid gimbal lock. if kdir == nearly I, use another second lead vector
|
||||
if( fabs(kdir.y)<0.9f )
|
||||
setRot(CVector::I, CVector::J, kdir);
|
||||
else
|
||||
|
|
|
@ -329,7 +329,7 @@ float CEdgeCollide::testCircleMove(const CVector2f &start, const CVector2f &del
|
|||
It is important for CGlobalRetriever::testCollisionWithCollisionChains() because of the
|
||||
"SURFACEMOVE NOT DETECTED" Problem.
|
||||
Suppose we can walk on this chain SA/SB (separate Surface A/SurfaceB). Suppose we are near this edge,
|
||||
and on Surface SA, and suppose there is an other chain SB/SC the circle collide with. If we
|
||||
and on Surface SA, and suppose there is another chain SB/SC the circle collide with. If we
|
||||
return 1 (no collision), SB/SC won't be detected (because only SA/?? chains will be tested) and
|
||||
so the cylinder will penetrate SB/SC...
|
||||
This case arise at best if chains SA/SB and chain SB/SC do an angle of 45deg
|
||||
|
|
|
@ -1269,7 +1269,7 @@ void NLPACS::CGlobalRetriever::findCollisionChains(CCollisionSurfaceTemp &cst, c
|
|||
// LeftSurface retrieverInstance is always curInstance.
|
||||
cc.LeftSurface.RetrieverInstanceId= curInstance;
|
||||
|
||||
// If RightSurface is not an "edgeId" ie a pointer on a neighbor surface on an other retrieverInstance.
|
||||
// If RightSurface is not an "edgeId" ie a pointer on a neighbor surface on another retrieverInstance.
|
||||
const CChain &originalChain= localRetriever.getChain(cc.ChainId);
|
||||
if( !originalChain.isBorderChainId(cc.RightSurface.SurfaceId) )
|
||||
{
|
||||
|
|
|
@ -2569,7 +2569,7 @@ void CSourceDSound::crossFade()
|
|||
_Buffer->getFormat(sampleFormat, freq);
|
||||
|
||||
|
||||
// The source is currently playing an other buffer. We will do a hot
|
||||
// The source is currently playing another buffer. We will do a hot
|
||||
// swap between the old and the new buffer. DirectSound maintains two
|
||||
// cursors into the buffer: the play cursor and the write cursor.
|
||||
// The write cursor indicates where we can start writing the new samples.
|
||||
|
|
|
@ -59,7 +59,7 @@ void alTestWarning(const char *src)
|
|||
switch (errcode)
|
||||
{
|
||||
case AL_NO_ERROR: break;
|
||||
case AL_INVALID_NAME: nlwarning("AL: Invalid Name paramater passed to AL call (%s)", src); break;
|
||||
case AL_INVALID_NAME: nlwarning("AL: Invalid Name parameter passed to AL call (%s)", src); break;
|
||||
case AL_INVALID_ENUM: nlwarning("AL: Invalid parameter passed to AL call (%s)", src); break;
|
||||
case AL_INVALID_VALUE: nlwarning("AL: Invalid enum parameter value (%s)", src); break;
|
||||
case AL_INVALID_OPERATION: nlwarning("AL: Illegal call (%s)", src); break;
|
||||
|
|
|
@ -78,7 +78,7 @@ void CMusicSound::importForm(const std::string& filename, NLGEORGES::UFormElm&
|
|||
uint32 CMusicSound::getDuration()
|
||||
{
|
||||
// Cannot know the length of this music sound.
|
||||
// Since its not really a sound (played in an other "channel"), suppose 0
|
||||
// Since its not really a sound (played in another "channel"), suppose 0
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ recursive_search_pathes=
|
|||
// can load dds if the tga is not available
|
||||
extensions_remapping = { "tga", "dds" };
|
||||
|
||||
camera_focal = 75; // this is optionnal
|
||||
camera_focal = 75; // this is optional
|
||||
|
||||
// sound related vars
|
||||
packed_sheet_path = "R:\code\ryzom\data\sound";
|
||||
|
@ -46,33 +46,33 @@ sample_path = "R:\code\ryzom\data\sound\samplebanks\";
|
|||
//
|
||||
|
||||
// Vegetable Landscape Setup (for vegetable edition). search_pathes must be OK.
|
||||
veget_tile_bank= ""; // this is optionnal, but obligatory for Vegetable Edit to work properly
|
||||
veget_tile_far_bank= ""; // this is optionnal, but obligatory for Vegetable Edit to work properly
|
||||
veget_landscape_zones= // this is optionnal, but obligatory for Vegetable Edit to work properly
|
||||
veget_tile_bank= ""; // this is optional, but obligatory for Vegetable Edit to work properly
|
||||
veget_tile_far_bank= ""; // this is optional, but obligatory for Vegetable Edit to work properly
|
||||
veget_landscape_zones= // this is optional, but obligatory for Vegetable Edit to work properly
|
||||
{
|
||||
};
|
||||
veget_landscape_threshold= 0.01; // this is optionnal
|
||||
veget_landscape_tile_near= 50; // this is optionnal
|
||||
veget_landscape_ambient = {17, 54, 100} ; // this is optionnal
|
||||
veget_landscape_diffuse = {241, 226, 244} ; // this is optionnal
|
||||
veget_landscape_snap_height= 1.70; // this is optionnal
|
||||
veget_landscape_threshold= 0.01; // this is optional
|
||||
veget_landscape_tile_near= 50; // this is optional
|
||||
veget_landscape_ambient = {17, 54, 100} ; // this is optional
|
||||
veget_landscape_diffuse = {241, 226, 244} ; // this is optional
|
||||
veget_landscape_snap_height= 1.70; // this is optional
|
||||
|
||||
// veget setup
|
||||
veget_texture= ""; // this is optionnal, but important for Vegetable Edit to behave properly
|
||||
veget_ambient= {80, 80, 80}; // this is optionnal
|
||||
veget_diffuse= {255, 255, 255}; // this is optionnal. NB: works like veget_landscape_diffuse (ie maxLightFactor possible)
|
||||
veget_light_dir= {0, 1, -1}; // this is optionnal
|
||||
veget_wind_dir= {1, 1, 0}; // this is optionnal
|
||||
veget_wind_freq= 0.5; // this is optionnal
|
||||
veget_wind_power= 1; // this is optionnal
|
||||
veget_wind_bend_min= 0; // this is optionnal
|
||||
veget_texture= ""; // this is optional, but important for Vegetable Edit to behave properly
|
||||
veget_ambient= {80, 80, 80}; // this is optional
|
||||
veget_diffuse= {255, 255, 255}; // this is optional. NB: works like veget_landscape_diffuse (ie maxLightFactor possible)
|
||||
veget_light_dir= {0, 1, -1}; // this is optional
|
||||
veget_wind_dir= {1, 1, 0}; // this is optional
|
||||
veget_wind_freq= 0.5; // this is optional
|
||||
veget_wind_power= 1; // this is optional
|
||||
veget_wind_bend_min= 0; // this is optional
|
||||
|
||||
// scene_light setup
|
||||
scene_light_enabled = 1; // this is optionnal. Usefull to load Igs with lights and see correct ligthing
|
||||
scene_light_sun_specular= {255, 255, 255}; // this is optionnal
|
||||
scene_light_sun_diffuse = {255, 255, 255}; // this is optionnal
|
||||
scene_light_sun_ambiant = {64, 64, 64}; // this is optionnal
|
||||
scene_light_sun_dir = {1, 0, -1}; // this is optionnal
|
||||
scene_light_enabled = 1; // this is optional. Usefull to load Igs with lights and see correct ligthing
|
||||
scene_light_sun_specular= {255, 255, 255}; // this is optional
|
||||
scene_light_sun_diffuse = {255, 255, 255}; // this is optional
|
||||
scene_light_sun_ambiant = {64, 64, 64}; // this is optional
|
||||
scene_light_sun_dir = {1, 0, -1}; // this is optional
|
||||
|
||||
|
||||
// scale the played position of all the skeletons by this value (default 1).
|
||||
|
|
|
@ -345,7 +345,7 @@ public:
|
|||
// @}
|
||||
|
||||
/** an interface for objects that want to be called during the loop
|
||||
* First use : display of an optionnal bbox for a particle system
|
||||
* First use : display of an optional bbox for a particle system
|
||||
*/
|
||||
struct IMainLoopCallBack
|
||||
{
|
||||
|
|
|
@ -1318,14 +1318,14 @@ END
|
|||
|
||||
IDD_VEGETABLE_SELECT_OTHER DIALOG DISCARDABLE 0, 0, 187, 146
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Select An Other Vegetable"
|
||||
CAPTION "Select Another Vegetable"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
||||
LISTBOX IDC_LIST1,5,5,95,130,LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
|
||||
WS_TABSTOP
|
||||
LTEXT "Selet the vegetable to copy colors from",IDC_STATIC,110,
|
||||
LTEXT "Select the vegetable to copy colors from",IDC_STATIC,110,
|
||||
75,75,35
|
||||
END
|
||||
|
||||
|
|
|
@ -191,10 +191,10 @@ public:
|
|||
// Init default values
|
||||
CParameter ();
|
||||
|
||||
// The parameter name (optionnal)
|
||||
// The parameter name (optional)
|
||||
std::string Name;
|
||||
|
||||
// The parameter localized name (optionnal)
|
||||
// The parameter localized name (optional)
|
||||
std::string LocalizedName;
|
||||
|
||||
// Default value
|
||||
|
|
|
@ -279,7 +279,7 @@ void CBGDownloaderAccess::CDownloadCoTask::run()
|
|||
for (uint catIndex = 0; catIndex < bnpCatSet.categoryCount(); ++catIndex)
|
||||
{
|
||||
const CBNPCategory &cat = bnpCatSet.getCategory(catIndex);
|
||||
if (cat.isOptional()) // NB : 'optionnal' flag meaning has changed : it now means 'Mainland Patch'
|
||||
if (cat.isOptional()) // NB : 'optional' flag meaning has changed : it now means 'Mainland Patch'
|
||||
// until an enum is added
|
||||
{
|
||||
for (uint f = 0; f < cat.fileCount(); ++f)
|
||||
|
|
|
@ -4371,7 +4371,7 @@ bool CCharacterCL::createCurrentAttackEndPart(CProjectileBuild &destPB,
|
|||
//
|
||||
|
||||
destPB.LocalizedImpact = sheet.IsImpactLocalised;
|
||||
// If this is a secondary projectile, it may start from an other location, which is the impact point of the previous projectile
|
||||
// If this is a secondary projectile, it may start from another location, which is the impact point of the previous projectile
|
||||
// (so it doesn't start from the caster hand, or any around settings that is read from the spell sheet)
|
||||
if (sm) // start stickmode wanted ?
|
||||
{
|
||||
|
|
|
@ -167,7 +167,7 @@ void CSBrickSheet::build (const NLGEORGES::UFormElm &root)
|
|||
if(bf != BRICK_FAMILIES::Unknown)
|
||||
OptionalFamilies.push_back( bf );
|
||||
else
|
||||
nlwarning("Unknown optionnal family %s",sTmp.c_str());
|
||||
nlwarning("Unknown optional family %s",sTmp.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -533,7 +533,7 @@ void CGroundFXManager::update(const NLMISC::CVectorD &camPos)
|
|||
{
|
||||
// NB : we dont activate emitters has soon as the fx is allocated by an entity, because of the way the fx works.
|
||||
// As a matter of fact, if an object move from A to B, the fx may spawn several particles on [AB] in a single frame
|
||||
// So if the FX was previously used by an other entity, a trail of particles may appear between the 2 entities when
|
||||
// So if the FX was previously used by another entity, a trail of particles may appear between the 2 entities when
|
||||
// fx is deallocated from first entity and allocated by the new one
|
||||
if (!_SortedInstances[k]->FXHandle->FX.empty())
|
||||
{
|
||||
|
@ -550,7 +550,7 @@ void CGroundFXManager::update(const NLMISC::CVectorD &camPos)
|
|||
{
|
||||
// NB : we dont activate emitters has soon as the fx is allocated by an entity, because of the way the fx works.
|
||||
// As a matter of fact, if an object move from A to B, the fx may spawn several particles on [AB] in a single frame
|
||||
// So if the FX was previously used by an other entity, a trail of particles may appear between the 2 entities when
|
||||
// So if the FX was previously used by another entity, a trail of particles may appear between the 2 entities when
|
||||
// fx is deallocated from first entity and allocated by the new one
|
||||
if (!_SortedInstances[k]->FXHandle->FXUnderWater.empty())
|
||||
{
|
||||
|
|
|
@ -114,7 +114,7 @@ bool InitMouseWithCursor (bool hardware)
|
|||
return false;
|
||||
}
|
||||
|
||||
// Update mouse informations
|
||||
// Update mouse information
|
||||
UpdateMouse ();
|
||||
|
||||
if (InitMouseFirstTime)
|
||||
|
|
|
@ -532,7 +532,7 @@ public:
|
|||
CCDBNodeLeaf *progs = im->getDbProp("SERVER:TARGET:PROGRAMMES", false);
|
||||
if (!progs)
|
||||
{
|
||||
nlwarning("<CHandlerContextMissions::execute> can't retrieve programms.");
|
||||
nlwarning("<CHandlerContextMissions::execute> can't retrieve programs.");
|
||||
return;
|
||||
}
|
||||
bool missionsToDo = (progs->getValue32() & (1 << BOTCHATTYPE::AvailableMissionFamily)) != 0;
|
||||
|
|
|
@ -687,7 +687,7 @@ static void validateStackItem(CDBCtrlSheet *pCSSrc, CDBCtrlSheet *pCSDst, sint32
|
|||
|
||||
|
||||
// ***************************************************************************
|
||||
/** Swap an item with an other in the inventory.
|
||||
/** Swap an item with another in the inventory.
|
||||
* eg: place in sword in the set, or place an armor in the kit, or swap 2 items in bags
|
||||
*/
|
||||
class CHandlerSwapItem: public IActionHandler
|
||||
|
|
|
@ -63,7 +63,7 @@ struct CChatWindowDesc
|
|||
std::string AHOnCloseButton;
|
||||
std::string AHOnCloseButtonParams;
|
||||
std::string HeaderColor;
|
||||
// default ctor : build optionnal parameters with their default values
|
||||
// default ctor : build optional parameters with their default values
|
||||
CChatWindowDesc();
|
||||
};
|
||||
|
||||
|
@ -224,7 +224,7 @@ public:
|
|||
// dtor
|
||||
~CChatWindowManager();
|
||||
/** Create a new chat window. Each chat window should have a unique name
|
||||
* The window should be inserted in an other container by the caller.
|
||||
* The window should be inserted in another container by the caller.
|
||||
* \param name A unique title to affect to that window
|
||||
* \param listener A listener to react to the event of the window
|
||||
* \return A pointer on the window, or NULL, if creation failed or if name already exists.
|
||||
|
|
|
@ -2709,7 +2709,7 @@ bool CDBCtrlSheet::handleEvent (const CEventDescriptor &event)
|
|||
// In all case, quit
|
||||
_Draging = false;
|
||||
_LastDraggedSheet = NULL;
|
||||
// In call case, end of drag => consider handled to not call an other action
|
||||
// In call case, end of drag => consider handled to not call another action
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -226,7 +226,7 @@ public:
|
|||
CCtrlSheetInfo::TSheetType getType () const;
|
||||
void setType (CCtrlSheetInfo::TSheetType type);
|
||||
|
||||
// Swap the content with an other ctrl_sheet (debug): SheetId, Quantity and Quality
|
||||
// Swap the content with another ctrl_sheet (debug): SheetId, Quantity and Quality
|
||||
void swapSheet(CDBCtrlSheet *other);
|
||||
void setSheetId(sint32 val) {_SheetId.setSInt32(val);}
|
||||
void setQuality(sint32 val) {_Quality.setSInt32(val);}
|
||||
|
@ -355,7 +355,7 @@ public:
|
|||
/// Special ContextHelp for ctrl sheet.
|
||||
virtual void getContextHelp(ucstring &help) const;
|
||||
|
||||
/** true if an item of an other ctrlSheet can be dropped on this slot.
|
||||
/** true if an item of another ctrlSheet can be dropped on this slot.
|
||||
* also return true if src is 0, or if _ItemSlot==UNDEFINED
|
||||
*/
|
||||
bool canDropItem(CDBCtrlSheet *src) const;
|
||||
|
@ -670,7 +670,7 @@ protected:
|
|||
// For an Item only. Usefull for LeftHand Filtering: must have a pointer to the right hand
|
||||
CDBCtrlSheet *_OtherHandItemFilter;
|
||||
|
||||
// This String is optionnal and usage dependent for Item, Macro, or Sentence
|
||||
// This String is optional and usage dependent for Item, Macro, or Sentence
|
||||
std::string _OptString;
|
||||
|
||||
CCDBNodeLeaf *_GrayedLink;
|
||||
|
|
|
@ -464,7 +464,7 @@ void CDBGroupBuildPhrase::fillSelectionMain(uint index)
|
|||
filterBrickSetuped(bricks);
|
||||
}
|
||||
|
||||
// For optionnal or credit, filter by BrickExclusion.
|
||||
// For optional or credit, filter by BrickExclusion.
|
||||
if(index>=1/*+_NumMandatories*/)
|
||||
filterBrickExclusion(bricks, index);
|
||||
|
||||
|
@ -967,7 +967,7 @@ void CDBGroupBuildPhrase::updateParamHrc(uint index)
|
|||
|
||||
// **** From the current View setup of 'word', build the Parameter Hierarchy (in simple tree form)
|
||||
CParamTreeNode rootNode(NULL);
|
||||
// NB: here rootNode represent the Main (ie mandatory, optionnal or credit) brick. Therefore, it is not a real parameter.
|
||||
// NB: here rootNode represent the Main (ie mandatory, optional or credit) brick. Therefore, it is not a real parameter.
|
||||
rootNode.Brick= word->Slot.Brick->asSBrickSheet();
|
||||
rootNode.Valid= true;
|
||||
rootNode.ViewParamFamilies= word->Slot.ViewParamFamilies;
|
||||
|
|
|
@ -106,7 +106,7 @@ public:
|
|||
// enable disaply and set the brick
|
||||
void setBrick(uint32 sheetId);
|
||||
void setParamBrick(uint param, uint32 sheetId);
|
||||
// for optional delete, copy state from an other word
|
||||
// for optional delete, copy state from another word
|
||||
void copySetup(const CWord &w);
|
||||
|
||||
CWord()
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* Special IconList for displaying Phrase Sheet. Optionnaly display progression info
|
||||
* Special IconList for displaying Phrase Sheet. Optionally display progression info
|
||||
* \author Lionel Berenguier
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* Special TextList for displaying Phrase Sheet. Optionnaly display progression info
|
||||
* Special TextList for displaying Phrase Sheet. Optionally display progression info
|
||||
* \author Lionel Berenguier
|
||||
* \author Nevrax France
|
||||
* \date 2003
|
||||
|
|
|
@ -672,7 +672,7 @@ bool scanHTMLColor(const char *src, CRGBA &dest)
|
|||
src = scanColorComponent(src, result.A);
|
||||
if (!src)
|
||||
{
|
||||
// Alpha is optionnal
|
||||
// Alpha is optional
|
||||
result.A = 255;
|
||||
}
|
||||
dest = result;
|
||||
|
|
|
@ -33,7 +33,7 @@ class CGroupTree : public CInterfaceGroup
|
|||
public:
|
||||
|
||||
struct SNode;
|
||||
// optionnal callback that is called when a node has been added
|
||||
// optional callback that is called when a node has been added
|
||||
struct INodeAddedCallback
|
||||
{
|
||||
/** A node has just been added in the CGroupTree object
|
||||
|
|
|
@ -2258,7 +2258,7 @@ void CInterfaceManager::drawContextHelp ()
|
|||
// ***************
|
||||
// **** try to disable
|
||||
// ***************
|
||||
// test disable first, so can recheck asap if an other present. see below
|
||||
// test disable first, so can recheck asap if another present. see below
|
||||
if(_CurCtrlContextHelp)
|
||||
{
|
||||
if(x!=_LastXContextHelp || y!=_LastYContextHelp)
|
||||
|
@ -4469,7 +4469,7 @@ void CInterfaceManager::setMode(uint8 newMode)
|
|||
CGroupContainer *pGC = dynamic_cast<CGroupContainer*>(*itw);
|
||||
if ((pGC != NULL)&&(pGC->getActive()))
|
||||
{
|
||||
// if this GC is a Full modal window, or if it is a modal son of an other GC,
|
||||
// if this GC is a Full modal window, or if it is a modal son of another GC,
|
||||
if (pGC->isModal() || pGC->isModalSon())
|
||||
{
|
||||
setTopWindow(pGC);
|
||||
|
|
|
@ -1362,7 +1362,7 @@ bool CInterfaceParser::parseLink(xmlNodePtr cur, CInterfaceGroup * parentGroup)
|
|||
{
|
||||
splitLinkTargets(std::string((const char*)ptr), parentGroup, targets);
|
||||
}
|
||||
// optionnal action handler
|
||||
// optional action handler
|
||||
std::string action;
|
||||
std::string params;
|
||||
std::string cond;
|
||||
|
@ -3065,7 +3065,7 @@ bool CInterfaceParser::parseCareerGenerator(xmlNodePtr /* cur */)
|
|||
return false;
|
||||
|
||||
|
||||
// knownWindow (optionnal)
|
||||
// knownWindow (optional)
|
||||
prop = xmlGetProp (cur, (xmlChar*)"known_window");
|
||||
if(prop) knownWindow= (const char*)prop;
|
||||
|
||||
|
|
|
@ -246,7 +246,7 @@ public:
|
|||
const void *toPointer(int index = -1);
|
||||
/** Helper functions : get value of the wanted type in the top table after conversion
|
||||
* A default value is used if the stack entry is NULL.
|
||||
* If conversion fails then an exception is thrown (with optionnal msg)
|
||||
* If conversion fails then an exception is thrown (with optional msg)
|
||||
*/
|
||||
bool getTableBooleanValue(const char *name, bool defaultValue= false);
|
||||
double getTableNumberValue(const char *name, double defaultValue= 0);
|
||||
|
|
|
@ -885,7 +885,7 @@ int CLuaIHM::luaUINewIndex(CLuaState &ls)
|
|||
}
|
||||
|
||||
CInterfaceElement *pIE = dynamic_cast<CInterfaceElement *>(pRPT);
|
||||
// ** try to get an other UI (child or parent)
|
||||
// ** try to get another UI (child or parent)
|
||||
CInterfaceElement *uiRelative= getUIRelative(pIE, propName);
|
||||
if(uiRelative)
|
||||
{
|
||||
|
|
|
@ -149,7 +149,7 @@ bool CHugeListObs::init()
|
|||
_HasNext = im->getDbProp(dbPath + ":HAS_NEXT", false);
|
||||
if (!_HasNext) return false;
|
||||
|
||||
// optionnal (rolemaster Trading only)
|
||||
// optional (rolemaster Trading only)
|
||||
_RoleMasterFlagDB = im->getDbProp(dbPath + ":ROLEMASTER_FLAGS", false);
|
||||
_RoleMasterRaceDB = im->getDbProp(dbPath + ":ROLEMASTER_RACE", false);
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
CPeopleList();
|
||||
/** create a list of people from the given description
|
||||
* \param desc description of the people list
|
||||
* \param chat optionnal chat box in the list
|
||||
* \param chat optional chat box in the list
|
||||
* \return true if the list could be
|
||||
*/
|
||||
bool create(const CPeopleListDesc &desc, const CChatWindowDesc *chat = NULL);
|
||||
|
|
|
@ -82,10 +82,10 @@ public:
|
|||
// Or operation with a SkillValue.
|
||||
void orV(const CSkillValue &req);
|
||||
|
||||
// And operation with an other Req Skill Formula. NB: if this.empty, ope=
|
||||
// And operation with another Req Skill Formula. NB: if this.empty, ope=
|
||||
void andV(const CReqSkillFormula &req);
|
||||
|
||||
// Or operation with an other Req Skill Formula
|
||||
// Or operation with another Req Skill Formula
|
||||
void orV(const CReqSkillFormula &req);
|
||||
|
||||
// empty formula?
|
||||
|
|
|
@ -122,7 +122,7 @@ protected:
|
|||
// If true, setTextFormatted() is used instead of setText()
|
||||
bool _IsTextFormatTaged;
|
||||
|
||||
// Optionnal ucstring modifier
|
||||
// Optional ucstring modifier
|
||||
IOnReceiveTextId *_StringModifier;
|
||||
|
||||
#if defined(NL_DEBUG)
|
||||
|
|
|
@ -1580,7 +1580,7 @@ void initPatch()
|
|||
}
|
||||
|
||||
// ***************************************************************************
|
||||
// Called after the check has been done. The page is full of optionnal categories that must be selected for patching
|
||||
// Called after the check has been done. The page is full of optional categories that must be selected for patching
|
||||
class CAHLoginPatch : public IActionHandler
|
||||
{
|
||||
virtual void execute (CCtrlBase * /* pCaller */, const string &/* Params */)
|
||||
|
@ -1638,7 +1638,7 @@ class CAHLoginPatch : public IActionHandler
|
|||
REGISTER_ACTION_HANDLER (CAHLoginPatch, "login_patch");
|
||||
|
||||
// ***************************************************************************
|
||||
// Called after the check has been done. The page is full of optionnal categories that must be selected for patching
|
||||
// Called after the check has been done. The page is full of optional categories that must be selected for patching
|
||||
class CAHClosePatch : public IActionHandler
|
||||
{
|
||||
virtual void execute (CCtrlBase * /* pCaller */, const string &/* Params */)
|
||||
|
@ -2174,7 +2174,7 @@ void initDataScan()
|
|||
}
|
||||
|
||||
// ***************************************************************************
|
||||
// Called after the check has been done. The page is full of optionnal categories that must be selected for patching
|
||||
// Called after the check has been done. The page is full of optional categories that must be selected for patching
|
||||
class CAHOnScanDataStart : public IActionHandler
|
||||
{
|
||||
virtual void execute (CCtrlBase * /* pCaller */, const string &/* Params */)
|
||||
|
|
|
@ -3018,10 +3018,10 @@ void CScanDataThread::run ()
|
|||
// ****************************************************************************
|
||||
uint32 CPatchManager::SPatchInfo::getAvailablePatchsBitfield() const
|
||||
{
|
||||
// About the test (until a patch enum is added, we use the 'optionnal' flag)
|
||||
// Non optionnal -> must patch it (will be for RoS)
|
||||
// Optionnal -> Will be for Mainland
|
||||
// Required : stands for 'bnp' required by the Optionnal bnps !! so ignore only RoS is wanted
|
||||
// About the test (until a patch enum is added, we use the 'optional' flag)
|
||||
// Non optional -> must patch it (will be for RoS)
|
||||
// Optional -> Will be for Mainland
|
||||
// Required : stands for 'bnp' required by the Optional bnps !! so ignore only RoS is wanted
|
||||
|
||||
uint32 result = 0;
|
||||
if (!NonOptCat.empty())
|
||||
|
|
|
@ -89,7 +89,7 @@ public:
|
|||
struct SFileToPatch
|
||||
{
|
||||
std::string FileName; // Dest file for the patch
|
||||
std::string SrcFileName; // Optionnal src file to which apply patch (empty unless some version of the file, possibly with
|
||||
std::string SrcFileName; // Optional src file to which apply patch (empty unless some version of the file, possibly with
|
||||
// all patchs applied, was found in the /unpack directory due to a download by the background downloader)
|
||||
std::vector<uint32> Patches;
|
||||
std::vector<uint32> PatcheSizes;
|
||||
|
@ -178,7 +178,7 @@ public:
|
|||
// if the checkThread ended and is ok then the getDesc* methods can be called
|
||||
bool isCheckThreadEnded(bool &ok);
|
||||
|
||||
// Get all the optionnal categories to display for patching
|
||||
// Get all the optional categories to display for patching
|
||||
void getInfoToDisp(SPatchInfo &piOut);
|
||||
|
||||
void forceStopCheckThread();
|
||||
|
|
|
@ -400,11 +400,11 @@ bool computeAnimSet(const CAnimationSet *&animSet, MBEHAV::EMode mode, const str
|
|||
|
||||
//-----------------------------------------------
|
||||
// dump :
|
||||
// Create a file with informations to debug.
|
||||
// Create a file with information to debug.
|
||||
//-----------------------------------------------
|
||||
void dump(const std::string &name)
|
||||
{
|
||||
// Write informations to start as the version
|
||||
// Write information to start as the version
|
||||
COFile fStart;
|
||||
if(fStart.open(name + "_start.rec", false, false))
|
||||
{
|
||||
|
@ -477,7 +477,7 @@ void loadDump(const std::string &name)
|
|||
{
|
||||
CVectorD currentPos;
|
||||
|
||||
// Load informations to start as the version
|
||||
// Load information to start as the version
|
||||
CIFile fStart;
|
||||
if(fStart.open(name + "_start.rec", false))
|
||||
{
|
||||
|
|
|
@ -249,7 +249,7 @@ He can change the current act
|
|||
- getRuntimeActs() : return act description
|
||||
- requestStartAct(): ask the DSS to start another act
|
||||
- updateActPositionDescriptions(): update the description of acts
|
||||
He can use DM function such teleport himself to an other character
|
||||
He can use DM function such teleport himself to another character
|
||||
- requestTeleportOneCharacterToAnother: teleport the dm to another plyer character.
|
||||
He can dynamically change the Weather or the Season.
|
||||
- requestSetWeather: change the current weather at runtime or edit mode
|
||||
|
@ -380,7 +380,7 @@ Sessions infos:
|
|||
- getAiInstance: get the id of the current AiInstance. One AiInstance is created by session.
|
||||
- getSessionType: get the type of the current session (edition / animation)
|
||||
- isSessionOwner: is the player the owner of the current session
|
||||
- getEditSessionLink: is the current session linked to an other session
|
||||
- getEditSessionLink: is the current session linked to another session
|
||||
- getScenarioHeader: get header info of current scenario (animation function). Enable to know divers info set into the header of a scenario.
|
||||
Quotas infos:
|
||||
- getMaxNpcs: get the maximal number of npc allowed by scenario.
|
||||
|
@ -502,7 +502,7 @@ public:
|
|||
const std::string& instanceId, const std::string& attrName, sint32 position,
|
||||
const std::string& key, CObject* value);
|
||||
|
||||
/*! Move a node form the current Scenario from a position to an other (in edition Mode)
|
||||
/*! Move a node form the current Scenario from a position to another (in edition Mode)
|
||||
The initial position is defined by instanceId, attrName, position.
|
||||
The final position is defined by desInstanceId, destAttrName, destPosition.
|
||||
*/
|
||||
|
@ -679,7 +679,7 @@ public:
|
|||
const TActPositionDescriptions& getRuntimeActs() const { return _ActPositionDescriptions; }
|
||||
|
||||
/*!
|
||||
DM function that enable the dm to teleport to an other character (player).
|
||||
DM function that enable the dm to teleport to another character (player).
|
||||
(Right click in the participant list)
|
||||
\param sessionId The id of the session
|
||||
\param sourceCharId The id of the character that will be teleport
|
||||
|
|
|
@ -59,7 +59,7 @@ void CToolMaintainedAction::cancel()
|
|||
bool CToolMaintainedAction::onMouseLeftButtonDown()
|
||||
{
|
||||
//H_AUTO(R2_CToolMaintainedAction_onMouseLeftButtonDown)
|
||||
CTool::TSmartPtr holdThis(this); // prevent deletion by son (if they set an other tool)
|
||||
CTool::TSmartPtr holdThis(this); // prevent deletion by son (if they set another tool)
|
||||
// TODO nico : find a more general system than this, because
|
||||
if (_State == Action) return true; // may happen if focus was lost
|
||||
if (_State == Canceling)
|
||||
|
|
|
@ -55,7 +55,7 @@ CVariable<string> SaveShardRoot("variables", "SaveShardRoot", "Root directory of
|
|||
// stats variables
|
||||
CVariable<NLMISC::TTime> BSLastAckTime("BSIF", "BSLastAckTime", "The timestamp of the last ack received from backup system", 0, 0, true);
|
||||
CVariable<NLMISC::TTime> BSTimeSinceLastAck("BSIF", "BSTimeSinceLastAck", "The time since the last ack from the backup system", 0, 0, true);
|
||||
CVariable<NLMISC::TTime> BSLastAckDelay("BSIF", "BSLastAckDelay", "The time it took for the last received ack to be recieved from slowest of our connected BS services", 0, 0, true);
|
||||
CVariable<NLMISC::TTime> BSLastAckDelay("BSIF", "BSLastAckDelay", "The time it took for the last received ack to be received from slowest of our connected BS services", 0, 0, true);
|
||||
CVariable<uint32> BSResponseTime("BSIF", "BSResponseTime", "Latest/average time (in sec) between BS request and response", 0, 20, false );
|
||||
|
||||
|
||||
|
@ -220,7 +220,7 @@ NLMISC::CSmartPtr<IBackupGenericAckCallback> CBackupInterfaceSingleton::popGener
|
|||
// if there are untreated callbacks in the generic responses container then yell
|
||||
while (!_GenericResponses.empty() && sint32(_GenericResponses.front().first-requestId)<0)
|
||||
{
|
||||
STOP("Skipping untreated generic callback for request: "<<_GenericResponses.front().first<<" becuase we are treating request id: "<<requestId);
|
||||
STOP("Skipping untreated generic callback for request: "<<_GenericResponses.front().first<<" because we are treating request id: "<<requestId);
|
||||
_GenericResponses.pop_front();
|
||||
}
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ private:
|
|||
* To be used by both IOS & EGS
|
||||
*
|
||||
* \TODO : Would be good to generalize the pattern used as something like NLMISC::CBinaryRelation<CompoundA, CompoundB, Relation>
|
||||
* This would avoid to have fields for one service that aren't used by an other (like the historic...)
|
||||
* This would avoid to have fields for one service that aren't used by another (like the historic...)
|
||||
*
|
||||
* \author Nicolas Vizerie
|
||||
* \author Nevrax France
|
||||
|
|
|
@ -861,7 +861,7 @@ namespace RYMSG
|
|||
bool _DontFollow;
|
||||
// if that bot is a building bot it will be caught by outpost system
|
||||
bool _BuildingBot;
|
||||
// optionnal and rare properties
|
||||
// optional and rare properties
|
||||
std::vector< std::string > _OptionalProperties;
|
||||
// List of news channel.
|
||||
std::vector< std::string > _NewsChannels;
|
||||
|
@ -1224,7 +1224,7 @@ namespace RYMSG
|
|||
_BuildingBot = value;
|
||||
|
||||
}
|
||||
// optionnal and rare properties
|
||||
// optional and rare properties
|
||||
const std::vector< std::string > &getOptionalProperties() const
|
||||
{
|
||||
return _OptionalProperties;
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace R2
|
|||
std::string getSheetAccessInfo(const std::string& sheetClient, const std::string& sheetServer="") const;
|
||||
std::string getIslandAccessInfo(const std::string& islandeName) const;
|
||||
void getRingAccessAsMap(const std::string& ringAccess, std::map<std::string, int> & ringAccessAsMap) const;
|
||||
// Upgrade a ring access by an other eg "d1:f3:l1" + "d3:f1:j1" => "d3:f2:l1:j1"
|
||||
// Upgrade a ring access by another eg "d1:f3:l1" + "d3:f1:j1" => "d3:f2:l1:j1"
|
||||
std::string upgradeRingAccess(const std::string& defaultValue, const std::string& bonusValue) const;
|
||||
bool verifyRight(const std::string& askedAcces, const std::string& allowedAccess) const;
|
||||
bool verifyRight(const std::map<std::string, int>& askedAccesMap, const std::map<std::string, int>& allowedAccessMap, std::string& package, int& neededLevel, int& charLevel) const;
|
||||
|
|
|
@ -3289,7 +3289,7 @@ bool CServerEditionModule::unkickPioneerImpl(TSessionId sessionId, TCharId charI
|
|||
if (connectedSessionId != sessionId)
|
||||
{
|
||||
outMsg += NLMISC::toString(
|
||||
"Refuse to unkick the character %u from session %u because he is connected to an other session %u",
|
||||
"Refuse to unkick the character %u from session %u because he is connected to another session %u",
|
||||
charId, sessionId.asInt(), connectedSessionId.asInt() ) ;
|
||||
return false;
|
||||
}
|
||||
|
@ -3362,7 +3362,7 @@ bool CServerEditionModule::kickPioneerImpl(TSessionId sessionId, TCharId charId,
|
|||
if (connectedSessionId != sessionId)
|
||||
{
|
||||
outMsg += NLMISC::toString(
|
||||
"Refuse to kick the character %u from session %u because he is connected to an other session %u",
|
||||
"Refuse to kick the character %u from session %u because he is connected to another session %u",
|
||||
charId, sessionId.asInt(), connectedSessionId.asInt() ) ;
|
||||
return false;
|
||||
}
|
||||
|
@ -3409,7 +3409,7 @@ bool CServerEditionModule::kickPioneerImpl(TSessionId sessionId, TCharId charId,
|
|||
if (allowedChar->second.SessionId != sessionId)
|
||||
{
|
||||
outMsg += NLMISC::toString(
|
||||
"R2Ed: Refuse to kick the character %u from session %u because he is connecting to an other session %u",
|
||||
"R2Ed: Refuse to kick the character %u from session %u because he is connecting to another session %u",
|
||||
charId, sessionId.asInt(), allowedChar->second.SessionId.asInt()
|
||||
);
|
||||
|
||||
|
@ -3472,7 +3472,7 @@ bool CServerEditionModule::removeCharacterFromSessionImpl(TSessionId sessionId,
|
|||
TSessionId connectedSessionId = foundPioneerSession->second;
|
||||
if (connectedSessionId != sessionId)
|
||||
{
|
||||
outMsg += NLMISC::toString("Refuse to remove the character %u from session %u because he is connected to an other session %u",
|
||||
outMsg += NLMISC::toString("Refuse to remove the character %u from session %u because he is connected to another session %u",
|
||||
charId, sessionId.asInt(), connectedSessionId.asInt() );
|
||||
return false;
|
||||
}
|
||||
|
@ -3503,7 +3503,7 @@ bool CServerEditionModule::removeCharacterFromSessionImpl(TSessionId sessionId,
|
|||
|
||||
if (allowedChar->second.SessionId != sessionId)
|
||||
{
|
||||
outMsg += NLMISC::toString("R2Ed: Refuse to remove the character %u from session %u because he is connecting to an other session %u",
|
||||
outMsg += NLMISC::toString("R2Ed: Refuse to remove the character %u from session %u because he is connecting to another session %u",
|
||||
charId, sessionId.asInt(), allowedChar->second.SessionId.asInt());
|
||||
|
||||
return false;
|
||||
|
@ -3567,7 +3567,7 @@ bool CServerEditionModule::teleportOneCharacterToAnotherImpl(TSessionId sessionI
|
|||
if (session) { scenario = session->getScenario(); }
|
||||
if (!session || !scenario)
|
||||
{
|
||||
msg = toString("Try to teleport a character %u to an other character %u but in a session %u that do not exist", source, dest, session);
|
||||
msg = toString("Try to teleport a character %u to another character %u but in a session %u that do not exist", source, dest, session);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -3578,7 +3578,7 @@ bool CServerEditionModule::teleportOneCharacterToAnotherImpl(TSessionId sessionI
|
|||
|
||||
if (! sourceCharOk || !destCharOk)
|
||||
{
|
||||
msg = toString("Try to teleport a character %u %sto an other character %u %sin the session %u",
|
||||
msg = toString("Try to teleport a character %u %sto another character %u %sin the session %u",
|
||||
source, sourceCharOk?"":"that is not present in the current session ",
|
||||
dest, destCharOk?"":"that is not present in the current session ",
|
||||
session);
|
||||
|
@ -3596,7 +3596,7 @@ bool CServerEditionModule::teleportOneCharacterToAnotherImpl(TSessionId sessionI
|
|||
|
||||
if (_CharacterControlProxy.isNull())
|
||||
{
|
||||
msg="Try to tp to an other player but no EGS?";
|
||||
msg="Try to tp to another player but no EGS?";
|
||||
return false;
|
||||
}
|
||||
CCharacterControlItfProxy proxy(_CharacterControlProxy);
|
||||
|
|
|
@ -163,7 +163,7 @@ namespace R2
|
|||
virtual void characterKicked(NLNET::IModuleProxy *sender, TSessionId sessionId, TCharId charId);
|
||||
virtual void characterUnkicked(NLNET::IModuleProxy *sender, TSessionId sessionId, TCharId charId);
|
||||
|
||||
// Session manager report that a character must be teleport to an other location
|
||||
// Session manager report that a character must be teleport to another location
|
||||
virtual void teleportOneCharacterToAnother(NLNET::IModuleProxy *sender, TSessionId sessionId, TCharId sourceCharId, TCharId destCharId);
|
||||
virtual void teleportWhileUploadingScenario(NLNET::IModuleProxy *sender, const std::string& island, const std::string& entryPoint, const std::string& season);
|
||||
|
||||
|
@ -340,7 +340,7 @@ namespace R2
|
|||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, listPioneers, "display the list of pionnieers", "no args")
|
||||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, kickPioneer, "Kick a player out of a session", "<sesionId> <charId>")
|
||||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, unkickPioneer, "Unkick a player from a session", "<sesionId> <charId>")
|
||||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, teleportOneCharacterToAnother, "Teleport a player to an other player in the same session", "<sesionId> <charId> <targetCharId>")
|
||||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, teleportOneCharacterToAnother, "Teleport a player to another player in the same session", "<sesionId> <charId> <targetCharId>")
|
||||
NLMISC_COMMAND_HANDLER_ADD(CServerEditionModule, displayPioneer, "display a pionnieer", "<charId>")
|
||||
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ namespace ADMIN
|
|||
// precompute the service name
|
||||
_ServiceAlias = makeServiceAlias();
|
||||
|
||||
// loop for an optionnal 'dontUseShardOrders' flag in init params
|
||||
// loop for an optional 'dontUseShardOrders' flag in init params
|
||||
const TParsedCommandLine *duso = pcl.getParam("dontUseShardOrders");
|
||||
if (duso != NULL)
|
||||
_DontUseShardOrders = (duso->ParamValue == "true" || duso->ParamName == "1");
|
||||
|
|
|
@ -1518,7 +1518,7 @@ void receiveMissionItems_ssc_(CStateInstance* entity, CScriptStack& stack)
|
|||
}
|
||||
}
|
||||
|
||||
// A npc give a mission to take an item given by an other npc
|
||||
// A npc give a mission to take an item given by another npc
|
||||
// but the item instead of being a r2_plot_item is a normal item like system_mp or big armor
|
||||
if ( r2PlotItemSheetId.find(sheetId) == r2PlotItemSheetId.end())
|
||||
{
|
||||
|
@ -1683,7 +1683,7 @@ void giveMissionItems_ssc_(CStateInstance* entity, CScriptStack& stack)
|
|||
}
|
||||
}
|
||||
|
||||
// A npc give a mission to give a item to an other npc
|
||||
// A npc give a mission to give a item to another npc
|
||||
// but the item instead of being a r2_plot_item is a normal item like system_mp or big armor
|
||||
if ( r2PlotItemSheetId.find(sheetId) == r2PlotItemSheetId.end())
|
||||
{
|
||||
|
|
|
@ -671,7 +671,7 @@ static void addGroupDescriptionToEventAction(const CAIAliasDescriptionNode *tree
|
|||
case AITypeFolder:
|
||||
{
|
||||
string cname = nodeClass(child);
|
||||
// parse optionnal group descriptions
|
||||
// parse optional group descriptions
|
||||
if (cname == "group_descriptions")
|
||||
{
|
||||
CAIActions::exec("SETACTN", treeNode?treeNode->getAlias():uniqueId);
|
||||
|
|
|
@ -1280,7 +1280,7 @@ void CCreature::setBotDescription( const CGenNpcDescMsgImp& description )
|
|||
_ContextTexts[i].second = description.getContextOptions()[i].getDetail();
|
||||
}
|
||||
|
||||
// let's parse optionnal properties
|
||||
// let's parse optional properties
|
||||
for ( uint i = 0; i < description.getOptionalProperties().size(); i++ )
|
||||
{
|
||||
std::vector< std::string > result;
|
||||
|
|
|
@ -559,7 +559,7 @@ void CStaticBrick::readStaticBrick( const NLGEORGES::UFormElm &root, const NLMIS
|
|||
if(bf != BRICK_FAMILIES::Unknown)
|
||||
OptionalFamilies.insert( bf );
|
||||
else
|
||||
nlwarning("Unknown optionnal family %s",value.c_str());
|
||||
nlwarning("Unknown optional family %s",value.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -457,7 +457,7 @@ public:
|
|||
// get brick from family/index
|
||||
static const CStaticBrick *getBrickFromFamilyIndex(uint16 family, uint16 index);
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticBrick &o);
|
||||
|
||||
private:
|
||||
|
|
|
@ -835,7 +835,7 @@ public:
|
|||
/// called when the sheet is removed
|
||||
void removed() {}
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticItem &o);
|
||||
|
||||
/** Get the base weigth for an item.
|
||||
|
|
|
@ -185,7 +185,7 @@ public :
|
|||
/// called when the sheet is removed
|
||||
void removed() {}
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticXpStagesTable &o);
|
||||
|
||||
std::vector< SStageTable > XpStagesTables;
|
||||
|
@ -647,7 +647,7 @@ public:
|
|||
/// called when the sheet is removed
|
||||
void removed() { }
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticCreatures &o);
|
||||
|
||||
/// recompute CreatureDamagePerHit according to success chance table and CreatureDamagePerHitWithoutAverageDodge
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
/// Removed
|
||||
void removed() {}
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticRolemasterPhrase &o);
|
||||
|
||||
public:
|
||||
|
|
|
@ -218,7 +218,7 @@ void CStaticSuccessTable::readGeorges (const CSmartPtr<UForm> &form, const CShee
|
|||
//--------------------------------------------------------------
|
||||
// reloadSheet
|
||||
//--------------------------------------------------------------
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void CStaticSuccessTable::reloadSheet(const CStaticSuccessTable &o)
|
||||
{
|
||||
// nothing special, but check correct size
|
||||
|
|
|
@ -96,7 +96,7 @@ public:
|
|||
/// called when the sheet is removed
|
||||
void removed() {}
|
||||
|
||||
/// called to copy from an other sheet (operator= + care ptrs)
|
||||
/// called to copy from another sheet (operator= + care ptrs)
|
||||
void reloadSheet(const CStaticSuccessTable &o);
|
||||
|
||||
/**
|
||||
|
|
|
@ -58,7 +58,7 @@ void CAIInfosOnEntityMsgImp::callback (const std::string &name, NLNET::TServiceI
|
|||
CEntityBase *entity = CEntityBaseManager::getEntityBasePtr(EntityRowId);
|
||||
if (!entity)
|
||||
{
|
||||
nlwarning("<CAIInfosOnEntityMsgImp> recieved infos on unknown entity");
|
||||
nlwarning("<CAIInfosOnEntityMsgImp> received infos on unknown entity");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -4886,7 +4886,7 @@ void CCombatPhrase::flushDelayedEvents()
|
|||
case EventDodge:
|
||||
case EventParry:
|
||||
{
|
||||
// don't send a flying text if some damage is done (for instance on an other entity or with the left weapon)
|
||||
// don't send a flying text if some damage is done (for instance on another entity or with the left weapon)
|
||||
// don't send a flying text if not wanted
|
||||
bool sendFlyingText= _Behaviour.DeltaHP==0 && ae.SendFlyingText;
|
||||
// don't send a dodge/parry flying text if both Miss and DodgeParry happened (eg: can happen if right weapon attack miss, and left weapon attack is dodged)
|
||||
|
|
|
@ -327,7 +327,7 @@ protected:
|
|||
/// Atomic flag: is the branch an atomic group, or is the leaf a member of an atomic group
|
||||
bool _Atomic;
|
||||
|
||||
/// Optionnal callback pointer.
|
||||
/// Optional callback pointer.
|
||||
TNodeChangeCallback _ChangeCallback;
|
||||
|
||||
};
|
||||
|
|
|
@ -1304,7 +1304,7 @@ public:
|
|||
sint processMissionMultipleEvent( CMissionEvent & event, TAIAlias alias = CAIAliasTranslator::Invalid);
|
||||
/// process a mission event for the missions took by this player
|
||||
bool processMissionUserEvent(std::list< CMissionEvent* > & eventList,TAIAlias alias);
|
||||
/// process a mission event for a specific mission and optionnally for a specific step
|
||||
/// process a mission event for a specific mission and optionally for a specific step
|
||||
bool processMissionStepUserEvent(std::list< CMissionEvent* > & eventList, uint missionAlias, uint32 stepIndex );
|
||||
/// make a mission advance through bot chat
|
||||
void botChatMissionAdvance( uint8 index );
|
||||
|
|
|
@ -615,7 +615,7 @@ NLMISC_COMMAND( displayChatClients, "Display the list of clients", "" )
|
|||
return true;
|
||||
}
|
||||
|
||||
NLMISC_COMMAND( displayChatGroups, "Display the list of chat groups, optionnaly, display universe chat group and/or player audience groups", "[universe] [player]" )
|
||||
NLMISC_COMMAND( displayChatGroups, "Display the list of chat groups, optionally, display universe chat group and/or player audience groups", "[universe] [player]" )
|
||||
{
|
||||
bool displayUniverse = false;
|
||||
bool playerAudience = false;
|
||||
|
@ -638,7 +638,7 @@ NLMISC_COMMAND( displayChatGroups, "Display the list of chat groups, optionnaly,
|
|||
return true;
|
||||
}
|
||||
|
||||
NLMISC_COMMAND( displayChatAudience, "Display the current chat dynamic audience for a player, optionnaly, force the update", "<playerId> [update]" )
|
||||
NLMISC_COMMAND( displayChatAudience, "Display the current chat dynamic audience for a player, optionally, force the update", "<playerId> [update]" )
|
||||
{
|
||||
bool update = false;
|
||||
if (args.size() < 1)
|
||||
|
|
|
@ -733,7 +733,7 @@ bool CQueryParser::parseDATE(CQueryParser::iterator &it, CQueryParser::iterator
|
|||
goto noHour;
|
||||
if (!parseINT(it, end))
|
||||
goto noHour;
|
||||
// optionnal sec
|
||||
// optional sec
|
||||
rew = it;
|
||||
if (getNextToken(it, end).TokenType != tt_COLON)
|
||||
goto noHour;
|
||||
|
|
|
@ -83,7 +83,7 @@ bool CNameManager::assignName(uint32 charId, const ucstring & ucName, uint32 hom
|
|||
|
||||
if (_Names.getBToAMap().find(charSlot) != _Names.getBToAMap().end())
|
||||
{
|
||||
// the character is associated to an other name
|
||||
// the character is associated to another name
|
||||
_Names.removeWithB(charSlot);
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ public:
|
|||
return _VarName;
|
||||
}
|
||||
|
||||
/// Evaluate the content of the variable with an optionnal sub part.
|
||||
/// Evaluate the content of the variable with an optional sub part.
|
||||
virtual std::string evalVar(const std::string &subPart) = 0;
|
||||
|
||||
/** Factory method to create new variable. Caller become responsible
|
||||
|
@ -435,7 +435,7 @@ public:
|
|||
/** Install the generated script into the destination primitive files */
|
||||
bool installCompiledMission(NLLIGO::CLigoConfig &ligoConfig, const std::string &primFileName);
|
||||
|
||||
/// Publish the modified to the path paramater
|
||||
/// Publish the modified to the path parameter
|
||||
bool publishFiles(const std::string &serverPathPrim, const std::string &serverPathText, const std::string &localPathText);
|
||||
|
||||
/// Search for text in the file : add it if it's not in
|
||||
|
|
|
@ -1741,7 +1741,7 @@ class CContentKill : public CContentObjective
|
|||
|
||||
}
|
||||
|
||||
// add optionnal place
|
||||
// add optional place
|
||||
if (!_Place._VarValue.empty())
|
||||
{
|
||||
for (uint i=0; i<predef.size(); ++i)
|
||||
|
|
|
@ -448,7 +448,7 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
// look for an optionnal jump
|
||||
// look for an optional jump
|
||||
child = getPrimitiveChild(prim, TPrimitiveClassPredicate("jump_to"));
|
||||
if (child)
|
||||
{
|
||||
|
|
|
@ -457,7 +457,7 @@ private:
|
|||
string _ReqSkill;
|
||||
/// The list of properties
|
||||
vector<TItemProperty> _Properties;
|
||||
// Optionnal action (enchantement)
|
||||
// Optional action (enchantement)
|
||||
string _Action;
|
||||
// Name of the item
|
||||
CPhrase _ItemPhrase;
|
||||
|
|
|
@ -153,7 +153,7 @@ void showUsage(char *exeName)
|
|||
LOG(" extract_bot_names [-r]\n");
|
||||
LOG(" extract_new_sheet_names [-r]\n");
|
||||
LOG("\n");
|
||||
LOG("Language code are ISO 639-2 + optionnaly ISO 3166 country code.\n");
|
||||
LOG("Language code are ISO 639-2 + optionally ISO 3166 country code.\n");
|
||||
LOG("Reference language is always the first language in languages.txt\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue