19 #ifdef PLATFORM_CONSOLE
20 if (
g_Game.GetGameState() != DayZGameState.PARTY )
34 #ifdef PLATFORM_CONSOLE
48 #ifdef PLATFORM_CONSOLE
49 Error(
"missionMainMenu->GetIntroScenePC on PLATFORM_CONSOLE is not implemented!");
58 #ifdef PLATFORM_CONSOLE
61 Error(
"missionMainMenu->GetIntroScenePC on PLATFORM_PC is not implemented!");
68#ifdef PLATFORM_CONSOLE
77 super.UpdateInputDevicesAvailability();
79 g_Game.GetInput().UpdateConnectedInputDeviceList();
80 g_Game.UpdateInputDeviceDisconnectWarning();
85 g_Game.GetUIManager().ShowUICursor(
true);
86 g_Game.SetMissionState(DayZGame.MISSION_STATE_MAINMENU);
97 g_Game.GetUIManager().CloseAll();
103#ifndef FEATURE_CURSOR
104 g_Game.GetUIManager().ShowUICursor(
false);
110 super.OnUpdate(timeslice);
113 UpdateInputDeviceDiag();
148 int find_number = number;
150 int index_max = list.Count() - 1;
151 int target_index =
Math.
Floor( index_max / 2 );
153 if ( index_max == -1 )
155 list.Insert( number );
161 int target_value = list[target_index];
163 if ( find_number == target_value || ((index_max - index_min) <= 1) )
165 for (
int i = index_min; i <= index_max; i++ )
167 if ( find_number <= list[i] )
169 list.InsertAt( find_number, i );
175 list.InsertAt( find_number, index_max );
178 else if ( find_number < target_value )
180 index_max = target_index;
181 target_index =
Math.
Floor( target_index / 2 );
183 else if ( find_number > target_value )
185 index_min = target_index;
186 target_index +=
Math.
Floor( (index_max - index_min) / 2 );
204 SoundObject soundObject = soundBuilder.BuildSoundObject();
EDynamicMusicPlayerCategory
int SortedInsert(array< int > list, int number)
void OnMenuEnter(int menu_id)
override void OnUpdate(float timeslice)
AbstractWave GetMenuMusic()
void OnInputDeviceChanged(int device)
ref DayZIntroSceneXbox m_IntroSceneXbox
CreditsMenu m_CreditsMenu
ref DayZIntroScenePC m_IntroScenePC
UIScriptedMenu m_mainmenu
DayZIntroScenePC GetIntroScenePC()
DayZIntroSceneXbox GetIntroSceneXbox()
override void OnMissionFinish()
override void OnMissionStart()
override void UpdateInputDevicesAvailability()
static proto native void DestroyAllPendingProgresses()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
void Error(string err)
Messagebox with error message.
static proto float Floor(float f)
Returns floor of value.
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
class SoundObject SoundParams(string name)
proto native void SetKind(WaveKind kind)