Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
mainmenuconsoles.c
Go to the documentation of this file.
1class MainMenuConsole extends UIScriptedMenu
2{
3 protected ref MainMenuVideo m_Video;
4
5 protected MissionMainMenu m_Mission;
7
8 protected TextWidget m_PlayerName;
9 protected TextWidget m_Version;
10
11 protected Widget m_MainMenuPanel;
12 protected Widget m_DialogPanel;
13 protected Widget m_ChangeAccount;
14 protected Widget m_CustomizeCharacter;
15 protected Widget m_PlayVideo;
16 protected Widget m_Tutorials;
17 protected Widget m_Options;
18 protected Widget m_Controls;
19 protected Widget m_Play;
20 protected Widget m_MessageButton;
21 protected Widget m_ShowFeedback;
22 protected ImageWidget m_FeedbackQRCode;
23 protected ImageWidget m_FeedbackPlatformIcon;
24 protected ButtonWidget m_FeedbackClose;
26
27 protected ref Widget m_LastFocusedButton;
28
30 protected Widget m_DlcFrame;
32 protected ref JsonDataDLCList m_DlcData;
34 protected ref MainMenuDlcHandlerBase m_DisplayedDlcHandler;
35
36 override Widget Init()
37 {
38 layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/new_ui/main_menu_console.layout");
39
40 m_MainMenuPanel = layoutRoot.FindAnyWidget("main_menu_panel");
41 m_PlayerName = TextWidget.Cast(layoutRoot.FindAnyWidget("character_name_xbox"));
42 m_ChangeAccount = layoutRoot.FindAnyWidget("choose_account");
43 m_CustomizeCharacter = layoutRoot.FindAnyWidget("customize_character");
44 m_PlayVideo = layoutRoot.FindAnyWidget("play_video");
45 m_Tutorials = layoutRoot.FindAnyWidget("tutorials");
46 m_Options = layoutRoot.FindAnyWidget("options");
47 m_Controls = layoutRoot.FindAnyWidget("controls");
48 m_Play = layoutRoot.FindAnyWidget("play");
49 m_MessageButton = layoutRoot.FindAnyWidget("message_button");
50
51 m_DlcFrame = layoutRoot.FindAnyWidget("dlc_Frame");
52 m_Version = TextWidget.Cast(layoutRoot.FindAnyWidget("version"));
53 m_Mission = MissionMainMenu.Cast(GetGame().GetMission());
54 m_ShowFeedback = layoutRoot.FindAnyWidget("feedback");
55 m_FeedbackQRCode = ImageWidget.Cast(layoutRoot.FindAnyWidget("qr_image"));
56 m_FeedbackClose = ButtonWidget.Cast(layoutRoot.FindAnyWidget("close_button"));
57 m_FeedbackCloseLabel = RichTextWidget.Cast(layoutRoot.FindAnyWidget("close_button_label"));
58 m_DialogPanel = layoutRoot.FindAnyWidget("main_menu_dialog");
59
60 m_LastFocusedButton = m_Play;
61
62 GetGame().GetUIManager().ScreenFadeOut(1);
63
64 string launch_done;
65 if (!GetGame().GetProfileString("FirstLaunchDone", launch_done) || launch_done != "true")
66 {
67 GetGame().SetProfileString("FirstLaunchDone", "true");
68 GetGame().GetUIManager().ShowDialog("#main_menu_tutorial", "#main_menu_tutorial_desc", 555, DBT_YESNO, DBB_YES, DMT_QUESTION, this);
69 GetGame().SaveProfile();
70 }
71
73 LoadMods();
74 Refresh();
75
76 if (GetGame().GetMission())
77 {
78 GetGame().GetMission().GetOnInputPresetChanged().Insert(OnInputPresetChanged);
79 GetGame().GetMission().GetOnInputDeviceChanged().Insert(OnInputDeviceChanged);
80 }
81
82 OnInputDeviceChanged(GetGame().GetInput().GetCurrentInputDevice());
83
84 GetGame().GetContentDLCService().m_OnChange.Insert(OnDLCChange);
85
86 #ifdef PLATFORM_CONSOLE
87 #ifndef PLATFORM_PS4
88 m_ChangeAccount.Show(GetGame().GetInput().IsEnabledMouseAndKeyboard());
89 m_FeedbackQRCode.LoadImageFile(0, "gui/textures/feedback_qr_xbox.edds");
90 #else
91 m_FeedbackQRCode.LoadImageFile(0, "gui/textures/feedback_qr_ps.edds");
92 #endif
93 #endif
94
95 return layoutRoot;
96 }
97
99 {
100 if (GetGame().GetMission())
101 {
102 GetGame().GetMission().GetOnInputPresetChanged().Remove(OnInputPresetChanged);
103 GetGame().GetMission().GetOnInputDeviceChanged().Remove(OnInputDeviceChanged);
104 }
105
106 if (GetGame().GetContentDLCService())
107 GetGame().GetContentDLCService().m_OnChange.Remove(OnDLCChange);
108 }
109
110 void OnDLCChange(EDLCId dlcId)
111 {
112 m_AllDLCs = null;
113 LoadMods();
114 }
115
116 void LoadMods()
117 {
118 if (m_AllDLCs != null)
119 return;
120
121 m_AllDLCs = new array<ref ModInfo>;
122
123 GetGame().GetModInfos(m_AllDLCs);
124 if (m_AllDLCs.Count() > 0)
125 {
126 m_AllDLCs.Remove(m_AllDLCs.Count() - 1);
127 m_AllDLCs.Invert();
128 }
129
130 FilterDLCs(m_AllDLCs);
132
134 }
135
137 void FilterDLCs(inout array<ref ModInfo> modArray)
138 {
139 if (!m_AllDlcsMap)
140 m_AllDlcsMap = new map<string,ref ModInfo>;
141
142 m_AllDlcsMap.Clear();
143 ModInfo info;
144 int count = modArray.Count();
145 for (int i = count - 1; i >= 0; i--)
146 {
147 info = modArray[i];
148 if (!info.GetIsDLC())
149 modArray.Remove(i);
150 else
151 m_AllDlcsMap.Set(info.GetName(), info);
152 }
153 }
154
156 {
157 if (!m_DlcHandlers)
158 m_DlcHandlers = new array<ref MainMenuDlcHandlerBase>();
159 else
160 {
161 // TODO: Would be better to update the parts that need updating instead of full recreation
162 // Destroying and then reloading the same video is quite wasteful
163 m_DlcHandlers.Clear();
164 }
165
166 m_DlcData = DlcDataLoader.GetData();
167 int count = m_DlcData.DLCs.Count();
168 JsonDataDLCInfo data;
169 ModInfo info;
170
171 for (int i = 0; i < count; i++)
172 {
173 data = m_DlcData.DLCs[i];
174 info = m_AllDlcsMap.Get(data.Name);
175 MainMenuDlcHandlerBase handler = new MainMenuDlcHandlerBase(info, m_DlcFrame, data);
176
177 handler.ShowInfoPanel(true);
178 m_DisplayedDlcHandler = handler;//TODO: carousel will take care of this later
179
180 m_DlcHandlers.Insert(handler);
181 }
182 }
183
184 protected void OnInputPresetChanged()
185 {
186 #ifdef PLATFORM_CONSOLE
188 #endif
189 }
190
191 protected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
192 {
193 switch (pInputDeviceType)
194 {
195 case EInputDeviceType.CONTROLLER:
196 if (GetGame().GetInput().IsEnabledMouseAndKeyboard())
197 {
198 GetGame().GetUIManager().ShowUICursor(false);
199 #ifdef PLATFORM_CONSOLE
200 if (m_LastFocusedButton == m_ShowFeedback || !GetFocus() || GetFocus() == m_FeedbackClose)
201 {
202 SetFocus(m_Play);
203 }
204
205 m_FeedbackClose.Show(false);
206 m_ShowFeedback.Show(false);
207 #ifndef PLATFORM_PS4
208 m_ChangeAccount.Show(false);
209 if (m_LastFocusedButton == m_ChangeAccount)
210 {
211 SetFocus(m_Play);
212 }
213 #endif
214 #endif
215 }
216 break;
217
218 default:
219 if (GetGame().GetInput().IsEnabledMouseAndKeyboard())
220 {
221 GetGame().GetUIManager().ShowUICursor(true);
222 #ifdef PLATFORM_CONSOLE
223 m_ShowFeedback.Show(true);
224 m_FeedbackClose.Show(true);
225 m_FeedbackCloseLabel.SetText(string.Format("%1",InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "#close", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_NORMAL)));
226 #ifndef PLATFORM_PS4
227 m_ChangeAccount.Show(true);
228 #endif
229 #endif
230 }
231 break;
232 }
233
236 }
237
238 override bool OnClick(Widget w, int x, int y, int button)
239 {
241 {
242 if (w == m_Play)
243 {
244 m_LastFocusedButton = m_Play;
246 return true;
247 }
248 else if (w == m_Options)
249 {
250 m_LastFocusedButton = m_Options;
252 return true;
253 }
254 else if (w == m_PlayVideo)
255 {
256 m_LastFocusedButton = m_PlayVideo;
258 return true;
259 }
260 else if (w == m_Tutorials)
261 {
262 m_LastFocusedButton = m_Tutorials;
264 return true;
265 }
266 else if (w == m_Controls)
267 {
268 m_LastFocusedButton = m_Controls;
270 return true;
271 }
272 else if (w == m_CustomizeCharacter)
273 {
274 m_LastFocusedButton = m_CustomizeCharacter;
276 return true;
277 }
278 else if (w == m_ChangeAccount)
279 {
280 m_LastFocusedButton = m_ChangeAccount;
282 return true;
283 }
284 else if (w == m_MessageButton)
285 {
286 OpenCredits();
287 return true;
288 }
289 }
290
291 if (w == m_ShowFeedback || w == m_FeedbackClose)
292 {
293 m_LastFocusedButton = w;
295 return true;
296 }
297 return false;
298 }
299
300 override bool OnFocus(Widget w, int x, int y)
301 {
303 if (ButtonWidget.Cast(w))
304 {
305 m_LastFocusedButton = w;
306 }
307 return true;
308 }
309
310 override bool OnFocusLost(Widget w, int x, int y)
311 {
312 ColorNormal(w);
313 return true;
314 }
315
316 override bool OnMouseEnter(Widget w, int x, int y)
317 {
318 if (w == m_FeedbackClose)
319 {
321 return true;
322 }
323 return false;
324 }
325
326 override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
327 {
328 if (w == m_FeedbackClose)
329 {
330 ColorNormal(w);
331 return true;
332 }
333 return true;
334 }
335
336 override void Refresh()
337 {
338 string name;
339
340 if (GetGame().GetUserManager() && GetGame().GetUserManager().GetSelectedUser())
341 {
342 name = GetGame().GetUserManager().GetSelectedUser().GetName();
343 if (name.LengthUtf8() > 18)
344 {
345 name = name.SubstringUtf8(0, 18);
346 name += "...";
347 }
348 }
349 m_PlayerName.SetText(name);
350
351 string version;
352 GetGame().GetVersion(version);
353 m_Version.SetText("#main_menu_version" + " " + version + " (" + g_Game.GetDatabaseID() + ")");
354
355 if (m_DisplayedDlcHandler)
356 m_DisplayedDlcHandler.UpdateAllPromotionInfo();
357 }
358
359 override void OnShow()
360 {
361 GetDayZGame().GetBacklit().MainMenu_OnShow();
362
363 SetFocus(m_LastFocusedButton);
364
365 LoadMods();
366 Refresh();
367
368 if (m_ScenePC && m_ScenePC.GetIntroCamera())
369 {
370 m_ScenePC.GetIntroCamera().LookAt(m_ScenePC.GetIntroCharacter().GetPosition() + Vector(0, 1, 0));
371 }
372 if (m_DisplayedDlcHandler)
373 m_DisplayedDlcHandler.ShowInfoPanel(true);
374
375 super.OnShow();
376 #ifdef PLATFORM_CONSOLE
377 layoutRoot.FindAnyWidget("ButtonHolderCredits").Show(GetGame().GetInput().IsEnabledMouseAndKeyboard());
378 OnInputDeviceChanged(GetGame().GetInput().GetCurrentInputDevice());
379 #endif
380 }
381
382 override void OnHide()
383 {
384 if (m_DisplayedDlcHandler)
385 m_DisplayedDlcHandler.ShowInfoPanel(false);
386 GetDayZGame().GetBacklit().MainMenu_OnHide();
387 }
388
389 override void Update(float timeslice)
390 {
391 super.Update(timeslice);
392
393 if (g_Game.GetLoadState() != DayZGameState.CONNECTING && !GetGame().GetUIManager().IsDialogVisible())
394 {
395 #ifndef PLATFORM_CONSOLE
396 if (GetUApi().GetInputByID(UAUIBack).LocalPress())
397 {
398 if (!GetGame().GetUIManager().IsDialogHiding())
399 Exit();
400 }
401 #else
402 if (GetUApi().GetInputByID(UAUIBack).LocalPress())
403 {
405 {
407 }
408 else
409 {
410 EnterScriptedMenu(MENU_MAIN);
411 }
412 }
413
414 if (GetUApi().GetInputByID(UAUICredits).LocalPress())
415 OpenCredits();
416 #endif
417 }
418
419 #ifdef PLATFORM_XBOX
420 if (GetUApi().GetInputByID(UAUICtrlY).LocalPress())
422 #endif
423
424 if (GetUApi().GetInputByID(UAUICtrlX).LocalPress())
425 {
426 if (CanStoreBeOpened())
427 m_DisplayedDlcHandler.GetModInfo().GoToStore();
428 }
429
430 if (GetUApi().GetInputByID(UAUIThumbRight).LocalPress())
431 {
433 }
434 }
435
436 protected void ToggleFeedbackDialog()
437 {
438 bool dialogVisible = FeedbackDialogVisible();
439 m_DialogPanel.Show(!dialogVisible);
440 m_MainMenuPanel.Show(dialogVisible);
441
442 if (!dialogVisible)
443 {
444 PPERequesterBank.GetRequester(PPERequester_FeedbackBlur).Start();
445 }
446 else
447 {
448 PPERequesterBank.GetRequester(PPERequester_FeedbackBlur).Stop();
449 }
450
451 SetFocus(m_LastFocusedButton);
453 }
454
456 {
457 return m_DialogPanel.IsVisible();
458 }
459
461 {
462 return m_DisplayedDlcHandler != null;
463 }
464
466 {
467 EnterScriptedMenu(MENU_SERVER_BROWSER);
468 }
469
471 {
472 EnterScriptedMenu(MENU_XBOX_CONTROLS);
473 }
474
476 {
477 EnterScriptedMenu(MENU_OPTIONS);
478 }
479
481 {
482 EnterScriptedMenu(MENU_VIDEO);
483 }
484
486 {
487 EnterScriptedMenu(MENU_TUTORIAL);
488 }
489
491 {
492 EnterScriptedMenu(MENU_CHARACTER);
493 }
494
496 {
497 EnterScriptedMenu(MENU_CREDITS);
498 m_Mission.OnMenuEnter(MENU_CREDITS);
499 }
500
502 {
503 BiosUserManager user_manager = GetGame().GetUserManager();
504 if (user_manager)
505 {
506 g_Game.SetLoadState(DayZLoadState.MAIN_MENU_START);
507 #ifndef PLATFORM_WINDOWS
508 user_manager.SelectUserEx(null);
509 #endif
510 GetGame().GetUIManager().Back();
511 }
512 }
513
514 void Exit()
515 {
516 GetGame().GetUIManager().ShowDialog("#main_menu_exit", "#main_menu_exit_desc", IDC_MAIN_QUIT, DBT_YESNO, DBB_YES, DMT_QUESTION, this);
517 }
518
519 //Coloring functions (Until WidgetStyles are useful)
520 void ColorHighlight(Widget w)
521 {
522 if (!w)
523 return;
524
525 int color_pnl = ARGB(255, 200, 0, 0);
526 int color_lbl = ARGB(255, 255, 255, 255);
527
528 ButtonSetColor(w, color_pnl);
530 ButtonSetTextColor(w, color_lbl);
531 }
532
533 void ColorNormal(Widget w)
534 {
535 if (!w)
536 return;
537
538 int color_pnl = ARGB(0, 0, 0, 0);
539 int color_lbl = ARGB(255, 255, 255, 255);
540
541 ButtonSetColor(w, color_pnl);
542 ButtonSetAlphaAnim(null);
543 ButtonSetTextColor(w, color_lbl);
544 }
545
546 override bool OnModalResult(Widget w, int x, int y, int code, int result)
547 {
548 if (code == IDC_MAIN_QUIT)
549 {
550 if (result == 2)
551 {
552 GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(g_Game.RequestExit, IDC_MAIN_QUIT);
553 }
554
555 return true;
556 }
557 else if (code == 555)
558 {
559 if (result == 2)
560 {
562 }
563 }
564 return false;
565 }
566
567 void ButtonSetText(Widget w, string text)
568 {
569 if (!w)
570 return;
571
572 TextWidget label = TextWidget.Cast(w.FindWidget(w.GetName() + "_label"));
573
574 if (label)
575 {
576 label.SetText(text);
577 }
578
579 }
580
581 void ButtonSetColor(Widget w, int color)
582 {
583 if (!w)
584 return;
585
586 Widget panel = w.FindWidget(w.GetName() + "_panel");
587
588 if (panel)
589 {
590 panel.SetColor(color);
591 }
592 }
593
594 void ButtonSetAlphaAnim(Widget w)
595 {
596 if (!w)
597 return;
598
599 Widget panel = w.FindWidget(w.GetName() + "_panel");
600
601 if (panel)
602 {
603 SetWidgetAnimAlpha(panel);
604 }
605 }
606
607 void ButtonSetTextColor(Widget w, int color)
608 {
609 if (!w)
610 return;
611
612 TextWidget label = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_label"));
613 TextWidget text = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_text"));
614 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_text_1"));
615
616 if (label)
617 {
618 label.SetColor(color);
619 }
620
621 if (text)
622 {
623 text.SetColor(color);
624 }
625
626 if (text2)
627 {
628 text2.SetColor(color);
629 }
630 }
631
632 protected void UpdateControlsElements()
633 {
634 RichTextWidget toolbar_text = RichTextWidget.Cast(layoutRoot.FindAnyWidget("ContextToolbarText"));
635 string context;
637 {
638 context = InputUtils.GetRichtextButtonIconFromInputAction("UAUICredits", "#menu_credits", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR);
639 #ifndef PLATFORM_PS4
640 context += string.Format(" %1",InputUtils.GetRichtextButtonIconFromInputAction("UAUICtrlY", "#layout_xbox_main_menu_toolbar_account", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
641 #endif
642 context += string.Format(" %1",InputUtils.GetRichtextButtonIconFromInputAction("UAUISelect", "#layout_xbox_main_menu_toolbar_select", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
643 context += string.Format(" %1",InputUtils.GetRichtextButtonIconFromInputAction("UAUIThumbRight", "#layout_main_menu_feedback", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
644 }
645 else
646 {
647 context = InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "#close", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR);
648 }
649
650 toolbar_text.SetText(context);
651 }
652
654 {
655 bool toolbarShow = false;
656 #ifdef PLATFORM_CONSOLE
657 toolbarShow = !GetGame().GetInput().IsEnabledMouseAndKeyboard() || GetGame().GetInput().GetCurrentInputDevice() == EInputDeviceType.CONTROLLER;
658 #endif
659
660 layoutRoot.FindAnyWidget("toolbar_bg").Show(toolbarShow);
661 }
662}
void OnInputPresetChanged()
Definition inventory.c:168
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
Definition inventory.c:175
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native BiosUserManager GetUserManager()
proto native ContentDLC GetContentDLCService()
Return DLC service (service for entitlement keys for unlock content)
static JsonDataDLCList GetData()
static const float ICON_SCALE_NORMAL
Definition inpututils.c:14
static string GetRichtextButtonIconFromInputAction(notnull UAInput pInput, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false)
Definition inpututils.c:167
static const float ICON_SCALE_TOOLBAR
Definition inpututils.c:15
void UpdateControlsElementVisibility()
Widget m_Tutorials
Definition mainmenu.c:19
override bool OnMouseEnter(Widget w, int x, int y)
override void OnShow()
bool FeedbackDialogVisible()
ImageWidget m_FeedbackPlatformIcon
ImageWidget m_FeedbackQRCode
ref JsonDataDLCList m_DlcData
Definition mainmenu.c:46
override bool OnFocus(Widget w, int x, int y)
ref Widget m_LastFocusedButton
Definition mainmenu.c:37
override void Update(float timeslice)
ref map< string, ref ModInfo > m_AllDlcsMap
Definition mainmenu.c:45
void OnDLCChange(EDLCId dlcId)
override void Refresh()
RichTextWidget m_FeedbackCloseLabel
Widget m_MessageButton
Definition mainmenu.c:21
ref array< ref ModInfo > m_AllDLCs
TextWidget m_Version
void OpenMenuServerBrowser()
Definition mainmenu.c:454
void OpenMenuCustomizeCharacter()
Definition mainmenu.c:459
void ColorHighlight(Widget w)
void OpenCredits()
Definition mainmenu.c:559
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
Widget m_PlayVideo
Definition mainmenu.c:17
Widget m_DlcFrame
Definition mainmenu.c:44
void ButtonSetText(Widget w, string text)
void LoadMods()
Definition mainmenu.c:129
void ButtonSetAlphaAnim(Widget w)
override void OnHide()
MissionMainMenu m_Mission
Definition mainmenu.c:6
override bool OnFocusLost(Widget w, int x, int y)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
ButtonWidget m_Play
void FilterDLCs(inout array< ref ModInfo > modArray)
leaves ONLY DLCs
void UpdateControlsElements()
Widget m_CustomizeCharacter
Definition mainmenu.c:16
ref MainMenuDlcHandlerBase m_DisplayedDlcHandler
Definition mainmenu.c:48
ref array< ref MainMenuDlcHandlerBase > m_DlcHandlers
Definition mainmenu.c:47
void ButtonSetTextColor(Widget w, int color)
TextWidget m_PlayerName
Definition mainmenu.c:9
ButtonWidget m_FeedbackClose
override Widget Init()
override bool OnClick(Widget w, int x, int y, int button)
void ButtonSetColor(Widget w, int color)
override bool OnModalResult(Widget w, int x, int y, int code, int result)
void ColorNormal(Widget w)
ref MainMenuVideo m_Video
Definition mainmenu.c:4
void ToggleFeedbackDialog()
void PopulateDlcFrame()
Definition mainmenu.c:186
DayZIntroScenePC m_ScenePC
Definition mainmenu.c:7
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
EDLCId
Definition contentdlc.c:4
DayZGame g_Game
Definition dayzgame.c:3868
DayZGame GetDayZGame()
Definition dayzgame.c:3870
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
const int MENU_TUTORIAL
Definition constants.c:204
const int MENU_XBOX_CONTROLS
Definition constants.c:197
const int MENU_MAIN
Definition constants.c:182
const int MENU_SERVER_BROWSER
Definition constants.c:200
const int MENU_OPTIONS
Definition constants.c:183
const int MENU_CREDITS
Definition constants.c:205
const int MENU_CHARACTER
Definition constants.c:174
const int MENU_VIDEO
Definition constants.c:202
const int CALL_CATEGORY_GUI
Definition tools.c:9
const int IDC_MAIN_QUIT
Definition constants.c:144
Icon x
Icon y
EInputDeviceType
Definition input.c:3
ref PluginDayzPlayerDebug_Ctrl m_Controls
int ARGB(int a, int r, int g, int b)
Definition proto.c:322
void OnDLCChange(EDLCId dlcId)
void Refresh()
proto native UAInputAPI GetUApi()