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

◆ DayZGame()

void CGame::DayZGame ( )
inlineprivate

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

1017 {
1018 PPEManagerStatic.CreateManagerStatic();
1019
1020#ifdef PLATFORM_CONSOLE
1021 SetMainMenuWorld("MainMenuSceneXbox");
1022#endif
1024
1025 m_keyboard_handler = null;
1026
1027 #ifdef DEVELOPER
1029 #endif
1030
1031 for (int i = 0; i < CALL_CATEGORY_COUNT; i++)
1032 {
1033 m_callQueue[i] = new ScriptCallQueue();
1034 m_updateQueue[i] = new ScriptInvoker();
1035 m_timerQueue[i] = new TimerQueue();
1036
1037 m_postUpdateQueue[i] = new ScriptInvoker();
1038 }
1039
1040 m_dragQueue = new DragQueue;
1041
1042 m_LoginTime = 0;
1043
1044 string tmp;
1045 if (CommandlineGetParam("stresstest", tmp))
1046 {
1047 m_IsStressTest = true;
1048 }
1049
1050 if (CommandlineGetParam("doAimLogs", tmp))
1051 {
1052 m_AimLoggingEnabled = true;
1053 }
1054
1055 // initialize backlit effects
1056 m_Backlit = new Backlit();
1057 m_Backlit.OnInit(this);
1058
1060
1061 #ifndef NO_GUI
1062 if (m_loading == null)
1063 {
1064 m_loading = new LoadingScreen(this);
1065 }
1066
1067 if (m_loading)
1068 {
1069 m_loading.ShowEx(this);
1070 }
1071
1073 #endif
1074
1075 Debug.Init();
1076 Component.Init();
1077 CachedObjectsParams.Init();
1078 CachedObjectsArrays.Init();
1079 BleedChanceData.InitBleedChanceData();
1080 GetUApi().PresetSelect(GetUApi().PresetCurrent());
1081
1082 m_DayZProfileOptions = new DayZProfilesOptions();
1083
1084#ifdef ROBOCLIENT
1085 string roboclientValue;
1086 if (CommandlineGetParam("roboclient", roboclientValue))
1087 {
1088 m_IsRoboclient = true;
1089 }
1090#endif
1091
1092#ifndef SERVER
1094#endif
1095
1097
1098 string path = "cfgVehicles";
1099 string child_name = "";
1100 int count = ConfigGetChildrenCount(path);
1101
1102 for (int p = 0; p < count; ++p)
1103 {
1104 ConfigGetChildName(path, p, child_name);
1105
1106 if (ConfigGetInt(path + " " + child_name + " scope") != 2)
1107 continue;
1108
1109 if (!IsKindOf(child_name, "SurvivorBase"))
1110 continue;
1111
1112#ifdef USER_kumarjac
1113 if (child_name == "SurvivorF_Keiko")
1114 continue;
1115#endif
1116
1117 m_CharClassNames.Insert(child_name);
1118 }
1119
1120 m_IsConnecting = false;
1121 m_ConnectFromJoin = false;
1122 }
string Debug()
Определения CachedEquipmentStorageBase.c:26
void LoadingScreen(DayZGame game)
Определения DayZGame.c:725
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:936
int m_MissionState
Определения DayZGame.c:921
ref array< string > m_CharClassNames
Определения DayZGame.c:995
ref DayZProfilesOptions m_DayZProfileOptions
Определения DayZGame.c:942
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1233
bool IsKindOf(string cfg_class_name, string cfg_parent_name)
Returns is class name inherited from parent class name.
Определения Global/game.c:1436
ref ScriptInvoker m_postUpdateQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:939
void GlobalsInit()
Определения DayZGame.c:1158
bool m_early_access_dialog_accepted
Определения DayZGame.c:943
bool m_ConnectFromJoin
Определения DayZGame.c:964
bool m_IsStressTest
Определения DayZGame.c:958
proto native bool GetModToBeReported()
proto native void SetMainMenuWorld(string world)
bool m_IsConnecting
Определения DayZGame.c:963
static bool m_ReportModded
Определения DayZGame.c:957
ref ScriptCallQueue m_callQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:937
proto native int ConfigGetInt(string path)
Get int value from config on path.
ref Backlit m_Backlit
Определения DayZGame.c:993
const int MISSION_STATE_GAME
Определения DayZGame.c:913
ref ScriptInvoker m_updateQueue[CALL_CATEGORY_COUNT]
Определения DayZGame.c:938
UIScriptedMenu m_keyboard_handler
Определения DayZGame.c:944
void RefreshMouseCursorVisibility()
Определения DayZGame.c:4034
int m_LoginTime
Определения DayZGame.c:933
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
ref DragQueue m_dragQueue
Определения DayZGame.c:940
proto bool CommandlineGetParam(string name, out string value)
Get command line parameter value.
void DeferredInit()
Определения DayZGame.c:1136
bool m_AimLoggingEnabled
Определения DayZGame.c:959
ref LoadingScreen m_loading
Определения DayZGame.c:930
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_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8
const int CALL_CATEGORY_COUNT
Определения 3_Game/DayZ/tools/tools.c:12

Перекрестные ссылки ScriptCallQueue::Call(), CALL_CATEGORY_COUNT, CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_SYSTEM, 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().