MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Start

Method Start

ogsr_engine/xr_3da/IGame_Persistent.cpp:72–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71}
72void IGame_Persistent::Start(LPCSTR op)
73{
74 string256 prev_type;
75 strcpy_s(prev_type, m_game_params.m_game_type);
76
77 m_game_params.parse_cmd_line(op);
78
79 if ((0 != xr_strcmp(prev_type, m_game_params.m_game_type)))
80 {
81 if (*m_game_params.m_game_type)
82 OnGameStart();
83 }
84 else
85 UpdateGameType();
86
87 VERIFY(ps_destroy.empty());
88}
89
90void IGame_Persistent::Disconnect()
91{

Callers 14

OnEventMethod · 0.45
LoadBeginMethod · 0.45
LoadStageMethod · 0.45
FrameMoveMethod · 0.45
prefetchMethod · 0.45
LoadMethod · 0.45
InitializeMethod · 0.45
stat_StartMethod · 0.45
ProcessCamMethod · 0.45
CRenderDeviceFunction · 0.45
LoadMethod · 0.45
loadSoundsMethod · 0.45

Calls 2

xr_strcmpFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected