From 88f5a5a0b21daaff3b83b45d4422ff33a13ff934 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 2 Jan 2016 17:08:25 +0100 Subject: [PATCH] Changed: Add CPUMask variable --- code/ryzom/client/src/client_cfg.cpp | 3 +++ code/ryzom/client/src/client_cfg.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/code/ryzom/client/src/client_cfg.cpp b/code/ryzom/client/src/client_cfg.cpp index cce8ca058..3510db428 100644 --- a/code/ryzom/client/src/client_cfg.cpp +++ b/code/ryzom/client/src/client_cfg.cpp @@ -506,6 +506,7 @@ CClientConfig::CClientConfig() Sleep = -1; // Default : client does not sleep. ProcessPriority = 0; // Default : NORMAL + CPUMask = 0; // Default : auto detection ShowPath = false; // Default : do not display the path. DrawBoxes = false; // Default : Do not draw the selection. @@ -1486,6 +1487,8 @@ void CClientConfig::setValues() READ_INT_FV(Sleep) // ProcessPriority READ_INT_FV(ProcessPriority) + // CPUMask + READ_INT_FV(CPUMask) // ShowPath : Get the ShowPath value. READ_BOOL_DEV(ShowPath) // UserSheet : Get the sheet to used for the use rin Local mode. diff --git a/code/ryzom/client/src/client_cfg.h b/code/ryzom/client/src/client_cfg.h index 5b9c9099e..bbf9e4562 100644 --- a/code/ryzom/client/src/client_cfg.h +++ b/code/ryzom/client/src/client_cfg.h @@ -421,6 +421,8 @@ struct CClientConfig sint Sleep; /// Force process priority sint ProcessPriority; + /// CPU Mask + sint CPUMask; // To show/hide the entities path bool ShowPath; /// Draw the Boxes used for the selection.