mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Changed: French comments translated to English
This commit is contained in:
parent
8409d5a371
commit
5794497a79
27 changed files with 51 additions and 51 deletions
|
@ -209,7 +209,7 @@ static bool isTextKeyEvent(NSEvent* event)
|
|||
|
||||
/*
|
||||
TODO check why iswprint(character) does not solve it.
|
||||
it always returns false, even for π, é, ...
|
||||
it always returns false, even for non-ASCII characters
|
||||
*/
|
||||
// characters > 127 but not printable
|
||||
if( nelKey == NLMISC::KeyF1 || nelKey == NLMISC::KeyF2 ||
|
||||
|
|
|
@ -78,9 +78,9 @@ namespace std
|
|||
#include "nel/misc/file.h"
|
||||
#include "nel/misc/common.h"
|
||||
|
||||
#include "..\nel_patch_lib\rpo.h"
|
||||
#include "..\nel_mesh_lib\export_nel.h"
|
||||
#include "..\nel_mesh_lib\export_appdata.h"
|
||||
#include "../nel_patch_lib/rpo.h"
|
||||
#include "../nel_mesh_lib/export_nel.h"
|
||||
#include "../nel_mesh_lib/export_appdata.h"
|
||||
|
||||
#include "nel/3d/zone.h"
|
||||
#include "nel/3d/zone_symmetrisation.h"
|
||||
|
@ -135,12 +135,12 @@ def_visible_primitive( set_tile_bank, "NelSetTileBank");
|
|||
def_visible_primitive( export_zone, "ExportRykolZone");
|
||||
def_visible_primitive( import_zone, "NeLImportZone");
|
||||
|
||||
/* permettre l'acces <20>Eauto/manual intrior edges
|
||||
faire une methode pour interfacer la fonction compute interior edge
|
||||
donner un acces <EFBFBD>Etiledmode/patchmode (on/off)
|
||||
faire un getselectedvertex
|
||||
faire un getselectedpatch
|
||||
faire un getselectedtile */
|
||||
/* allows access to auto/manual interior edges
|
||||
create a method to interface compute interior edge function
|
||||
give access to tiledmode/patchmode (on/off)
|
||||
use getselectedvertex
|
||||
use getselectedpatch
|
||||
use getselectedtile */
|
||||
|
||||
/*def_visible_primitive( set_interior_mode, "SetRykolInteriorMode");
|
||||
def_visible_primitive( set_vertex_count, "GetRykolVertexCount");*/
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
void DeleteAll(); //efface provisoirement les sections DIB et les *Bits;
|
||||
void Reload(CDC *pDC,tilelist::iterator iFirst,int n); //recharge en memoire une tranche de tiles
|
||||
int last_id;
|
||||
tilelist::iterator iFirst,iLast; //index du premier et du dernier element chargé en memoire
|
||||
tilelist::iterator iFirst,iLast; // first and last index loaded in memory
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -274,7 +274,7 @@ void CChatControl::add(const ucstring &text)
|
|||
//-----------------------------------------------
|
||||
void CChatControl::display()
|
||||
{
|
||||
// \todo GUIGUI : remove this damn thing after the UBI démo.
|
||||
// \todo GUIGUI : remove this damn thing after the UBI demo.
|
||||
const CRGBA playerColors[10] =
|
||||
{
|
||||
CRGBA(250,250, 10), // 0 : Jaune
|
||||
|
|
|
@ -875,9 +875,9 @@ Colors are something like that:
|
|||
2: VERT CITRON VERT CITRON GREEN
|
||||
3: VERT VERT TURQUOISE
|
||||
4: BLEU BLEU BLUE
|
||||
5: ROUGE foncé ROUGE (tout court) CRIMSON
|
||||
5: ROUGE fonce ROUGE (tout court) CRIMSON
|
||||
6: BLANC JAUNE WHITE
|
||||
7: NOIR BLEU très foncé BLACK
|
||||
7: NOIR BLEU tres fonce BLACK
|
||||
|
||||
3D column is (probably) used for equipment
|
||||
*/
|
||||
|
|
|
@ -197,12 +197,12 @@ CBotFauna* CSpawnGroupFauna::findLeader()
|
|||
while (it!=itEnd)
|
||||
{
|
||||
CBotFauna* botPtr = static_cast<CBotFauna*>(*it);
|
||||
if (botPtr->isSpawned()) // si le bot est spawné.
|
||||
if (botPtr->isSpawned()) // if bot is spawned
|
||||
{
|
||||
if (botPtr->getSpawnObj()->isAlive()) // s'il est en vie.
|
||||
if (botPtr->getSpawnObj()->isAlive()) // is alive
|
||||
{
|
||||
possibleLeader=botPtr;
|
||||
if (_TargetPlace->atPlace(possibleLeader->getSpawn()->pos())) // et éventuellement s'il est dans la place.
|
||||
if (_TargetPlace->atPlace(possibleLeader->getSpawn()->pos())) // and eventually in place
|
||||
return possibleLeader;
|
||||
}
|
||||
}
|
||||
|
@ -1032,7 +1032,7 @@ void CGrpFauna::setPopulation(CPopulation* pop)
|
|||
if (pop && pop->size()==0) // no population record :(
|
||||
pop=NULL;
|
||||
|
||||
if (sameAliasPop) // Alias already présent ?
|
||||
if (sameAliasPop) // Alias already present ?
|
||||
{
|
||||
index = sameAliasPop->getChildIndex();
|
||||
_Populations.addChild(pop, index); // automatic deletion with smart pointers
|
||||
|
|
|
@ -129,7 +129,7 @@ void CAliasTreeOwner::updateAliasTree(const CAIAliasDescriptionNode &newTree)
|
|||
CAliasTreeOwner* child = cont->getAliasChildByAlias(newAliasChild->getAlias());
|
||||
if (!child) // a child related to this alias not yet exists ..
|
||||
{
|
||||
// so we ask to create one objet of this type ( implémentation is specialized :) )
|
||||
// so we ask to create one objet of this type ( implementation is specialized :) )
|
||||
// giving it the so precious CAIAliasDescriptionNode.
|
||||
// assumes that it adds the child to its parent ( check by the next assert ).
|
||||
child=childOwner->createChild(cont,newAliasChild);
|
||||
|
|
|
@ -421,7 +421,7 @@ void CFamilyBehavior::update(uint32 nbTicks)
|
|||
|| !grp->isSpawned())
|
||||
break;
|
||||
|
||||
// rajouter un test sur la validité du groupe par rapport aux flags des zones occupées pour savoir s'il faut le despawner .. :)
|
||||
// add a check if group is valid related to used regions flags to know if we need to despawn it
|
||||
|
||||
bool alreadyDespawned=false;
|
||||
breakable
|
||||
|
|
|
@ -66,7 +66,7 @@ static CEntityId createFakeCharacter(uint32 playerId, const string & name, EGSPD
|
|||
|
||||
/**
|
||||
* Class used to test building manager
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/**
|
||||
* CExchangeView
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Matthieu 'Trap' Besson
|
||||
* \author Nevrax France
|
||||
* \date February 2005
|
||||
|
|
|
@ -381,7 +381,7 @@ private:
|
|||
/**
|
||||
* CCharacterInvView
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date February 2005
|
||||
*/
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
* All classes in this file :
|
||||
* \author Nicolas Brigand
|
||||
* \author Olivier Cado
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Jérôme Vuarand
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
|
|
|
@ -30,7 +30,7 @@ class COutpost;
|
|||
/**
|
||||
* Base class to manipulate the outpost guild client database.
|
||||
*
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date october 2005
|
||||
*/
|
||||
|
@ -102,7 +102,7 @@ private:
|
|||
/**
|
||||
* This class updates the outpost guild client database.
|
||||
*
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date october 2005
|
||||
*/
|
||||
|
@ -158,7 +158,7 @@ typedef NLMISC::CSmartPtr<COutpostGuildDBUpdater> COutpostGuildDBUpdaterPtr;
|
|||
/**
|
||||
* This class clears the outpost guild client database.
|
||||
*
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date october 2005
|
||||
*/
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* All classes in this file :
|
||||
* \author Nicolas Brigand
|
||||
* \author Olivier Cado
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Jérôme Vuarand
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
|
|
|
@ -22,7 +22,7 @@ class COutpost;
|
|||
|
||||
/**
|
||||
* Singleton class used to adapt different version of COutpost
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -34,7 +34,7 @@ class CCharacter;
|
|||
/**
|
||||
* CCharacterRespawnPoints
|
||||
* This class contains code and data relative to the player respawn points.
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -48,7 +48,7 @@ CItemServiceManager * CItemServiceManager::_Instance = NULL;
|
|||
/**
|
||||
* Base class for persistent item service providers (ISP)
|
||||
* WARNING: this class should never modify client->getPersistentItemServices() vector (only CItemServiceManager should do)
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
@ -76,7 +76,7 @@ private:
|
|||
/**
|
||||
* Base class for item service providers
|
||||
* WARNING: this class should never modify client->getPersistentItemServices() vector (only CItemServiceManager should do)
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -33,7 +33,7 @@ class IItemServiceProvider;
|
|||
|
||||
/**
|
||||
* This class provides services associated to items (aka "item services")
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
/**
|
||||
* A PVP safe zone
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
*/
|
||||
|
|
|
@ -60,7 +60,7 @@ class CPVPSafeZone;
|
|||
|
||||
/**
|
||||
* Base class of PVP zones
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
*/
|
||||
|
@ -188,7 +188,7 @@ private:
|
|||
|
||||
/**
|
||||
* A PVP versus zone : 2 clans fight there
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
*/
|
||||
|
@ -257,7 +257,7 @@ private:
|
|||
|
||||
/**
|
||||
* A PVP guild zone : guilds fight there
|
||||
* \author Sébastien Guignot
|
||||
* \author Sebastien Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2004
|
||||
*/
|
||||
|
|
|
@ -30,7 +30,7 @@ class CFileDescription;
|
|||
/**
|
||||
* This class collects leaves and furnishes their persistent data for backup
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -63,7 +63,7 @@ private:
|
|||
/**
|
||||
* This class collects all leaves and furnishes the message data for MFS init
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -83,7 +83,7 @@ private:
|
|||
/**
|
||||
* This class displays a node of SDB
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* It parses all the 'HoF Data Template' files (.hdt)
|
||||
* and generates data in PHP scripts for all shards
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@ typedef NLMISC::CSmartPtr<CShardStatDB> CShardStatDBPtr;
|
|||
/**
|
||||
* This class manages player and guild names for SDB
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -52,7 +52,7 @@ private:
|
|||
/**
|
||||
* This class displays a node of SDB
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -105,7 +105,7 @@ private:
|
|||
/**
|
||||
* This class provides a read-only access to a shard SDB copy
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -143,7 +143,7 @@ private:
|
|||
/**
|
||||
* A shard SDB copy
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
@ -189,7 +189,7 @@ private:
|
|||
* This manager keeps copies of shard statistical databases up-to-date
|
||||
* and furnishes a read-only access to the shard SDB copies
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
|
|
@ -229,7 +229,7 @@ private:
|
|||
/**
|
||||
* This class removes entities (players and guilds) through a SDB node
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ class CStatDBTableLeaf;
|
|||
/**
|
||||
* SDB node visitor (visitor design pattern).
|
||||
*
|
||||
* \author Sébastien 'kxu' Guignot
|
||||
* \author Sebastien 'kxu' Guignot
|
||||
* \author Nevrax France
|
||||
* \date 2005 July
|
||||
*/
|
||||
|
|
|
@ -38,9 +38,9 @@ Voici la d
|
|||
<PARAMETER NAME= "y" TYPE="string" VISIBLE="true"> <DEFAULT_VALUE VALUE= "0" /> </PARAMETER>
|
||||
</PRIMITIVE>
|
||||
|
||||
5) World_Editor_Service utilise un cache pour stocker les déplacements des joueurs, afin de n'envoyer que ce qui bouge
|
||||
5) World_Editor_Service uses a cache to save players moves, to be able to send only moving entities
|
||||
|
||||
6) World_Editor_Plugin utilise aussi un cache avec un pointeur sur les Primitives, afin de ne modifier dans WE que ce qui bouge
|
||||
6) World_Editor_Plugin uses too a cache with a pointer on Primitives, to modify only moving entities in WE
|
||||
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
|
|
|
@ -3139,7 +3139,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
uint64 hash = makeHash(ucstring("Bonjour le monde !"));
|
||||
nldebug("%s", hashToString(hash).c_str());
|
||||
hash = makeHash(ucstring("Une autre cléf"));
|
||||
hash = makeHash(ucstring("Une autre clef"));
|
||||
nldebug("%s", hashToString(hash).c_str());
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue