From c96b01b82e6213128bc03b1ed94fc2ebaf4f36d7 Mon Sep 17 00:00:00 2001 From: David Fioramonti Date: Thu, 24 Aug 2017 04:05:49 -0700 Subject: TITANIC: Reduce header includes for titanic.h I reduced the header includes a lot in Titanic.h and forward declared when I could. Titanic.h was including a lot and a lot of functions that were including it were not using its API. This will help make it more clear which implementation files are using which class since they will just need to include which ones they need. I also moved the debug related items in Titanic.h into the debugger header. I also reordered several of the the header includes to be local to global. --- engines/titanic/star_control/viewport.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/titanic/star_control/viewport.cpp') diff --git a/engines/titanic/star_control/viewport.cpp b/engines/titanic/star_control/viewport.cpp index 529b4bec3a..32f17f4f1c 100644 --- a/engines/titanic/star_control/viewport.cpp +++ b/engines/titanic/star_control/viewport.cpp @@ -21,6 +21,7 @@ */ #include "titanic/star_control/viewport.h" +#include "titanic/debugger.h" #include "titanic/titanic.h" namespace Titanic { -- cgit v1.2.3