MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / GetLocalPlayer

Method GetLocalPlayer

neo/d3xp/Game_local.cpp:2128–2138  ·  view source on GitHub ↗

================ idGameLocal::GetLocalPlayer Nothing in the game tic should EVER make a decision based on what the local client number is, it shouldn't even be aware that there is a draw phase even happening. This just returns client 0, which will be correct for single player. ================ */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

GetPlayerMethod · 0.45
PresentMethod · 0.45
Event_TriggerMethod · 0.45
Event_GetPlayerPosMethod · 0.45
Event_HideObjectiveMethod · 0.45
ThinkMethod · 0.45
Event_ActivateMethod · 0.45
Event_FlashMethod · 0.45
Event_ClearFlashMethod · 0.45
Event_GetPlayerPosMethod · 0.45
Event_TipOffMethod · 0.45

Calls 1

IsTypeMethod · 0.45

Tested by 3

TestSkin_fMethod · 0.36
TestShaderParm_fMethod · 0.36
TestModel_fMethod · 0.36