MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ChangeResInGame

Function ChangeResInGame

src/gfx.cpp:1764–1767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762}
1763
1764bool ChangeResInGame(int width, int height)
1765{
1766 return (_screen.width == width && _screen.height == height) || VideoDriver::GetInstance()->ChangeResolution(width, height);
1767}
1768
1769bool ToggleFullScreen(bool fs)
1770{

Callers 1

OnDropdownSelectMethod · 0.85

Calls 1

ChangeResolutionMethod · 0.45

Tested by

no test coverage detected