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
This commit is contained in:
Torbjörn Andersson 2005-01-11 13:25:02 +00:00
parent c5e83de099
commit 4dda4eb31b
10 changed files with 2 additions and 9 deletions

View file

@ -25,7 +25,6 @@
#if defined(USE_NULL_DRIVER)
#include "common/util.h"
#include "common/rect.h"
#include "common/savefile.h"

View file

@ -23,6 +23,7 @@
#define COMMON_RECT_H
#include "common/scummsys.h"
#include "common/util.h"
namespace Common {

View file

@ -25,7 +25,6 @@
#include "common/scummsys.h"
#include "common/mutex.h"
#include "common/util.h"
#include "common/rect.h"
#include "common/singleton.h"

View file

@ -22,7 +22,6 @@
#define GRAPHICS_SURFACE_H
#include "common/scummsys.h"
#include "common/util.h"
#include "common/rect.h"
namespace Graphics {

View file

@ -29,7 +29,6 @@
#include "base/engine.h"
#include "base/gameDetector.h"
#include "common/util.h"
#include "common/stream.h"
#include "common/rect.h"

View file

@ -22,7 +22,6 @@
#define CHARSET_H
#include "common/scummsys.h"
#include "common/util.h"
#include "common/rect.h"
#include "scumm/gfx.h"

View file

@ -23,7 +23,6 @@
#ifndef GFX_H
#define GFX_H
#include "common/rect.h"
#include "graphics/surface.h"
namespace Scumm {

View file

@ -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 {

View file

@ -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"

View file

@ -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"