aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/viewport.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2017-08-24 04:05:49 -0700
committerDavid Fioramonti2017-08-24 04:06:54 -0700
commitc96b01b82e6213128bc03b1ed94fc2ebaf4f36d7 (patch)
tree2caab7226643fa79cf4791ecfb18af327a200d17 /engines/titanic/star_control/viewport.cpp
parent78ed19d42986c2fb2f310476196963ba6709010f (diff)
downloadscummvm-rg350-c96b01b82e6213128bc03b1ed94fc2ebaf4f36d7.tar.gz
scummvm-rg350-c96b01b82e6213128bc03b1ed94fc2ebaf4f36d7.tar.bz2
scummvm-rg350-c96b01b82e6213128bc03b1ed94fc2ebaf4f36d7.zip
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.
Diffstat (limited to 'engines/titanic/star_control/viewport.cpp')
-rw-r--r--engines/titanic/star_control/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
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 {