diff options
Diffstat (limited to 'engines/bladerunner/set_effects.h')
-rw-r--r-- | engines/bladerunner/set_effects.h | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/engines/bladerunner/set_effects.h b/engines/bladerunner/set_effects.h index 5165cfba94..8f628075fe 100644 --- a/engines/bladerunner/set_effects.h +++ b/engines/bladerunner/set_effects.h @@ -29,34 +29,39 @@ #include "common/stream.h" - namespace BladeRunner { - class SetEffects - { - BladeRunnerEngine *_vm; +class SetEffects +{ + BladeRunnerEngine *_vm; + +private: + Color _distanceColor; + float _distanceCoeficient; + Color _fadeColor; + float _fadeDensity; + int _fogsCount; + Fog *_fogs; - private: - Color _distanceColor; - float _distanceCoeficient; - Color _fadeColor; - float _fadeDensity; - int _fogsCount; - Fog *_fogs; +public: + SetEffects(BladeRunnerEngine *vm); + ~SetEffects(); - public: - SetEffects(BladeRunnerEngine *vm); - ~SetEffects(); + void read(Common::ReadStream *stream, int framesCount); - void read(Common::ReadStream *stream, int framesCount); + void reset(); - void reset(); + void setupFrame(int frame); - void setupFrame(int frame); + void setFadeColor(float r, float g, float b); + void setFadeDensity(float density); + void setFogColor(char* fogName, float r, float g, float b); + void setFogDensity(char* fogName, float density); +private: - private: + Fog* findFog(char* fogName); - }; +}; } #endif |