1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Rename unused field to Rotation

This commit is contained in:
ζeh Matt
2024-02-18 02:42:52 +02:00
parent 1a197af715
commit 81499643db

View File

@@ -148,16 +148,16 @@ struct Widget
*/
struct Viewport
{
int32_t width;
int32_t height;
ScreenCoordsXY pos;
ScreenCoordsXY viewPos;
int32_t view_width;
int32_t view_height;
uint32_t flags;
ZoomLevel zoom;
uint8_t var_11;
VisibilityCache visibility;
int32_t width{};
int32_t height{};
ScreenCoordsXY pos{};
ScreenCoordsXY viewPos{};
int32_t view_width{};
int32_t view_height{};
uint32_t flags{};
ZoomLevel zoom{};
uint8_t rotation{};
VisibilityCache visibility{};
// Use this function on coordinates that are relative to the viewport zoom i.e. a peeps x, y position after transforming
// from its x, y, z