DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ DayZGame()

void CGame::DayZGame ( )
inlineprivate

См. определение в файле DayZGame.c строка 994

995 {
996 PPEManagerStatic.CreateManagerStatic();
997
998#ifdef PLATFORM_CONSOLE
999 SetMainMenuWorld("MainMenuSceneXbox");
1000#endif
1002
1003 m_keyboard_handler = null;
1004
1005 #ifdef DEVELOPER
1007 #endif
1008
1009 for (int i = 0; i < CALL_CATEGORY_COUNT; i++)
1010 {
1011 m_callQueue[i] = new ScriptCallQueue();
1012 m_updateQueue[i] = new ScriptInvoker();
1013 m_timerQueue[i] = new TimerQueue();
1014
1015 m_postUpdateQueue[i] = new ScriptInvoker();
1016 }
1017
1018 m_dragQueue = new DragQueue;
1019
1020 m_LoginTime = 0;
1021
1022 string tmp;
1023 if (CommandlineGetParam("stresstest", tmp))
1024 {
1025 m_IsStressTest = true;
1026 }
1027
1028 if (CommandlineGetParam("doAimLogs", tmp))
1029 {
1030 m_AimLoggingEnabled = true;
1031 }
1032
1033 // initialize backlit effects
1034 m_Backlit = new Backlit();
1035 m_Backlit.OnInit(this);
1036
1038
1039 #ifndef NO_GUI
1040 if (m_loading == null)
1041 {
1042 m_loading = new LoadingScreen(this);
1043 }
1044
1045 if (m_loading)
1046 {
1047 m_loading.ShowEx(this);
1048 }
1049
1051 #endif
1052
1053 Debug.Init();
1054 Component.Init();
1055 CachedObjectsParams.Init();
1056 CachedObjectsArrays.Init();
1057 BleedChanceData.InitBleedChanceData();
1058 GetUApi().PresetSelect(GetUApi().PresetCurrent());
1059
1060 m_DayZProfileOptions = new DayZProfilesOptions();
1061
1064
1065 string path = "cfgVehicles";
1066 string child_name = "";
1067 int count = ConfigGetChildrenCount(path);
1068
1069 for (int p = 0; p < count; ++p)
1070 {
1071 ConfigGetChildName(path, p, child_name);
1072
1073 if (ConfigGetInt(path + " " + child_name + " scope") != 2)
1074 continue;
1075
1076 if (!IsKindOf(child_name, "SurvivorBase"))
1077 continue;
1078
1079#ifdef USER_kumarjac
1080 if (child_name == "SurvivorF_Keiko")
1081 continue;
1082#endif
1083
1084 m_CharClassNames.Insert(child_name);
1085 }
1086
1087 m_IsConnecting = false;
1088 m_ConnectFromJoin = false;
1089 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
void LoadingScreen(DayZGame game)
Определения DayZGame.c:709
string path
Определения OptionSelectorMultistate.c:142
proto native UAInputAPI GetUApi()
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
ref TimerQueue m_timerQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:919
int m_MissionState
Определения DayZGame.c:904
ref array< string > m_CharClassNames
Определения DayZGame.c:974
ref DayZProfilesOptions m_DayZProfileOptions
Определения DayZGame.c:925
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1198
bool IsKindOf(string cfg_class_name, string cfg_parent_name)
Returns is class name inherited from parent class name.
Определения Global/game.c:1412
ref ScriptInvoker m_postUpdateQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:922
void GlobalsInit()
Определения DayZGame.c:1123
bool m_early_access_dialog_accepted
Определения DayZGame.c:926
bool m_ConnectFromJoin
Определения DayZGame.c:947
bool m_IsStressTest
Определения DayZGame.c:941
proto native bool GetModToBeReported()
proto native void SetMainMenuWorld(string world)
bool m_IsConnecting
Определения DayZGame.c:946
static bool m_ReportModded
Определения DayZGame.c:940
ref ScriptCallQueue m_callQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:920
proto native int ConfigGetInt(string path)
Get int value from config on path.
ref Backlit m_Backlit
Определения DayZGame.c:972
const int MISSION_STATE_GAME
Определения DayZGame.c:896
ref ScriptInvoker m_updateQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:921
UIScriptedMenu m_keyboard_handler
Определения DayZGame.c:927
void RefreshMouseCursorVisibility()
Определения DayZGame.c:3902
int m_LoginTime
Определения DayZGame.c:916
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
ref DragQueue m_dragQueue
Определения DayZGame.c:923
proto bool CommandlineGetParam(string name, out string value)
Get command line parameter value.
void DeferredInit()
Определения DayZGame.c:1103
bool m_AimLoggingEnabled
Определения DayZGame.c:942
ref LoadingScreen m_loading
Определения DayZGame.c:913
proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native void PresetSelect(int index)
const int CALL_CATEGORY_GAMEPLAY
Определения 3_Game/DayZ/tools/tools.c:10
const int CALL_CATEGORY_GUI
Определения 3_Game/DayZ/tools/tools.c:9
const int CALL_CATEGORY_COUNT
Определения 3_Game/DayZ/tools/tools.c:12

Перекрестные ссылки ScriptCallQueue::Call(), CALL_CATEGORY_COUNT, CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CommandlineGetParam(), ConfigGetChildName(), ConfigGetChildrenCount(), ConfigGetInt(), PPEManagerStatic::CreateManagerStatic(), DeferredInit(), GetCallQueue(), GetModToBeReported(), GetUApi(), GlobalsInit(), CachedObjectsArrays::Init(), CachedObjectsParams::Init(), Component::Init(), Debug::Init(), BleedChanceData::InitBleedChanceData(), IsKindOf(), LoadingScreen(), m_AimLoggingEnabled, m_Backlit, m_callQueue, m_CharClassNames, m_ConnectFromJoin, m_DayZProfileOptions, m_dragQueue, m_early_access_dialog_accepted, m_IsConnecting, m_IsStressTest, m_keyboard_handler, m_loading, m_LoginTime, m_MissionState, m_postUpdateQueue, m_ReportModded, m_timerQueue, m_updateQueue, MISSION_STATE_GAME, path, UAInputAPI::PresetSelect(), RefreshMouseCursorVisibility() и SetMainMenuWorld().

Используется в IsMissionMainMenu().