Changed: Added parsing of PatchServer variable
This commit is contained in:
parent
4757228a22
commit
c96c540d34
2 changed files with 9 additions and 2 deletions
|
@ -31,7 +31,6 @@
|
|||
#include "debug_client.h"
|
||||
#include "view.h" // For the cameraDistance funtion
|
||||
#include "user_entity.h"
|
||||
#include "interface_v3/interface_element.h" //for convertColor function
|
||||
#include "misc.h"
|
||||
|
||||
// 3D Interface.
|
||||
|
@ -379,6 +378,7 @@ CClientConfig::CClientConfig()
|
|||
#endif
|
||||
PatchUrl = "";
|
||||
PatchVersion = "";
|
||||
PatchServer = "";
|
||||
RingReleaseNotePath = "http://atys.ryzom.com/releasenotes_ring/index.php";
|
||||
ReleaseNotePath = "http://atys.ryzom.com/releasenotes/index.php";
|
||||
|
||||
|
@ -1021,6 +1021,7 @@ void CClientConfig::setValues()
|
|||
READ_STRING_DEV(PatchVersion)
|
||||
READ_STRING_DEV(RingReleaseNotePath)
|
||||
READ_STRING_DEV(ReleaseNotePath)
|
||||
READ_STRING_FV(PatchServer)
|
||||
|
||||
///////////////
|
||||
// ANIMATION //
|
||||
|
@ -1409,7 +1410,7 @@ void CClientConfig::setValues()
|
|||
SPrintfCommand pcom;
|
||||
pcom.X = pc->asInt(i);
|
||||
pcom.Y = pc->asInt(i+1);
|
||||
pcom.Color = CInterfaceElement::convertColor( pc->asString(i+2).c_str() );
|
||||
pcom.Color = stringToRGBA( pc->asString(i+2).c_str() );
|
||||
pcom.FontSize = pc->asInt(i+3);
|
||||
pcom.Text = pc->asString(i+4);
|
||||
|
||||
|
|
|
@ -28,10 +28,15 @@
|
|||
#include "nel/misc/vector.h"
|
||||
#include "nel/misc/rgba.h"
|
||||
#include "nel/misc/config_file.h"
|
||||
|
||||
#include "nel/sound/sound_anim_manager.h"
|
||||
|
||||
// std.
|
||||
#include <string>
|
||||
|
||||
// Game Share
|
||||
#include "game_share/gender.h"
|
||||
#include "game_share/character_title.h"
|
||||
|
||||
|
||||
///////////
|
||||
|
@ -270,6 +275,7 @@ struct CClientConfig
|
|||
bool PatchWanted;
|
||||
std::string PatchUrl;
|
||||
std::string PatchVersion;
|
||||
std::string PatchServer;
|
||||
|
||||
std::string RingReleaseNotePath;
|
||||
std::string ReleaseNotePath;
|
||||
|
|
Loading…
Reference in a new issue