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

Function SpriteZoomMinChanged

src/settings_table.cpp:385–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385static void SpriteZoomMinChanged(int32_t)
386{
387 GfxClearSpriteCache();
388 /* Force all sprites to redraw at the new chosen zoom level */
389 MarkWholeScreenDirty();
390}
391
392/**
393 * Update any possible saveload window and delete any newgrf dialogue as

Callers

nothing calls this directly

Calls 2

GfxClearSpriteCacheFunction · 0.85
MarkWholeScreenDirtyFunction · 0.85

Tested by

no test coverage detected