3 protected int TENDENCY_MASK = 7;
4 protected int SERIOUSNESS_BIT_MASK = 7;
5 protected int SERIOUSNESS_BIT_OFFSET = 3;
12 void SetSeriousnessLevel(
DSLevels level )
14 m_Value = (~(SERIOUSNESS_BIT_MASK << SERIOUSNESS_BIT_OFFSET)) &
m_Value;
18 override void UpdateHUD()
21 int seriousness =
m_Value >> SERIOUSNESS_BIT_OFFSET;
22 int tendency = TENDENCY_MASK &
m_Value;
27 tendency = -(tendency - 3);
37 void SetTendency(
int tendency)