aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-01-11 13:25:02 +0000
committerTorbjörn Andersson2005-01-11 13:25:02 +0000
commit4dda4eb31bbada527082b59295af0a20003d23e6 (patch)
tree93e1a452e33c07a588e0be42eee4afb21d65f165
parentc5e83de099dcffca0f5c0d791305c0189467e9d9 (diff)
downloadscummvm-rg350-4dda4eb31bbada527082b59295af0a20003d23e6.tar.gz
scummvm-rg350-4dda4eb31bbada527082b59295af0a20003d23e6.tar.bz2
scummvm-rg350-4dda4eb31bbada527082b59295af0a20003d23e6.zip
On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
-rw-r--r--backends/null/null.cpp1
-rw-r--r--common/rect.h1
-rw-r--r--common/system.h1
-rw-r--r--graphics/surface.h1
-rw-r--r--saga/saga.h1
-rw-r--r--scumm/charset.h1
-rw-r--r--scumm/gfx.h1
-rw-r--r--scumm/player_v1.cpp2
-rw-r--r--scumm/scumm.h1
-rw-r--r--sword2/controls.cpp1
10 files changed, 2 insertions, 9 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp
index afb5f2b1af..3c5b0bd5b0 100644
--- a/backends/null/null.cpp
+++ b/backends/null/null.cpp
@@ -25,7 +25,6 @@
#if defined(USE_NULL_DRIVER)
-#include "common/util.h"
#include "common/rect.h"
#include "common/savefile.h"
diff --git a/common/rect.h b/common/rect.h
index bc70153ae4..66c7be738f 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -23,6 +23,7 @@
#define COMMON_RECT_H
#include "common/scummsys.h"
+#include "common/util.h"
namespace Common {
diff --git a/common/system.h b/common/system.h
index b3e5a98a4a..7d3a0ea8f7 100644
--- a/common/system.h
+++ b/common/system.h
@@ -25,7 +25,6 @@
#include "common/scummsys.h"
#include "common/mutex.h"
-#include "common/util.h"
#include "common/rect.h"
#include "common/singleton.h"
diff --git a/graphics/surface.h b/graphics/surface.h
index a6790b40b2..8cd93298d1 100644
--- a/graphics/surface.h
+++ b/graphics/surface.h
@@ -22,7 +22,6 @@
#define GRAPHICS_SURFACE_H
#include "common/scummsys.h"
-#include "common/util.h"
#include "common/rect.h"
namespace Graphics {
diff --git a/saga/saga.h b/saga/saga.h
index ef49c2c665..8b8675112d 100644
--- a/saga/saga.h
+++ b/saga/saga.h
@@ -29,7 +29,6 @@
#include "base/engine.h"
#include "base/gameDetector.h"
-#include "common/util.h"
#include "common/stream.h"
#include "common/rect.h"
diff --git a/scumm/charset.h b/scumm/charset.h
index c2e5d1474b..e546d16b73 100644
--- a/scumm/charset.h
+++ b/scumm/charset.h
@@ -22,7 +22,6 @@
#define CHARSET_H
#include "common/scummsys.h"
-#include "common/util.h"
#include "common/rect.h"
#include "scumm/gfx.h"
diff --git a/scumm/gfx.h b/scumm/gfx.h
index ff75e5fafa..4762b3678c 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -23,7 +23,6 @@
#ifndef GFX_H
#define GFX_H
-#include "common/rect.h"
#include "graphics/surface.h"
namespace Scumm {
diff --git a/scumm/player_v1.cpp b/scumm/player_v1.cpp
index f3a013a59c..151f0345d6 100644
--- a/scumm/player_v1.cpp
+++ b/scumm/player_v1.cpp
@@ -22,8 +22,8 @@
#include "stdafx.h"
#include "base/engine.h"
-#include "scumm/scumm.h"
#include "scumm/player_v1.h"
+#include "scumm/scumm.h"
namespace Scumm {
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 9adf3e2f69..c065f12cef 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -26,7 +26,6 @@
#include "base/engine.h"
#include "common/file.h"
#include "common/map.h"
-#include "common/util.h"
#include "common/rect.h"
#include "common/str.h"
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index 7ef4049a72..459f413846 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -18,7 +18,6 @@
*/
#include "common/stdafx.h"
-#include "common/util.h"
#include "common/rect.h"
#include "common/config-manager.h"
#include "common/system.h"