mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Merge
This commit is contained in:
commit
8ef863c832
16 changed files with 22 additions and 48 deletions
|
@ -33,7 +33,7 @@
|
|||
#include "animation_misc.h"
|
||||
#include "debug_client.h"
|
||||
#include "client_cfg.h"
|
||||
#include "entity_animation_manager.h" // \todo GUIGUI : ajouté pour recompiler les animations au chargement (faire mieux ?).
|
||||
#include "entity_animation_manager.h" // \todo GUIGUI : added to recompile animations at loading (to do better ?).
|
||||
|
||||
|
||||
///////////
|
||||
|
|
|
@ -113,7 +113,7 @@ public:
|
|||
TurnLeft,
|
||||
TurnRight,
|
||||
Emote,
|
||||
// Old Cast // \todo GUIGUI : a enlever lorsqu'on sera passé au nouveau systeme.
|
||||
// Old Cast // \todo GUIGUI : to remove when the new system will be used
|
||||
CastGoodBegin,
|
||||
CastGoodSuccess,
|
||||
CastGoodFail,
|
||||
|
|
|
@ -820,8 +820,8 @@ void CChatGroupWindow::updateFreeTellerHeader(CGroupContainer &ft)
|
|||
inviteBut->setActive(isDM);
|
||||
if (isDM)
|
||||
{
|
||||
inviteBut->setFrozen(false); // TODO Boris : true si le joueur est déjà invité dans l'anim + faire
|
||||
// PeopleInterraction.updateAllFreeTellerHeaders() quant la liste est updatée
|
||||
inviteBut->setFrozen(false); // TODO Boris : true if player is already invited in anim + do
|
||||
// PeopleInterraction.updateAllFreeTellerHeaders() when list is updated
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -855,32 +855,6 @@ void CGroupInSceneBubbleManager::chatOpen (uint32 nUID, const ucstring &ucsText,
|
|||
}
|
||||
}
|
||||
}
|
||||
#if !FINAL_VERSION
|
||||
|
||||
NLMISC_COMMAND(testChatOpen1, "", "")
|
||||
{
|
||||
CEntityCL *selection = EntitiesMngr.entity(UserEntity->selection());
|
||||
if (selection != NULL)
|
||||
{
|
||||
const ucstring text("Ceci doit être la page1.Ceci doit être la page1.Ceci doit être la page1.Ceci doit être la page1.Ceci doit être la page1.{break}Ceci doit en principe être la seconde page... Elle comprends un certain nombre de caractères et est utilisée pour déterminée la moyenne maximale que l'on peut atteindre, entre les langues (par exemple l'allemand) la taille de tout ca peut changer du tout au tout. Il faut se donner une marge a ne pas depasser.{break}Et enfin cette page doit être la dernière!");
|
||||
InSceneBubbleManager.chatOpen(selection->dataSetId(), text);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// TEMP TEMP TEMP
|
||||
NLMISC_COMMAND(testChatOpen2, "", "")
|
||||
{
|
||||
CEntityCL *selection = EntitiesMngr.entity(UserEntity->selection());
|
||||
if (selection != NULL)
|
||||
{
|
||||
const ucstring text("Ceci doit être une page toute seule pour voir ce que ca fait ...");
|
||||
InSceneBubbleManager.chatOpen(selection->dataSetId(), text);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ void CInterfaceOptionValue::init(const std::string &str)
|
|||
fromString(str, _Int);
|
||||
fromString(str, _Float);
|
||||
_Color= CInterfaceElement::convertColor (str.c_str());
|
||||
_Bool= CInterfaceElement::convertBool(str.c_str());
|
||||
_Boolean= CInterfaceElement::convertBool(str.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -37,14 +37,14 @@ public:
|
|||
_Color= NLMISC::CRGBA::White;
|
||||
_Int= 0;
|
||||
_Float= 0;
|
||||
_Bool= false;
|
||||
_Boolean= false;
|
||||
}
|
||||
|
||||
const std::string &getValStr () const {return _Str;}
|
||||
sint32 getValSInt32() const {return _Int;}
|
||||
float getValFloat () const {return _Float;}
|
||||
NLMISC::CRGBA getValColor () const {return _Color;}
|
||||
bool getValBool () const {return _Bool;}
|
||||
bool getValBool () const {return _Boolean;}
|
||||
|
||||
void init(const std::string &str);
|
||||
|
||||
|
@ -57,7 +57,7 @@ private:
|
|||
NLMISC::CRGBA _Color;
|
||||
sint32 _Int;
|
||||
float _Float;
|
||||
bool _Bool;
|
||||
bool _Boolean;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ private:
|
|||
// to infinity during shadow volume display.
|
||||
// To a best robustness and to join depth range [depthMin, depthMax] used in display of main scene, an epsilon
|
||||
// factor is calculated to transpose Z buffer values from [depthMin, 1] to [depthMin, depthMax]
|
||||
// while à [depthMin, 1] depth range is used during shadow volume display.
|
||||
// while in [depthMin, 1] depth range is used during shadow volume display.
|
||||
//-----------------------------------------------------------------------------------------------------------
|
||||
class CLandscapePolyDrawer : public NLMISC::CSingleton<CLandscapePolyDrawer>
|
||||
{
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include "misc.h"
|
||||
#include "interface_v3/interface_manager.h"
|
||||
|
||||
//#include "sound_manager.h" // \todo GUIGUI : SOUND_MANAGER A REMETTRE lorsque intégration nouveau FE fini et la class modifiée.
|
||||
//#include "sound_manager.h" // \todo GUIGUI : uncomment after new FE done and class modified
|
||||
|
||||
|
||||
H_AUTO_DECL(RZ_LightCycleManager)
|
||||
|
|
|
@ -86,9 +86,9 @@ double angleBetween2Vect(const NLMISC::CVectorD &from, const NLMISC::CVectorD &t
|
|||
void makeUp(NL3D::UInstance face, sint idMakeUp);
|
||||
|
||||
/**
|
||||
* qStart est le quaterion à t=0,
|
||||
* qEnd est le quaterion à t=TAnimEnd,
|
||||
* time est entre 0 et 1. (1=> TAnimEnd)
|
||||
* qStart is the quaterion at t=0,
|
||||
* qEnd is the quaterion at t=TAnimEnd,
|
||||
* time is between 0 and 1. (1=> TAnimEnd)
|
||||
*/
|
||||
NLMISC::CQuat applyRotationFactor(NLMISC::CQuat in, float rotFactor, NLMISC::CQuat qStart, NLMISC::CQuat qEnd, float time);
|
||||
|
||||
|
|
|
@ -599,7 +599,7 @@ void CUserControls::cameraLook(bool fullMode)
|
|||
//-----------------------------------------------
|
||||
// commonMove :
|
||||
// Manage some common actions.
|
||||
// \todo GUIGUI : gérer le control avant l'update des entités, mais la vue qu'après le déplacement.
|
||||
// \todo GUIGUI : manage control before entities update, but view only after move
|
||||
//-----------------------------------------------
|
||||
void CUserControls::commonMove()
|
||||
{
|
||||
|
|
|
@ -931,7 +931,7 @@ void CPlayerCL::updateVisualPropertyVpb(const NLMISC::TGameCycle &/* gameCycle *
|
|||
//-----------------------------------------------
|
||||
// updateVisualPropertyVpc :
|
||||
// Update the Visual Property C.
|
||||
// \todo GUIGUI : factoriser les tatouages avec la création de perso
|
||||
// \todo GUIGUI : factorize tatoos with character creation
|
||||
//-----------------------------------------------
|
||||
void CPlayerCL::updateVisualPropertyVpc(const NLMISC::TGameCycle &/* gameCycle */, const sint64 &prop)
|
||||
{
|
||||
|
|
|
@ -692,7 +692,7 @@ void CPlayerR2CL::updateVisualPropertyVpb(const NLMISC::TGameCycle &/* gameCycle
|
|||
//-----------------------------------------------
|
||||
// updateVisualPropertyVpc :
|
||||
// Update the Visual Property C.
|
||||
// \todo GUIGUI : factoriser les tatouages avec la création de perso
|
||||
// \todo GUIGUI : factorize tatoos with character creation
|
||||
//-----------------------------------------------
|
||||
|
||||
void CPlayerR2CL::updateVisualPropertyVpc(const NLMISC::TGameCycle &/* gameCycle */, const sint64 &prop)
|
||||
|
|
|
@ -307,9 +307,9 @@ void CToolChoosePos::updateBeforeRender()
|
|||
|
||||
}
|
||||
// see if all pos are accessible and update the _Valid flag
|
||||
// NB NICO : LE CODE SUIVANT MARCHE MAIS
|
||||
// voir avec les autres si c'est vraiment pertinent de tester ce type de collisions
|
||||
// au final -> comme le test entre entité n'est pas fait, intérêt douteux ...
|
||||
// NB NICO : THE FOLLOWING CODE IS WORKING BUT
|
||||
// see with others if it's usefull to check this type of collisions
|
||||
// finally -> since check is never done, limited/no interest ...
|
||||
/*
|
||||
if (shown && entity->getPrimitive())
|
||||
{
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "pacs_client.h"
|
||||
#include "world_database_manager.h"
|
||||
#include "continent_manager.h"
|
||||
#include "sound_manager.h" // \todo GUIGUI : SOUND_MANAGER A REMETTRE lorsque intégration nouveau FE fini et la class modifiée.
|
||||
#include "sound_manager.h"
|
||||
#include "weather.h"
|
||||
#include "weather_manager_client.h"
|
||||
#include "prim_file.h"
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
//\name From IStreamableEntity
|
||||
//@{
|
||||
/** Given a pos, test wether the village needs to be loaded now.
|
||||
à * It it returns false, it means that the village is too far or that asynchronous loading suffice.
|
||||
* It it returns false, it means that the village is too far or that asynchronous loading suffice.
|
||||
* It it returns true, the next call to update will return only when the loading is completed.
|
||||
*/
|
||||
virtual bool needCompleteLoading(const NLMISC::CVector &pos) const;
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace RYZOM_STARTING_POINT
|
|||
rosilio,
|
||||
miani,
|
||||
|
||||
// zoraï start village
|
||||
// zorai start village
|
||||
zorai_start,
|
||||
qai_lo = zorai_start,
|
||||
sheng_wo,
|
||||
|
|
Loading…
Reference in a new issue