Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarParallax.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-05-31 16:35:10 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2025-05-31 16:35:10 +1000
commit6245f795e9c4546cf4ef86b27bc764cc9a896195 (patch)
tree4284227942b59c13f547c07666e2816dc72dfca6 /source/game/StarParallax.hpp
parent8e381cb362f8d40dffc3dca610bb70c9b3e7b94d (diff)
simple support for animated parallax textures
Diffstat (limited to 'source/game/StarParallax.hpp')
-rw-r--r--source/game/StarParallax.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/game/StarParallax.hpp b/source/game/StarParallax.hpp
index ee65955..5f6b8d0 100644
--- a/source/game/StarParallax.hpp
+++ b/source/game/StarParallax.hpp
@@ -21,6 +21,9 @@ struct ParallaxLayer {
List<String> textures;
Directives directives;
+ unsigned frameNumber;
+ int frameOffset;
+ float animationCycle;
float alpha;
Vec2F parallaxValue;
Vec2B repeat;