8 void HudDebugEventHandler(
HudDebug hud_debug )
10 m_HudDebug = hud_debug;
20 super.OnClick( w,
x,
y, button );
21 return GetHudDebug().OnClick( w,
x,
y, button );
55 override bool OnSelect(
Widget w,
int x,
int y)
60 override bool OnItemSelected(
Widget w,
int x,
int y,
int row,
int column,
int oldRow,
int oldColumn)
66 override bool OnModalResult(
Widget w,
int x,
int y,
int code,
int result)
75 super.OnChange( w,
x,
y, finished );
76 return GetHudDebug().OnChange( w,
x,
y, finished );
83 static const int HUD_WIN_CHAR_STATS = 1;
84 static const int HUD_WIN_CHAR_MODIFIERS = 2;
85 static const int HUD_WIN_CHAR_AGENTS = 3;
86 static const int HUD_WIN_CHAR_DEBUG = 4;
87 static const int HUD_WIN_CHAR_LEVELS = 5;
88 static const int HUD_WIN_CHAR_STOMACH = 6;
89 static const int HUD_WIN_VERSION = 7;
90 static const int HUD_WIN_TEMPERATURE = 8;
135 HudDebugWinCharLevels win_char_levels =
new HudDebugWinCharLevels(
m_WgtRoot.FindAnyWidget(
"wdw_CharacterLevels" ) );
147 HudDebugWinCharDebug win_char_debug =
new HudDebugWinCharDebug(
m_WgtRoot.FindAnyWidget(
"wdw_CharacterDebug" ) );
151 HudDebugWinCharStomach win_char_stomach =
new HudDebugWinCharStomach(
m_WgtRoot.FindAnyWidget(
"wdw_CharacterStomach" ) );
152 m_Panels.Insert( win_char_stomach );
155 HudDebugWinVersion win_version =
new HudDebugWinVersion(
m_WgtRoot.FindAnyWidget(
"wdw_Version" ) );
159 HudDebugWinTemperature win_temp =
new HudDebugWinTemperature(
m_WgtRoot.FindAnyWidget(
"wdw_Temp" ) );
179 for (
int i = 0; i <
m_Panels.Count(); ++i )
181 if (
m_Panels.Get( i ).IsVisible() )
208 for (
int i = 0; i <
m_Panels.Count(); ++i )
212 if ( panel.GetType() == panel_type )
224 for (
int i = 0; i <
m_Panels.Count(); ++i )
228 if ( panel.GetType() == panel_type )
242 if ( module_cfg_profile )
244 PluginDeveloper modul_dev = PluginDeveloper.Cast(
GetPlugin( PluginDeveloper ) );
246 if ( modul_dev.IsEnabledFreeCamera() )
248 m_Crosshair.Show( module_cfg_profile.GetFreeCameraCrosshairVisible() );
265 if ( module_cfg_profile )
267 PluginDeveloper modul_dev = PluginDeveloper.Cast(
GetPlugin( PluginDeveloper ) );
269 if ( modul_dev.IsEnabledFreeCamera() )
283 if ( module_cfg_profile )