[Scummvm-cvs-logs] scummvm master -> 7cc19bf29d391801fe8a720b36fce311fdcdd9a0

somaen einarjohants at gmail.com
Tue Jun 18 01:36:58 CEST 2013


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:
7cc19bf29d WINTERMUTE: Avoid explicitly including <math.h>


Commit: 7cc19bf29d391801fe8a720b36fce311fdcdd9a0
    https://github.com/scummvm/scummvm/commit/7cc19bf29d391801fe8a720b36fce311fdcdd9a0
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-06-17T16:35:49-07:00

Commit Message:
WINTERMUTE: Avoid explicitly including <math.h>

Changed paths:
    engines/wintermute/base/scriptables/script_ext_math.cpp
    engines/wintermute/math/math_util.cpp
    engines/wintermute/math/matrix4.cpp
    engines/wintermute/math/vector2.cpp



diff --git a/engines/wintermute/base/scriptables/script_ext_math.cpp b/engines/wintermute/base/scriptables/script_ext_math.cpp
index d816fbe..f4c6be2 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 31af775..0aa0f84 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 ca1eae8..a505144 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 74c5586..98dca70 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 {
 






More information about the Scummvm-git-logs mailing list