Skip to content

Commit 713f885

Browse files
committed
Code formatting
1 parent c5cbaa0 commit 713f885

3 files changed

Lines changed: 9 additions & 18 deletions

File tree

src/openrct2-ui/scripting/ScTitleSequence.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ namespace OpenRCT2::Scripting
182182
auto dukId = value["id"];
183183
if (dukId.type() == DukValue::Type::NUMBER)
184184
{
185-
command = FollowEntityCommand{ EntityId::FromUnderlying(dukId.as_uint()), value["scrollToLocation"].as_bool() };
185+
command = FollowEntityCommand{ EntityId::FromUnderlying(dukId.as_uint()),
186+
value["scrollToLocation"].as_bool() };
186187
}
187188
else
188189
{

src/openrct2/interface/Viewport.h

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,12 @@ namespace OpenRCT2
120120
VIEWPORT_FLAG_INDEPENDENT_ROTATION = (1u << 30),
121121
VIEWPORT_FLAG_RENDERING_INHIBITED = (1u << 31),
122122

123-
VIEWPORT_HIDDEN_FLAGS =
124-
VIEWPORT_FLAG_HIDE_RIDES |
125-
VIEWPORT_FLAG_HIDE_VEHICLES |
126-
VIEWPORT_FLAG_HIDE_VEGETATION |
127-
VIEWPORT_FLAG_HIDE_SCENERY |
128-
VIEWPORT_FLAG_HIDE_PATHS |
129-
VIEWPORT_FLAG_HIDE_SUPPORTS |
130-
VIEWPORT_FLAG_HIDE_GUESTS |
131-
VIEWPORT_FLAG_HIDE_STAFF,
132-
VIEWPORT_VISIBILITY_FLAGS =
133-
VIEWPORT_FLAG_INVISIBLE_RIDES |
134-
VIEWPORT_FLAG_INVISIBLE_VEHICLES |
135-
VIEWPORT_FLAG_INVISIBLE_VEGETATION |
136-
VIEWPORT_FLAG_INVISIBLE_SCENERY |
137-
VIEWPORT_FLAG_INVISIBLE_PATHS |
138-
VIEWPORT_FLAG_INVISIBLE_SUPPORTS
123+
VIEWPORT_HIDDEN_FLAGS = VIEWPORT_FLAG_HIDE_RIDES | VIEWPORT_FLAG_HIDE_VEHICLES | VIEWPORT_FLAG_HIDE_VEGETATION
124+
| VIEWPORT_FLAG_HIDE_SCENERY | VIEWPORT_FLAG_HIDE_PATHS | VIEWPORT_FLAG_HIDE_SUPPORTS | VIEWPORT_FLAG_HIDE_GUESTS
125+
| VIEWPORT_FLAG_HIDE_STAFF,
126+
VIEWPORT_VISIBILITY_FLAGS = VIEWPORT_FLAG_INVISIBLE_RIDES | VIEWPORT_FLAG_INVISIBLE_VEHICLES
127+
| VIEWPORT_FLAG_INVISIBLE_VEGETATION | VIEWPORT_FLAG_INVISIBLE_SCENERY | VIEWPORT_FLAG_INVISIBLE_PATHS
128+
| VIEWPORT_FLAG_INVISIBLE_SUPPORTS
139129
};
140130
} // namespace OpenRCT2
141131

src/openrct2/scenes/title/TitleSequence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#include "Command/SetLocation.h"
2121
#include "Command/SetSpeed.h"
2222
#include "Command/SetZoom.h"
23-
#include "Command/Wait.h"
2423
#include "Command/Visibility.h"
24+
#include "Command/Wait.h"
2525

2626
#include <memory>
2727
#include <string>

0 commit comments

Comments
 (0)