DayZ 1.24
Loading...
Searching...
No Matches
MainMenu.c
Go to the documentation of this file.
1class MainMenu extends UIScriptedMenu
2{
3 protected ref MainMenuStats m_Stats;
5
8
10 protected TextWidget m_Version;
11
12 protected Widget m_CharacterRotationFrame;
13
14 protected Widget m_Play;
22 protected Widget m_Exit;
23 protected Widget m_NewsMain;
24 protected Widget m_NewsSec1;
25 protected Widget m_NewsSec2;
28
34
35 protected ref WidgetFadeTimer m_LastPlayedTooltipTimer;
37
39 protected ref ModsMenuSimple m_ModsSimple;
40 protected ref ModsMenuDetailed m_ModsDetailed;
41 protected ref ModsMenuTooltip m_ModsTooltip;
42
43 protected Widget m_DlcFrame;
47 protected ref MainMenuDlcHandlerBase m_DisplayedDlcHandler;
48
49
50 override Widget Init()
51 {
52 layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/new_ui/main_menu.layout");
53
54 m_Play = layoutRoot.FindAnyWidget("play");
55 m_ChooseServer = layoutRoot.FindAnyWidget("choose_server");
56 m_CustomizeCharacter = layoutRoot.FindAnyWidget("customize_character");
57 m_PlayVideo = layoutRoot.FindAnyWidget("play_video");
58 m_Tutorials = layoutRoot.FindAnyWidget("tutorials");
59 m_TutorialButton = layoutRoot.FindAnyWidget("tutorial_button");
60 m_MessageButton = layoutRoot.FindAnyWidget("message_button");
61 m_SettingsButton = layoutRoot.FindAnyWidget("settings_button");
62 m_Exit = layoutRoot.FindAnyWidget("exit_button");
63 m_PrevCharacter = layoutRoot.FindAnyWidget("prev_character");
64 m_NextCharacter = layoutRoot.FindAnyWidget("next_character");
65
66 m_DlcFrame = layoutRoot.FindAnyWidget("dlc_Frame");
67 m_Version = TextWidget.Cast(layoutRoot.FindAnyWidget("version"));
68 m_ModdedWarning = TextWidget.Cast(layoutRoot.FindAnyWidget("ModdedWarning"));
69 m_CharacterRotationFrame = layoutRoot.FindAnyWidget("character_rotation_frame");
70
71 m_LastPlayedTooltip = layoutRoot.FindAnyWidget("last_server_info");
72 m_LastPlayedTooltip.Show(false);
73 m_LastPlayedTooltipLabel = m_LastPlayedTooltip.FindAnyWidget("last_server_info_label");
74 m_LastPlayedTooltipName = TextWidget.Cast(m_LastPlayedTooltip.FindAnyWidget("last_server_info_name"));
75 m_LastPlayedTooltipIP = TextWidget.Cast(m_LastPlayedTooltip.FindAnyWidget("last_server_info_ip"));
76 m_LastPlayedTooltipPort = TextWidget.Cast(m_LastPlayedTooltip.FindAnyWidget("last_server_info_port"));
77
78 m_LastPlayedTooltipTimer = new WidgetFadeTimer();
79
80 m_Stats = new MainMenuStats(layoutRoot.FindAnyWidget("character_stats_root"));
81
82 m_Mission = MissionMainMenu.Cast(GetGame().GetMission());
83
84 m_LastFocusedButton = m_Play;
85
86 m_ScenePC = m_Mission.GetIntroScenePC();
87
88 if (m_ScenePC)
89 m_ScenePC.ResetIntroCamera();
90
91 m_PlayVideo.Show(false);
92
93 m_PlayerName = TextWidget.Cast(layoutRoot.FindAnyWidget("character_name_text"));
94
95 // Set Version
96 string version;
97 GetGame().GetVersion(version);
98 m_Version.SetText("#main_menu_version" + " " + version);
99
100 GetGame().GetUIManager().ScreenFadeOut(0);
101
102 SetFocus(null);
103
104 Refresh();
105
106 LoadMods();
107 PopulateDlcFrame();
108
109 GetDayZGame().GetBacklit().MainMenu_OnShow();
110 GetGame().GetMission().GetOnModMenuVisibilityChanged().Insert(ShowDlcFrame);
111
112 g_Game.SetLoadState(DayZLoadState.MAIN_MENU_CONTROLLER_SELECT);
113
114 return layoutRoot;
115 }
116
118 {
119 if (GetGame().GetMission())
120 GetGame().GetMission().GetOnModMenuVisibilityChanged().Remove(ShowDlcFrame);
121 }
122
123 void LoadMods()
124 {
126 GetGame().GetModInfos(modArray);
127
128 if (modArray.Count() > 0)
129 {
130 modArray.Remove(modArray.Count() - 1);
131 modArray.Invert();
132 }
133
134 FilterDlcs(modArray);
135
136 if (m_ModsSimple)
137 delete m_ModsSimple;
138 if (m_ModsDetailed)
139 delete m_ModsDetailed;
140
141 m_ModdedWarning.Show(GetGame().GetModToBeReported());
142
143 if (modArray.Count() > 0)
144 {
145 layoutRoot.FindAnyWidget("ModsSimple").Show(true);
146 m_ModsTooltip = new ModsMenuTooltip(layoutRoot);
147
148 m_ModsDetailed = new ModsMenuDetailed(modArray, layoutRoot.FindAnyWidget("ModsDetailed"), m_ModsTooltip, this);
149
150 m_ModsSimple = new ModsMenuSimple(modArray, layoutRoot.FindAnyWidget("ModsSimple"), m_ModsDetailed);
151 }
152 }
153
155 {
156 if (!m_AllDlcsMap)
157 m_AllDlcsMap = new map<string, ref ModInfo>();
158 m_AllDlcsMap.Clear();
159
160 int count = modArray.Count();
162 for (int i = count - 1; i > -1; i--)
163 {
164 info = modArray[i];
165 if (info.GetIsDLC())
166 {
167 m_AllDlcsMap.Set(info.GetName(), info);
168 modArray.Remove(i);
169 }
170 }
171 }
172
173 void ShowDlcFrame(bool show)
174 {
175 m_DlcFrame.Show(show);
176 if (m_DisplayedDlcHandler)
177 m_DisplayedDlcHandler.ShowInfoPanel(show);
178 }
179
181 {
182 if (!m_DlcHandlers)
183 m_DlcHandlers = new array<ref MainMenuDlcHandlerBase>();
184
185 m_DlcData = DlcDataLoader.GetData();
186 int count = m_DlcData.DLCs.Count();
189
190 for (int i = 0; i < count; i++)
191 {
192 data = m_DlcData.DLCs[i];
193 info = m_AllDlcsMap.Get(data.Name);
194 MainMenuDlcHandlerBase handler = new MainMenuDlcHandlerBase(info, m_DlcFrame, data);
195
196 handler.ShowInfoPanel(true);
197 m_DisplayedDlcHandler = handler;//TODO: carousel will take care of this later
198
199 m_DlcHandlers.Insert(handler);
200 }
201 }
202
203 override bool OnMouseButtonDown(Widget w, int x, int y, int button)
204 {
205 if (w == m_CharacterRotationFrame)
206 {
207 if (m_ScenePC)
208 m_ScenePC.CharacterRotationStart();
209 return true;
210 }
211
212 return false;
213 }
214
215 override bool OnMouseButtonUp(Widget w, int x, int y, int button)
216 {
217 if (m_ScenePC)
218 m_ScenePC.CharacterRotationStop();
219 return false;
220 }
221
222 override bool OnClick(Widget w, int x, int y, int button)
223 {
224 if (button == MouseState.LEFT)
225 {
226 if (w == m_Play)
227 {
228 m_LastFocusedButton = m_Play;
229 Play();
230 return true;
231 }
232 else if (w == m_ChooseServer)
233 {
234 m_LastFocusedButton = m_ChooseServer;
235 OpenMenuServerBrowser();
236 return true;
237 }
238 else if (w == m_CustomizeCharacter)
239 {
240 OpenMenuCustomizeCharacter();
241 return true;
242 }
243 else if (w == m_TutorialButton)
244 {
245 OpenTutorials();
246 return true;
247 }
248 else if (w == m_MessageButton)
249 {
250 OpenCredits();
251 return true;
252 }
253 else if (w == m_SettingsButton)
254 {
255 OpenSettings();
256 return true;
257 }
258 else if (w == m_Exit)
259 {
260 Exit();
261 return true;
262 }
263 else if (w == m_PrevCharacter)
264 {
265 PreviousCharacter();
266 return true;
267 }
268 else if (w == m_NextCharacter)
269 {
270 NextCharacter();
271 return true;
272 }
273 else if (w == m_PlayVideo)
274 {
275 m_LastFocusedButton = m_PlayVideo;
276 PlayVideo();
277 return true;
278 }
279 else if (w == m_Tutorials)
280 {
281 m_LastFocusedButton = m_Tutorials;
282 OpenTutorials();
283 return true;
284 }
285 }
286 return false;
287 }
288
289 override bool OnMouseEnter(Widget w, int x, int y)
290 {
291 if (w == m_Play)
292 {
293 string ip = "";
294 string name = "";
295 int port = 0;
296
297 if (m_ScenePC && !m_ScenePC.GetIntroCharacter().IsDefaultCharacter())
298 {
299 int charID = m_ScenePC.GetIntroCharacter().GetCharacterID();
300 m_ScenePC.GetIntroCharacter().GetLastPlayedServer(charID, ip, name, port);
301
302 m_LastPlayedTooltipName.SetText("#server_details_name " + name);
303 m_LastPlayedTooltipIP.SetText("#main_menu_IP " + ip);
304 m_LastPlayedTooltipPort.SetText("#main_menu_port " + port);
305
306 m_LastPlayedTooltipTimer.FadeIn(m_LastPlayedTooltip, 0.3, true);
307 }
308 }
309
310 if (IsFocusable(w))
311 {
313 return true;
314 }
315 return false;
316 }
317
318 override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
319 {
320 if (w == m_Play)
321 m_LastPlayedTooltipTimer.FadeOut(m_LastPlayedTooltip, 0.3, true);
322
323 if (IsFocusable(w))
324 {
325 ColorNormal(w);
326 return true;
327 }
328 return false;
329 }
330
331 override bool OnFocus(Widget w, int x, int y)
332 {
333 if (IsFocusable(w))
334 {
336 return true;
337 }
338 return false;
339 }
340
341 override bool OnFocusLost(Widget w, int x, int y)
342 {
343 if (IsFocusable(w))
344 {
345 ColorNormal(w);
346 return true;
347 }
348 return false;
349 }
350
352 {
353 if (w)
354 {
355 if (w == m_Play || w == m_ChooseServer || w == m_CustomizeCharacter || w == m_TutorialButton || w == m_MessageButton || w == m_SettingsButton);
356 {
357 return true;
358 }
359
360 if (w == m_Exit || w == m_PlayVideo);
361 {
362 return true;
363 }
364
365 if (w == m_NewsMain || w == m_NewsSec1 || w == m_NewsSec2 || w == m_PrevCharacter || w == m_NextCharacter);
366 {
367 return true;
368 }
369 }
370 return false;
371 }
372
373 override void Refresh()
374 {
375 string name;
376 if (m_ScenePC && g_Game.GetGameState() == DayZGameState.MAIN_MENU)
377 OnChangeCharacter();
378
379 string version;
380 GetGame().GetVersion(version);
381 m_Version.SetText("#main_menu_version" + " " + version);
382 }
383
384 override void OnShow()
385 {
386 if (m_DisplayedDlcHandler)
387 m_DisplayedDlcHandler.ShowInfoPanel(true);
388
389 SetFocus(null);
390 OnChangeCharacter(false);
391 m_Stats.UpdateStats();
392 LoadMods();
393 return;
394 }
395
396 override void OnHide()
397 {
398 if (m_DisplayedDlcHandler)
399 m_DisplayedDlcHandler.ShowInfoPanel(false);
400
401 GetDayZGame().GetBacklit().MainMenu_OnHide();
402 }
403
404 override void Update(float timeslice)
405 {
406 super.Update(timeslice);
407
408 if (GetGame() && GetUApi().GetInputByID(UAUIBack).LocalPress())
409 Exit();
410 }
411
412 void Play()
413 {
414 if (!g_Game.IsNewCharacter())
415 GetGame().GetCallQueue(CALL_CATEGORY_GUI).CallByName(this, "ConnectLastSession");
416 else
417 GetGame().GetCallQueue(CALL_CATEGORY_GUI).CallByName(this, "ConnectBestServer");
418 }
419
421 {
422 if (m_ScenePC && m_ScenePC.GetIntroCharacter() && m_ScenePC.GetIntroCharacter().GetCharacterID() == -1)
423 return true;
424 return false;
425 }
426
428 {
429 EnterScriptedMenu(MENU_SERVER_BROWSER);
430 }
431
433 {
434 EnterScriptedMenu(MENU_CHARACTER);
435 }
436
438 {
439 if (m_ScenePC && m_ScenePC.GetIntroCharacter())
440 {
441 int charID = m_ScenePC.GetIntroCharacter().GetNextCharacterID();
442 if (charID != m_ScenePC.GetIntroCharacter().GetCharacterID())
443 {
444 m_ScenePC.GetIntroCharacter().SetCharacterID(charID);
445 OnChangeCharacter();
446 }
447 }
448 }
449
451 {
452 if (m_ScenePC && m_ScenePC.GetIntroCharacter())
453 {
454 int charID = m_ScenePC.GetIntroCharacter().GetPrevCharacterID();
455 if (charID != m_ScenePC.GetIntroCharacter().GetCharacterID())
456 {
457 m_ScenePC.GetIntroCharacter().SetCharacterID(charID);
458 OnChangeCharacter();
459 }
460 }
461 }
462
464 {
465 if (m_ScenePC && m_ScenePC.GetIntroCharacter())
466 {
467 int charID = m_ScenePC.GetIntroCharacter().GetCharacterID();
469 m_ScenePC.GetIntroCharacter().CreateNewCharacterById(charID);
470 m_PlayerName.SetText(m_ScenePC.GetIntroCharacter().GetCharacterNameById(charID));
471
472 Widget w = m_CustomizeCharacter.FindAnyWidget(m_CustomizeCharacter.GetName() + "_label");
473
474 if (w)
475 {
476 TextWidget text = TextWidget.Cast(w);
477
478 if (m_ScenePC.GetIntroCharacter().IsDefaultCharacter())
479 text.SetText("#layout_main_menu_customize_char");
480 else
481 text.SetText("#layout_main_menu_rename");
482 }
483 if (m_ScenePC.GetIntroCharacter().GetCharacterObj())
484 {
485 if (m_ScenePC.GetIntroCharacter().GetCharacterObj().IsMale())
486 m_ScenePC.GetIntroCharacter().SetCharacterGender(ECharGender.Male);
487 else
488 m_ScenePC.GetIntroCharacter().SetCharacterGender(ECharGender.Female);
489 }
490
491 //update character stats
492 m_Stats.UpdateStats();
493 }
494 }
495
497 {
498
499 }
500
502 {
503
504 }
505
507 {
508 EnterScriptedMenu(MENU_OPTIONS);
509 }
510
512 {
513 EnterScriptedMenu(MENU_VIDEO);
514 }
515
517 {
518 EnterScriptedMenu(MENU_TUTORIAL);
519 }
520
522 {
523 EnterScriptedMenu(MENU_CREDITS);
524 m_Mission.OnMenuEnter(MENU_CREDITS);
525 }
526
527 void Exit()
528 {
529 GetGame().GetUIManager().ShowDialog("#main_menu_exit", "#main_menu_exit_desc", IDC_MAIN_QUIT, DBT_YESNO, DBB_YES, DMT_QUESTION, this);
530 }
531
533 {
534 if (g_Game.GetLastVisitedServer(ip, port))
535 return true;
536 return false;
537 }
538
543
545 {
546 string ip = "";
547 string name = "";
548 int port = 0;
549
550 if (!m_ScenePC.GetIntroCharacter().IsDefaultCharacter())
551 {
552 int charID = m_ScenePC.GetIntroCharacter().GetCharacterID();
553 m_ScenePC.GetIntroCharacter().GetLastPlayedServer(charID, ip, name, port);
554 }
555
556 if (ip.Length() > 0)
557 g_Game.ConnectFromServerBrowser(ip, port, "");
558 else
559 OpenMenuServerBrowser();
560 }
561
563 {
564 ConnectLastSession();
565 }
566
567 override bool OnModalResult(Widget w, int x, int y, int code, int result)
568 {
569 if (code == IDC_MAIN_QUIT)
570 {
571 if (result == 2)
572 GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(g_Game.RequestExit, IDC_MAIN_QUIT);
573 if (result == 3)
575 return true;
576 }
577 else if (code == 555)
578 {
579 if (result == 2)
580 OpenTutorials();
581 }
582 return false;
583 }
584
585 //Coloring functions (Until WidgetStyles are useful)
587 {
588 if (!w)
589 return;
590
591 int color_pnl = ARGB(255, 0, 0, 0);
592 int color_lbl = ARGB(255, 255, 0, 0);
593 int color_img = ARGB(255, 200, 0, 0);
594
595 ButtonSetColor(w, color_pnl);
596 ButtonSetTextColor(w, color_lbl);
597 ImagenSetColor(w, color_img);
598 }
599
601 {
602 if (!w)
603 return;
604
605 int color_pnl = ARGB(0, 0, 0, 0);
606 int color_lbl = ARGB(255, 255, 255, 255);
607 int color_img = ARGB(255, 255, 255, 255);
608
609 ButtonSetColor(w, color_pnl);
610 ButtonSetTextColor(w, color_lbl);
611 ImagenSetColor(w, color_img);
612 }
613
615 {
616 if (!w)
617 return;
618
619 TextWidget label = TextWidget.Cast(w.FindWidget(w.GetName() + "_label"));
620
621 if (label)
622 label.SetText(text);
623
624 }
625
627 {
628 if (!w)
629 return;
630
631 Widget panel = w.FindWidget(w.GetName() + "_panel");
632
633 if (panel)
634 panel.SetColor(color);
635 }
636
638 {
639 if (!w)
640 return;
641
642 Widget panel = w.FindWidget(w.GetName() + "_image");
643
644 if (panel)
645 panel.SetColor(color);
646 }
647
649 {
650 if (!w)
651 return;
652
653 TextWidget label = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_label"));
654 TextWidget text = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_text"));
655 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget(w.GetName() + "_text_1"));
656
657 if (label)
658 label.SetColor(color);
659
660 if (text)
661 text.SetColor(color);
662
663 if (text2)
664 text2.SetColor(color);
665 }
666}
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
DayZGame g_Game
Definition DayZGame.c:3528
TextWidget m_ModdedWarning
Definition DayZGame.c:661
DayZGame GetDayZGame()
Definition DayZGame.c:3530
ECharGender
Definition ECharGender.c:2
Icon x
Icon y
ref array< ref StatDebugObject > m_Stats
void ColorNormal(Widget w)
bool IsFocusable(Widget w)
void ColorHighlight(Widget w)
void Refresh()
EAnimPlayState Play()
proto native UAInputAPI GetUApi()
IntroSceneCharacter GetIntroCharacter()
static JsonDataDLCList GetData()
static void AutoConnectToEmptyServer()
TextWidget m_LastPlayedTooltipPort
Definition MainMenu.c:33
void OpenSettings()
Definition MainMenu.c:506
ref WidgetFadeTimer m_LastPlayedTooltipTimer
Definition MainMenu.c:35
Widget m_Tutorials
Definition MainMenu.c:18
Widget m_Exit
Definition MainMenu.c:22
override bool OnMouseEnter(Widget w, int x, int y)
Definition MainMenu.c:289
override void OnShow()
Definition MainMenu.c:384
TextWidget m_LastPlayedTooltipIP
Definition MainMenu.c:32
void ConnectBestServer()
Definition MainMenu.c:562
void OpenTutorials()
Definition MainMenu.c:516
ref JsonDataDLCList m_DlcData
Definition MainMenu.c:45
TextWidget m_LastPlayedTooltipName
Definition MainMenu.c:31
override bool OnFocus(Widget w, int x, int y)
Definition MainMenu.c:331
void OpenMessages()
Definition MainMenu.c:501
ref Widget m_LastFocusedButton
Definition MainMenu.c:36
Widget m_NewsMain
Definition MainMenu.c:23
override void Update(float timeslice)
Definition MainMenu.c:404
ref map< string, ref ModInfo > m_AllDlcsMap
Definition MainMenu.c:44
Widget m_TutorialButton
Definition MainMenu.c:19
override void Refresh()
Definition MainMenu.c:373
void PlayVideo()
Definition MainMenu.c:511
Widget m_MessageButton
Definition MainMenu.c:20
void ~MainMenu()
Definition MainMenu.c:117
void OpenMenuServerBrowser()
Definition MainMenu.c:427
Widget m_NewsSec1
Definition MainMenu.c:24
void OpenMenuCustomizeCharacter()
Definition MainMenu.c:432
Widget m_PrevCharacter
Definition MainMenu.c:26
void ColorHighlight(Widget w)
Definition MainMenu.c:586
bool IsFocusable(Widget w)
Definition MainMenu.c:351
void OpenCredits()
Definition MainMenu.c:521
Widget m_PlayVideo
Definition MainMenu.c:17
Widget m_NewsSec2
Definition MainMenu.c:25
Widget m_DlcFrame
Definition MainMenu.c:43
void ButtonSetText(Widget w, string text)
Definition MainMenu.c:614
bool CanSaveDefaultCharacter()
Definition MainMenu.c:420
void LoadMods()
Definition MainMenu.c:123
Widget m_ChooseServer
Definition MainMenu.c:15
override void OnHide()
Definition MainMenu.c:396
MissionMainMenu m_Mission
Definition MainMenu.c:6
override bool OnMouseButtonUp(Widget w, int x, int y, int button)
Definition MainMenu.c:215
void ConnectLastSession()
Definition MainMenu.c:544
override bool OnFocusLost(Widget w, int x, int y)
Definition MainMenu.c:341
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
Definition MainMenu.c:318
ref ModsMenuTooltip m_ModsTooltip
Definition MainMenu.c:41
void OpenStats()
Definition MainMenu.c:496
override bool OnMouseButtonDown(Widget w, int x, int y, int button)
Definition MainMenu.c:203
ref ModsMenuDetailed m_ModsDetailed
Definition MainMenu.c:40
ref ModsMenuSimple m_ModsSimple
Definition MainMenu.c:39
Widget m_Play
Definition MainMenu.c:14
void AutoConnect()
Definition MainMenu.c:539
Widget m_NextCharacter
Definition MainMenu.c:27
Widget m_CustomizeCharacter
Definition MainMenu.c:16
ref MainMenuDlcHandlerBase m_DisplayedDlcHandler
Definition MainMenu.c:47
ref array< ref MainMenuDlcHandlerBase > m_DlcHandlers
Definition MainMenu.c:46
void ButtonSetTextColor(Widget w, int color)
Definition MainMenu.c:648
TextWidget m_PlayerName
Definition MainMenu.c:9
bool TryConnectLastSession(out string ip, out int port)
Definition MainMenu.c:532
void PreviousCharacter()
Definition MainMenu.c:450
Widget m_LastPlayedTooltip
Definition MainMenu.c:29
void ShowDlcFrame(bool show)
Definition MainMenu.c:173
override Widget Init()
Definition MainMenu.c:50
override bool OnClick(Widget w, int x, int y, int button)
Definition MainMenu.c:222
void ImagenSetColor(Widget w, int color)
Definition MainMenu.c:637
void ButtonSetColor(Widget w, int color)
Definition MainMenu.c:626
Widget m_LastPlayedTooltipLabel
Definition MainMenu.c:30
override bool OnModalResult(Widget w, int x, int y, int code, int result)
Definition MainMenu.c:567
void ColorNormal(Widget w)
Definition MainMenu.c:600
void NextCharacter()
Definition MainMenu.c:437
ref MainMenuStats m_Stats
Definition MainMenu.c:3
void OnChangeCharacter(bool create_character=true)
Definition MainMenu.c:463
ref MainMenuVideo m_Video
Definition MainMenu.c:4
Widget m_SettingsButton
Definition MainMenu.c:21
void FilterDlcs(inout array< ref ModInfo > modArray)
Definition MainMenu.c:154
void PopulateDlcFrame()
Definition MainMenu.c:180
DayZIntroScenePC m_ScenePC
Definition MainMenu.c:7
proto native CGame GetGame()
const int MENU_TUTORIAL
Definition constants.c:194
const int MENU_SERVER_BROWSER
Definition constants.c:190
const int MENU_OPTIONS
Definition constants.c:173
const int MENU_CREDITS
Definition constants.c:195
const int MENU_CHARACTER
Definition constants.c:164
const int MENU_VIDEO
Definition constants.c:192
MouseState
Definition EnSystem.c:311
const int CALL_CATEGORY_GUI
Definition tools.c:9
const int IDC_MAIN_QUIT
Definition constants.c:136
proto native Widget GetFocus()
proto native void SetFocus(Widget w)
proto native void Exit()
int ARGB(int a, int r, int g, int b)
Definition proto.c:322