PC Stable Documentation
|
|
Private Member Functions | |
void | DebugMonitor () |
void | Init () |
void | SetHealth (float value) |
void | SetBlood (float value) |
void | SetLastDamage (string value) |
void | SetFramerate (float current, float min, float max, float avg) |
protected void | SetFramerateText (TextWidget widget, float value) |
void | SetPosition (vector value) |
void | Show () |
void | Hide () |
string | CalculateMapTile (vector pos) |
int | GetTileFomFraction (float fraction) |
void | OnInputDeviceChanged (EInputDeviceType pInputDeviceType) |
bool | IsVisible () |
Private Attributes | |
protected bool | m_IsUsingKBM |
private Widget | m_WidgetRoot |
private TextWidget | m_WindowLabelText |
private TextWidget | m_VersionValue |
private TextWidget | m_HealthValue |
private TextWidget | m_BloodValue |
private TextWidget | m_DmgSourceValue |
private TextWidget | m_MapTileValue |
private TextWidget | m_PositionValue |
private TextWidget | m_CopyPositionInfo |
private TextWidget | m_FPSValue |
private TextWidget | m_FPSMinValue |
private TextWidget | m_FPSMaxValue |
private TextWidget | m_FPSAvgValue |
private int | m_FPSTextDefaultColor |
|
inlineprivate |
References GetGame(), GetTileFomFraction(), CGame::GetWorld(), World::GetWorldSize(), and Math::InverseLerp().
Referenced by SetPosition().
Referenced by CalculateMapTile().
|
inlineprivate |
References m_WidgetRoot.
|
inlineprivate |
|
inlineprivate |
References m_WidgetRoot.
|
inlineprivate |
References m_IsUsingKBM.
Referenced by Init().
|
inlineprivate |
References m_BloodValue, and float::ToString().
Update the framerate values displayed within the debug monitor with new ones.
References m_FPSAvgValue, m_FPSMaxValue, m_FPSMinValue, m_FPSValue, and SetFramerateText().
|
inlineprivate |
Sets the provided text widget
to display framerate value
. Formats and colors the widget according to the value.
References COLOR_RED, COLOR_YELLOW, m_FPSTextDefaultColor, and Math::Round().
Referenced by SetFramerate().
|
inlineprivate |
References m_HealthValue, and float::ToString().
|
inlineprivate |
References m_DmgSourceValue.
|
inlineprivate |
|
inlineprivate |
References m_WidgetRoot.
|
private |
Referenced by DebugMonitor(), and SetBlood().
|
private |
Referenced by DebugMonitor(), and SetPosition().
|
private |
Referenced by DebugMonitor(), and SetLastDamage().
|
private |
Referenced by DebugMonitor(), and SetFramerate().
|
private |
Referenced by DebugMonitor(), and SetFramerate().
|
private |
Referenced by DebugMonitor(), and SetFramerate().
|
private |
Referenced by DebugMonitor(), and SetFramerateText().
|
private |
Referenced by DebugMonitor(), and SetFramerate().
|
private |
Referenced by DebugMonitor(), and SetHealth().
|
private |
Referenced by Init(), OnInputDeviceChanged(), and SetPosition().
|
private |
Referenced by DebugMonitor(), and SetPosition().
|
private |
Referenced by DebugMonitor(), and SetPosition().
|
private |
Referenced by DebugMonitor(), and Init().
|
private |
Referenced by DebugMonitor(), Hide(), Init(), IsVisible(), and Show().
|
private |