[Scummvm-git-logs] scummvm master -> 2aafdd3559c3583b24a4389e27717f8b21e67835
peterkohaut
peterkohaut at users.noreply.github.com
Thu Jan 24 23:15:41 CET 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2aafdd3559 BLADERUNNER: Fixed compilation errors
Commit: 2aafdd3559c3583b24a4389e27717f8b21e67835
https://github.com/scummvm/scummvm/commit/2aafdd3559c3583b24a4389e27717f8b21e67835
Author: Peter Kohaut (peter.kohaut at gmail.com)
Date: 2019-01-24T23:14:57+01:00
Commit Message:
BLADERUNNER: Fixed compilation errors
Changed paths:
engines/bladerunner/fog.h
diff --git a/engines/bladerunner/fog.h b/engines/bladerunner/fog.h
index d9e32f6..5668093 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);
};
More information about the Scummvm-git-logs
mailing list