Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -7,10 +7,7 @@
namespace df
{
SequenceAnimation::SequenceAnimation()
: Animation(true /* couldBeInterrupted */, true /* couldBeBlended */)
{
}
SequenceAnimation::SequenceAnimation() : Animation(true /* couldBeInterrupted */, true /* couldBeBlended */) {}
void SequenceAnimation::Init(ScreenBase const & screen, TPropertyCache const & properties)
{
@@ -18,9 +15,15 @@ void SequenceAnimation::Init(ScreenBase const & screen, TPropertyCache const & p
m_animations.front()->Init(screen, properties);
}
std::string SequenceAnimation::GetCustomType() const { return m_customType; }
std::string SequenceAnimation::GetCustomType() const
{
return m_customType;
}
void SequenceAnimation::SetCustomType(std::string const & type) { m_customType = type; }
void SequenceAnimation::SetCustomType(std::string const & type)
{
m_customType = type;
}
Animation::TAnimObjects const & SequenceAnimation::GetObjects() const
{
@@ -51,10 +54,8 @@ bool SequenceAnimation::HasTargetProperty(Object object, ObjectProperty property
{
ASSERT(!m_animations.empty(), ());
for (auto const & anim : m_animations)
{
if (anim->HasTargetProperty(object, property))
return true;
}
return false;
}
@@ -192,4 +193,4 @@ void SequenceAnimation::ObtainObjectProperties()
}
}
} // namespace df
} // namespace df