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

Method LoadBegin

ogsr_engine/xr_3da/x_ray.cpp:549–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547extern ENGINE_API BOOL g_appLoaded = FALSE;
548
549void CApplication::LoadBegin(bool quick)
550{
551 ll_dwReference++;
552 if (1 == ll_dwReference)
553 {
554 g_appLoaded = FALSE;
555
556 phase_timer.Start();
557
558 load_stage = 0;
559 if (quick)
560 max_load_stage = 4; // при быстром сохранении меньше фаз загрузки. 4 вроде б
561 else
562 max_load_stage = 16; // 17; //KRodin: пересчитал кол-во стадий, у нас их 15 при создании НИ + 1 на автопаузу
563 }
564}
565
566void CApplication::LoadEnd()
567{

Callers 5

restart_simulatorMethod · 0.80
net_StartMethod · 0.80
net_start_client1Method · 0.80
OnEventMethod · 0.80
level_LoadMethod · 0.80

Calls 1

StartMethod · 0.45

Tested by

no test coverage detected