DIRECTOR: Further reduction of include dependency

This commit is contained in:
Eugene Sandulenko 2016-08-23 18:47:36 +02:00
parent 3d6d6fa2dd
commit dbf2876b70
11 changed files with 10 additions and 42 deletions

View file

@ -20,31 +20,19 @@
*
*/
#include "audio/mixer.h"
#include "common/config-manager.h"
#include "common/debug.h"
#include "common/debug-channels.h"
#include "common/scummsys.h"
#include "common/error.h"
#include "common/events.h"
#include "common/macresman.h"
#include "common/stream.h"
#include "common/system.h"
#include "common/textconsole.h"
#include "common/fs.h"
#include "engines/util.h"
#include "graphics/surface.h"
#include "graphics/macgui/macwindowmanager.h"
#include "director/director.h"
#include "director/images.h"
#include "director/resource.h"
#include "director/score.h"
#include "director/lingo/lingo.h"
#include "director/sound.h"
#include "director/lingo/lingo.h"
namespace Director {

View file

@ -20,17 +20,8 @@
*
*/
#include "common/stream.h"
#include "common/substream.h"
#include "common/textconsole.h"
#include "graphics/pixelformat.h"
#include "graphics/surface.h"
#include "graphics/palette.h"
#include "image/codecs/codec.h"
#include "common/util.h"
#include "common/debug.h"
#include "image/codecs/bmp_raw.h"
#include "common/system.h"
#include "director/images.h"

View file

@ -44,9 +44,6 @@
// THIS SOFTWARE.
#include "director/lingo/lingo.h"
#include "common/file.h"
#include "audio/decoders/wave.h"
#include "director/lingo/lingo-gr.h"
namespace Director {

View file

@ -25,6 +25,7 @@
#include "audio/audiostream.h"
#include "common/hash-str.h"
#include "director/director.h"
#include "director/score.h"
#include "director/lingo/lingo-gr.h"

View file

@ -21,11 +21,12 @@
*
*/
#include "common/system.h"
#include "video/qt_decoder.h"
#include "director/movie.h"
#include "director/score.h"
#include "common/debug.h"
#include "common/system.h"
namespace Director {
Movie::Movie(Common::String fileName, DirectorEngine *vm) {

View file

@ -24,9 +24,8 @@
#ifndef DIRECTOR_MOVIE_H
#define DIRECTOR_MOVIE_H
#include "common/str.h"
#include "common/rect.h"
#include "graphics/managed_surface.h"
#include "director/director.h"
namespace Video {

View file

@ -24,9 +24,6 @@
#include "common/debug.h"
#include "common/macresman.h"
#include "common/substream.h"
#include "common/util.h"
#include "common/textconsole.h"
namespace Director {

View file

@ -23,12 +23,7 @@
#ifndef DIRECTOR_RESOURCE_H
#define DIRECTOR_RESOURCE_H
#include "common/scummsys.h"
#include "common/endian.h"
#include "common/func.h"
#include "common/hashmap.h"
#include "common/file.h"
#include "common/str.h"
#include "common/substream.h"
namespace Common {

View file

@ -20,13 +20,13 @@
*
*/
#include "common/system.h"
#include "common/config-manager.h"
#include "common/events.h"
#include "engines/util.h"
#include "graphics/font.h"
#include "graphics/palette.h"
#include "common/events.h"
#include "common/system.h"
#include "director/score.h"
#include "director/frame.h"

View file

@ -20,12 +20,12 @@
*
*/
#include "director/sound.h"
#include "audio/decoders/wave.h"
#include "common/file.h"
#include "audio/decoders/aiff.h"
#include "common/system.h"
#include "common/debug.h"
#include "director/sound.h"
namespace Director {

View file

@ -22,7 +22,6 @@
#include "audio/audiostream.h"
#include "audio/mixer.h"
#include "common/str.h"
#ifndef DIRECTOR_SOUND_H
#define DIRECTOR_SOUND_H