mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-13 12:44:48 +00:00
Changed: Add CPUMask variable
This commit is contained in:
parent
cb25c89ccd
commit
4acb5a2d90
2 changed files with 5 additions and 0 deletions
|
@ -506,6 +506,7 @@ CClientConfig::CClientConfig()
|
||||||
|
|
||||||
Sleep = -1; // Default : client does not sleep.
|
Sleep = -1; // Default : client does not sleep.
|
||||||
ProcessPriority = 0; // Default : NORMAL
|
ProcessPriority = 0; // Default : NORMAL
|
||||||
|
CPUMask = 0; // Default : auto detection
|
||||||
ShowPath = false; // Default : do not display the path.
|
ShowPath = false; // Default : do not display the path.
|
||||||
DrawBoxes = false; // Default : Do not draw the selection.
|
DrawBoxes = false; // Default : Do not draw the selection.
|
||||||
|
|
||||||
|
@ -1486,6 +1487,8 @@ void CClientConfig::setValues()
|
||||||
READ_INT_FV(Sleep)
|
READ_INT_FV(Sleep)
|
||||||
// ProcessPriority
|
// ProcessPriority
|
||||||
READ_INT_FV(ProcessPriority)
|
READ_INT_FV(ProcessPriority)
|
||||||
|
// CPUMask
|
||||||
|
READ_INT_FV(CPUMask)
|
||||||
// ShowPath : Get the ShowPath value.
|
// ShowPath : Get the ShowPath value.
|
||||||
READ_BOOL_DEV(ShowPath)
|
READ_BOOL_DEV(ShowPath)
|
||||||
// UserSheet : Get the sheet to used for the use rin Local mode.
|
// UserSheet : Get the sheet to used for the use rin Local mode.
|
||||||
|
|
|
@ -421,6 +421,8 @@ struct CClientConfig
|
||||||
sint Sleep;
|
sint Sleep;
|
||||||
/// Force process priority
|
/// Force process priority
|
||||||
sint ProcessPriority;
|
sint ProcessPriority;
|
||||||
|
/// CPU Mask
|
||||||
|
sint CPUMask;
|
||||||
// To show/hide the entities path
|
// To show/hide the entities path
|
||||||
bool ShowPath;
|
bool ShowPath;
|
||||||
/// Draw the Boxes used for the selection.
|
/// Draw the Boxes used for the selection.
|
||||||
|
|
Loading…
Reference in a new issue