summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/planet.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-26 23:18:57 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-26 23:18:57 +0200
commit80d3a9bff1d5999ec5504b50103be7687672227a (patch)
tree70a695f4304d1ac10d391b7e5c0c641ff7fc05b5 /src/graphics/engine/planet.h
parent2fa4d7b0db88abcccbda287af10fc336a8dbb910 (diff)
downloadcolobot-80d3a9bff1d5999ec5504b50103be7687672227a.tar.gz
colobot-80d3a9bff1d5999ec5504b50103be7687672227a.tar.bz2
colobot-80d3a9bff1d5999ec5504b50103be7687672227a.zip
Lighting fix (experimental)
- changed fixed light allocation to prioritized per-use basis - minor refactoring in CPlanet and CWater
Diffstat (limited to 'src/graphics/engine/planet.h')
-rw-r--r--src/graphics/engine/planet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics/engine/planet.h b/src/graphics/engine/planet.h
index 82c3aea..1b16da0 100644
--- a/src/graphics/engine/planet.h
+++ b/src/graphics/engine/planet.h
@@ -91,7 +91,8 @@ public:
bool EventProcess(const Event &event);
//! Creates a new planet
void Create(int mode, Math::Point start, float dim, float speed, float dir,
- const std::string& name, Math::Point uv1, Math::Point uv2);
+ const std::string& name, Math::Point uv1, Math::Point uv2,
+ bool transparent);
//! Indicates if there is at least one planet
bool PlanetExist();
//! Load all the textures for the planets