1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Rename Window fields

This commit is contained in:
Gymnasiast
2025-09-17 19:03:29 +02:00
parent a613b2604a
commit d4a0bca091
73 changed files with 762 additions and 763 deletions

View File

@@ -401,7 +401,7 @@ static constexpr float kWindowScrollLocations[][2] = {
}
// rct2: 0x006E7C76
if (w.viewport_target_sprite.IsNull())
if (w.viewportTargetSprite.IsNull())
{
if (!(w.flags & WF_NO_SCROLLING))
{
@@ -877,14 +877,14 @@ static constexpr float kWindowScrollLocations[][2] = {
{
if (spriteIndex.ToUnderlying() < kMaxEntities || spriteIndex.IsNull())
{
w.viewport_smart_follow_sprite = spriteIndex;
w.viewportSmartFollowSprite = spriteIndex;
}
}
void WindowUnfollowSprite(WindowBase& w)
{
w.viewport_smart_follow_sprite = EntityId::GetNull();
w.viewport_target_sprite = EntityId::GetNull();
w.viewportSmartFollowSprite = EntityId::GetNull();
w.viewportTargetSprite = EntityId::GetNull();
}
Viewport* WindowGetViewport(WindowBase* w)