diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-09 22:50:04 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-09 22:50:04 +0200 |
commit | c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8 (patch) | |
tree | 42aa2b0fa35ad756f68802682404f203337a2392 /src/graphics/engine/cloud.cpp | |
parent | acff306cc132c4f8cc71f44f85ffd7bdd18a114e (diff) | |
download | colobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.tar.gz colobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.tar.bz2 colobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.zip |
Graphics stubs
- added stubs for functions in CLightning, CParticle and CPyro
- cleaned object.h and physics.h headers
- created temporary stubs to compile CCamera
- other necessary changes to compile successfully
Diffstat (limited to 'src/graphics/engine/cloud.cpp')
-rw-r--r-- | src/graphics/engine/cloud.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/graphics/engine/cloud.cpp b/src/graphics/engine/cloud.cpp index e46b074..71dd969 100644 --- a/src/graphics/engine/cloud.cpp +++ b/src/graphics/engine/cloud.cpp @@ -55,16 +55,14 @@ Gfx::CCloud::~CCloud() bool Gfx::CCloud::EventProcess(const Event &event) { - /* TODO! - if ( event.event == EVENT_FRAME ) - return EventFrame(event); */ + if ( event.type == EVENT_FRAME ) + return EventFrame(event); return true; } bool Gfx::CCloud::EventFrame(const Event &event) { - /* TODO! if (m_engine->GetPause()) return true; m_time += event.rTime; @@ -73,7 +71,7 @@ bool Gfx::CCloud::EventFrame(const Event &event) if (m_time - m_lastTest < 0.2f) return true; - m_lastTest = m_time; */ + m_lastTest = m_time; return true; } |