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

Method DisplayDebug

engine/Poseidon/UI/DisplayUIMenus.cpp:1558–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1556#if _ENABLE_CHEATS
1557DisplayDebug::DisplayDebug(ControlsContainer* parent, GameState* gs, const char* cls) : Display(parent)
1558{
1559 _current = -1;
1560 _gs = gs;
1561
1562 Load(cls);
1563
1564 _enableSimulation = false;
1565 _enableDisplay = true;
1566
1567 InputSubsystem::Instance().ChangeGameFocus(+1);
1568}
1569
1570DisplayDebug::~DisplayDebug()
1571{
1572 InputSubsystem::Instance().ChangeGameFocus(-1);

Callers

nothing calls this directly

Calls 1

ChangeGameFocusMethod · 0.80

Tested by

no test coverage detected