PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
HudDebug.c File Reference

Data Structures

class  ScriptedWidgetEventHandler
 map: item x vector(index, width, height) More...
 

Functions

void HudDebug ()
 
void ~HudDebug ()
 
override void Init (Widget hud_panel_widget)
 
override void Update (float timeslice)
 
void SetPanelVisible (int panel_type, bool visible)
 
void PanelShow (int panel_type)
 
void PanelHide (int panel_type)
 
void RefreshCrosshairVisibility ()
 
void HideCrosshairVisibility ()
 
void RefreshByLocalProfile ()
 
bool IsInitialized ()
 
bool OnClick (Widget w, int x, int y, int button)
 
bool OnChange (Widget w, int x, int y, bool finished)
 

Variables

class HudDebugEventHandler extends ScriptedWidgetEventHandler HUD_WIN_UNDEFINED = 0
 
static const int HUD_WIN_CHAR_STATS = 1
 
static const int HUD_WIN_CHAR_MODIFIERS = 2
 
static const int HUD_WIN_CHAR_AGENTS = 3
 
static const int HUD_WIN_CHAR_DEBUG = 4
 
static const int HUD_WIN_CHAR_LEVELS = 5
 
static const int HUD_WIN_CHAR_STOMACH = 6
 
static const int HUD_WIN_VERSION = 7
 
static const int HUD_WIN_TEMPERATURE = 8
 
static const int HUD_WIN_HEALTH = 9
 
static const int HUD_WIN_HORTICULTURE = 10
 
Widget m_WgtRoot
 
Widget m_Crosshair
 
ref array< ref HudDebugWinBasem_Panels
 
ref Timer m_TimerUpdate
 
ref HudDebugEventHandler m_HudDebugHandler
 
ref HudDebugWinCharModifiers m_WinCharModifiers
 
ref HudDebugWinCharStats m_WinCharStats
 
ref HudDebugWinCharAgents m_WinCharAgents
 
ref HudDebugWinHealth m_WinHealth
 
ref HudDebugWinHorticulture m_WinHorticulture
 

Function Documentation

◆ HideCrosshairVisibility()

void HideCrosshairVisibility ( )

References GetPlugin(), and m_Crosshair.

◆ HudDebug()

◆ Init()

◆ IsInitialized()

bool IsInitialized ( )

References m_WgtRoot.

◆ OnChange()

bool OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)

References m_WinCharStats, x, and y.

◆ OnClick()

◆ PanelHide()

void PanelHide ( int  panel_type)

◆ PanelShow()

void PanelShow ( int  panel_type)

◆ RefreshByLocalProfile()

void RefreshByLocalProfile ( )

References GetPlugin(), HudDebug(), and SetPanelVisible().

Referenced by Init().

◆ RefreshCrosshairVisibility()

void RefreshCrosshairVisibility ( )

References GetPlugin(), and m_Crosshair.

Referenced by Init(), and ScriptConsoleGeneralTab::OnClick().

◆ SetPanelVisible()

void SetPanelVisible ( int  panel_type,
bool  visible 
)

References PanelHide(), and PanelShow().

Referenced by RefreshByLocalProfile().

◆ Update()

override void Update ( float  timeslice)

References m_Panels.

◆ ~HudDebug()

void ~HudDebug ( )

Variable Documentation

◆ HUD_WIN_CHAR_AGENTS

const int HUD_WIN_CHAR_AGENTS = 3
static

◆ HUD_WIN_CHAR_DEBUG

const int HUD_WIN_CHAR_DEBUG = 4
static

◆ HUD_WIN_CHAR_LEVELS

const int HUD_WIN_CHAR_LEVELS = 5
static

◆ HUD_WIN_CHAR_MODIFIERS

const int HUD_WIN_CHAR_MODIFIERS = 2
static

◆ HUD_WIN_CHAR_STATS

const int HUD_WIN_CHAR_STATS = 1
static

◆ HUD_WIN_CHAR_STOMACH

const int HUD_WIN_CHAR_STOMACH = 6
static

◆ HUD_WIN_HEALTH

const int HUD_WIN_HEALTH = 9
static

◆ HUD_WIN_HORTICULTURE

const int HUD_WIN_HORTICULTURE = 10
static

◆ HUD_WIN_TEMPERATURE

const int HUD_WIN_TEMPERATURE = 8
static

◆ HUD_WIN_UNDEFINED

class HudDebugEventHandler extends ScriptedWidgetEventHandler HUD_WIN_UNDEFINED = 0

◆ HUD_WIN_VERSION

const int HUD_WIN_VERSION = 7
static

◆ m_Crosshair

◆ m_HudDebugHandler

ref HudDebugEventHandler m_HudDebugHandler

Referenced by Init().

◆ m_Panels

ref array<ref HudDebugWinBase> m_Panels

◆ m_TimerUpdate

ref Timer m_TimerUpdate

◆ m_WgtRoot

◆ m_WinCharAgents

ref HudDebugWinCharAgents m_WinCharAgents

Referenced by Init(), and OnClick().

◆ m_WinCharModifiers

ref HudDebugWinCharModifiers m_WinCharModifiers

Referenced by Init(), and OnClick().

◆ m_WinCharStats

ref HudDebugWinCharStats m_WinCharStats

Referenced by Init(), OnChange(), and OnClick().

◆ m_WinHealth

ref HudDebugWinHealth m_WinHealth

Referenced by Init(), and OnClick().

◆ m_WinHorticulture

ref HudDebugWinHorticulture m_WinHorticulture

Referenced by Init(), and OnClick().