MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ChangeGameFocus

Method ChangeGameFocus

engine/Poseidon/Input/InputSubsystem.cpp:891–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889
890void InputSubsystem::ChangeGameFocus(int add)
891{
892 GInput.gameFocusLost += add;
893}
894
895bool InputSubsystem::GetFire(bool checkFocus) const
896{
897 if (checkFocus && GInput.gameFocusLost > 0)

Callers 14

CreateChatMethod · 0.80
DestroyChatMethod · 0.80
DisplayMissionEndMethod · 0.80
~DisplayMissionEndMethod · 0.80
DisplayDebugMethod · 0.80
~DisplayDebugMethod · 0.80
DisplayMPPlayersMethod · 0.80
~DisplayMPPlayersMethod · 0.80
DisplayInterruptMethod · 0.80
~DisplayInterruptMethod · 0.80
DisplayInsertMarkerMethod · 0.80
~DisplayInsertMarkerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected