From 80592779289461d42e166a40f8a1204e6159e62b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 7 Dec 2015 18:02:29 +0100 Subject: [PATCH] LAB: remove some useless forward references and includes --- engines/lab/labfun.h | 8 -------- engines/lab/music.h | 1 - engines/lab/parsetypes.h | 2 -- engines/lab/processroom.cpp | 1 - engines/lab/resource.h | 1 + 5 files changed, 1 insertion(+), 12 deletions(-) diff --git a/engines/lab/labfun.h b/engines/lab/labfun.h index 80291f617b0..e67d0f786ad 100644 --- a/engines/lab/labfun.h +++ b/engines/lab/labfun.h @@ -34,11 +34,6 @@ #include "common/events.h" #include "lab/parsetypes.h" -// For the Music class - TODO: Move to another header file -#include "audio/mixer.h" -#include "audio/audiostream.h" -#include "audio/decoders/raw.h" - #include "common/file.h" #include "common/savefile.h" @@ -54,9 +49,6 @@ class LabEngine; #define EAST 2 #define WEST 3 -struct TextFont; -struct Gadget; - struct SaveGameHeader { byte _version; SaveStateDescriptor _descr; diff --git a/engines/lab/music.h b/engines/lab/music.h index 942f7372ce4..3114817ba3f 100644 --- a/engines/lab/music.h +++ b/engines/lab/music.h @@ -33,7 +33,6 @@ #include "common/events.h" -// For the Music class - TODO: Move to another header file #include "audio/mixer.h" #include "audio/audiostream.h" #include "audio/decoders/raw.h" diff --git a/engines/lab/parsetypes.h b/engines/lab/parsetypes.h index 42c7269d7c5..c7780ae09a0 100644 --- a/engines/lab/parsetypes.h +++ b/engines/lab/parsetypes.h @@ -35,8 +35,6 @@ namespace Lab { -#define MAXFILELEN 31 - /*------------------------------- Action types ------------------------------*/ #define PLAYSOUND 1 #define PLAYSOUNDCONT 2 diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp index b033c69945e..7acf6832476 100644 --- a/engines/lab/processroom.cpp +++ b/engines/lab/processroom.cpp @@ -41,7 +41,6 @@ namespace Lab { /* Global parser data */ - #define NOFILE "no file" /*****************************************************************************/ diff --git a/engines/lab/resource.h b/engines/lab/resource.h index e050a156cb2..cf7f3505ec5 100644 --- a/engines/lab/resource.h +++ b/engines/lab/resource.h @@ -32,6 +32,7 @@ #define LAB_RESOURCE_H #include "lab/labfun.h" +#include "lab/graphics.h" namespace Lab {