aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-24 23:14:57 +0100
committerPeter Kohaut2019-01-24 23:14:57 +0100
commit2aafdd3559c3583b24a4389e27717f8b21e67835 (patch)
tree51d94c946d44a1de57bfe98eca2a88addf8093eb /engines
parent2cc09b6b1097007b6eeac12882c03475e56e1be0 (diff)
downloadscummvm-rg350-2aafdd3559c3583b24a4389e27717f8b21e67835.tar.gz
scummvm-rg350-2aafdd3559c3583b24a4389e27717f8b21e67835.tar.bz2
scummvm-rg350-2aafdd3559c3583b24a4389e27717f8b21e67835.zip
BLADERUNNER: Fixed compilation errors
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/fog.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/bladerunner/fog.h b/engines/bladerunner/fog.h
index d9e32f6e6a..5668093b62 100644
--- a/engines/bladerunner/fog.h
+++ b/engines/bladerunner/fog.h
@@ -81,18 +81,22 @@ protected:
class FogSphere : public Fog {
private:
- float _radius = 0.0f;
+ float _radius;
public:
+ FogSphere():_radius(0.0f) {};
+
void read(Common::ReadStream *stream, int frameCount);
void calculateCoeficient(Vector3 position, Vector3 viewPosition, float *coeficient);
};
class FogCone : public Fog {
private:
- float _coneAngle = 0.0f;
+ float _coneAngle;
public:
+ FogCone():_coneAngle(0.0f) {};
+
void read(Common::ReadStream *stream, int frameCount);
void calculateCoeficient(Vector3 position, Vector3 viewPosition, float *coeficient);
};
@@ -102,6 +106,8 @@ private:
Vector3 _size;
public:
+ FogBox():_size() {};
+
void read(Common::ReadStream *stream, int frameCount);
void calculateCoeficient(Vector3 position, Vector3 viewPosition, float *coeficient);
};