MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setRotation

Method setRotation

src/OpenLoco/src/Viewport.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 void Viewport::setRotation(int32_t value)
38 {
39 WindowManager::setCurrentRotation(value); // Eventually this should become a variable of the viewport
40 }
41
42 // 0x0045A0E7
43 void Viewport::render(Gfx::DrawingContext& drawingCtx)

Callers 14

viewportRotateMethod · 0.45
viewportFromSavedViewMethod · 0.45
drawRoadFunction · 0.45
createWallFunction · 0.45
createTreeFunction · 0.45
createBuildingFunction · 0.45
createBuildingFunction · 0.45
createSignalFunction · 0.45
createTrackFunction · 0.45
createTrainStationFunction · 0.45
placeIndustryBuildingFunction · 0.45
createBuildingFunction · 0.45

Calls 1

setCurrentRotationFunction · 0.85

Tested by

no test coverage detected