summaryrefslogtreecommitdiff
path: root/src/resources/ambientlayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 18:58:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 18:58:31 +0300
commitd0db8d81ebf49b0e3c9872152cb5749f701cb9d6 (patch)
tree4af10a2849ec74e593b568d906370ca4483f8940 /src/resources/ambientlayer.h
parentef1a1be4a87913ed5c50eb10401622275da1c842 (diff)
downloadplus-d0db8d81ebf49b0e3c9872152cb5749f701cb9d6.tar.gz
plus-d0db8d81ebf49b0e3c9872152cb5749f701cb9d6.tar.bz2
plus-d0db8d81ebf49b0e3c9872152cb5749f701cb9d6.tar.xz
plus-d0db8d81ebf49b0e3c9872152cb5749f701cb9d6.zip
Add new attributes for start position for ambient layers.
New attributes: posX, posY
Diffstat (limited to 'src/resources/ambientlayer.h')
-rw-r--r--src/resources/ambientlayer.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/resources/ambientlayer.h b/src/resources/ambientlayer.h
index 9a694bb2f..f6dd6d120 100644
--- a/src/resources/ambientlayer.h
+++ b/src/resources/ambientlayer.h
@@ -44,9 +44,14 @@ class AmbientLayer final
* the same ratio than in 800x600 resolution mode.
*/
AmbientLayer(Image *const img,
- const float parallax, const float parallaxY,
- const float speedX, const float speedY,
- const bool keepRatio, const int mask);
+ const float parallax,
+ const float parallaxY,
+ const float posX,
+ const float posY,
+ const float speedX,
+ const float speedY,
+ const bool keepRatio,
+ const int mask);
A_DELETE_COPY(AmbientLayer)