Add portable Windows build and update GC runtime
This commit is contained in:
+7
-7
@@ -347,7 +347,7 @@ PackageBackgroundColorPoint packBackgroundColor(const gc::BackgroundColorPoint&
|
||||
output.bottomRightRgba = rgba(source.bottomRight);
|
||||
output.bottomLeftRgba = rgba(source.bottomLeft);
|
||||
output.flags = (source.interpolateToNext ? 1u : 0u) |
|
||||
(source.audioReactive ? 2u : 0u);
|
||||
(source.rhythmReactive ? 2u : 0u);
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -373,8 +373,8 @@ PackageVisibilityKey packVisibility(const gc::VisibilityPoint& source) {
|
||||
PackageVisibilityKey output{};
|
||||
output.timeMs = source.timeMs;
|
||||
output.flags = static_cast<std::uint8_t>(
|
||||
(source.fadeOut ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.fadeIn ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
(source.repeat ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.interpolate ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
output.visible = source.visible ? 1u : 0u;
|
||||
return output;
|
||||
}
|
||||
@@ -383,8 +383,8 @@ PackageTransformKey packTransform(const gc::TransformPoint& source) {
|
||||
PackageTransformKey output{};
|
||||
output.timeMs = source.timeMs;
|
||||
output.flags = static_cast<std::uint8_t>(
|
||||
(source.tweenTowards ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.tweenAway ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
(source.repeat ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.interpolate ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
std::copy(std::begin(source.value), std::end(source.value), output.value);
|
||||
return output;
|
||||
}
|
||||
@@ -393,8 +393,8 @@ PackageObjectColorKey packObjectColor(const gc::ObjectColorPoint& source) {
|
||||
PackageObjectColorKey output{};
|
||||
output.timeMs = source.timeMs;
|
||||
output.flags = static_cast<std::uint8_t>(
|
||||
(source.tweenTowards ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.tweenAway ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
(source.repeat ? static_cast<std::uint8_t>(kObjectKeyLoop) : 0u) |
|
||||
(source.interpolate ? static_cast<std::uint8_t>(kObjectKeyInterpolate) : 0u));
|
||||
output.rgba = rgba(source.color);
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user