diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-05-11 23:05:20 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-05-11 23:12:13 +0200 |
commit | cec406ea31c3ccb22ab676ce3fd52d4cd0dfcb0d (patch) | |
tree | 61c5c3a101e2ae5a1b4c0fe352d290462675aac5 /src/graphics/engine/engine.h | |
parent | dcf4c8941f3d0d287f0068ef64949890edeefa95 (diff) | |
download | colobot-cec406ea31c3ccb22ab676ce3fd52d4cd0dfcb0d.tar.gz colobot-cec406ea31c3ccb22ab676ce3fd52d4cd0dfcb0d.tar.bz2 colobot-cec406ea31c3ccb22ab676ce3fd52d4cd0dfcb0d.zip |
Non-power-of-2 padding for background images
* added padding options
* removed old hardcoded image sizes
Diffstat (limited to 'src/graphics/engine/engine.h')
-rw-r--r-- | src/graphics/engine/engine.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/graphics/engine/engine.h b/src/graphics/engine/engine.h index 671924f..16fb4e6 100644 --- a/src/graphics/engine/engine.h +++ b/src/graphics/engine/engine.h @@ -1050,10 +1050,10 @@ public: //! Management of the background image to use void SetBackground(const std::string& name, Color up = Color(), Color down = Color(), Color cloudUp = Color(), Color cloudDown = Color(), - bool full = false, Math::Point scale = Math::Point(1.0f, 1.0f)); + bool full = false); void GetBackground(std::string& name, Color& up, Color& down, Color& cloudUp, Color& cloudDown, - bool& full, Math::Point& scale); + bool& full); //@} //! Specifies the name of foreground texture @@ -1346,7 +1346,6 @@ protected: bool m_firstGroundSpot; int m_secondTexNum; bool m_backgroundFull; - Math::Point m_backgroundScale; std::string m_backgroundName; Texture m_backgroundTex; Color m_backgroundColorUp; |