diff options
author | Einar Johan Trøan Sømåen | 2013-06-18 01:35:49 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-06-18 01:35:49 +0200 |
commit | 7cc19bf29d391801fe8a720b36fce311fdcdd9a0 (patch) | |
tree | ba042cbad4bdef192166badfb52960c6adcc6b75 | |
parent | c48a7ee0e327dd75882a505bbb7c1bbdc4af9604 (diff) | |
download | scummvm-rg350-7cc19bf29d391801fe8a720b36fce311fdcdd9a0.tar.gz scummvm-rg350-7cc19bf29d391801fe8a720b36fce311fdcdd9a0.tar.bz2 scummvm-rg350-7cc19bf29d391801fe8a720b36fce311fdcdd9a0.zip |
WINTERMUTE: Avoid explicitly including <math.h>
-rw-r--r-- | engines/wintermute/base/scriptables/script_ext_math.cpp | 1 | ||||
-rw-r--r-- | engines/wintermute/math/math_util.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/math/matrix4.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/math/vector2.cpp | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/engines/wintermute/base/scriptables/script_ext_math.cpp b/engines/wintermute/base/scriptables/script_ext_math.cpp index d816fbec65..f4c6be2d6c 100644 --- a/engines/wintermute/base/scriptables/script_ext_math.cpp +++ b/engines/wintermute/base/scriptables/script_ext_math.cpp @@ -31,7 +31,6 @@ #include "engines/wintermute/base/scriptables/script_value.h" #include "engines/wintermute/persistent.h" #include "common/math.h" -#include <math.h> namespace Wintermute { diff --git a/engines/wintermute/math/math_util.cpp b/engines/wintermute/math/math_util.cpp index 31af77538a..0aa0f841ac 100644 --- a/engines/wintermute/math/math_util.cpp +++ b/engines/wintermute/math/math_util.cpp @@ -27,7 +27,7 @@ */ #include "engines/wintermute/math/math_util.h" -#include <math.h> +#include "common/scummsys.h" namespace Wintermute { diff --git a/engines/wintermute/math/matrix4.cpp b/engines/wintermute/math/matrix4.cpp index ca1eae8813..a50514457e 100644 --- a/engines/wintermute/math/matrix4.cpp +++ b/engines/wintermute/math/matrix4.cpp @@ -28,7 +28,7 @@ #include "engines/wintermute/math/matrix4.h" #include "engines/wintermute/math/vector2.h" -#include <math.h> +#include "common/scummsys.h" namespace Wintermute { diff --git a/engines/wintermute/math/vector2.cpp b/engines/wintermute/math/vector2.cpp index 74c5586d62..98dca70b44 100644 --- a/engines/wintermute/math/vector2.cpp +++ b/engines/wintermute/math/vector2.cpp @@ -27,7 +27,7 @@ */ #include "engines/wintermute/math/vector2.h" -#include <math.h> +#include "common/scummsys.h" namespace Wintermute { |