diff options
author | David Fioramonti | 2017-08-24 04:05:49 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-24 04:06:54 -0700 |
commit | c96b01b82e6213128bc03b1ed94fc2ebaf4f36d7 (patch) | |
tree | 2caab7226643fa79cf4791ecfb18af327a200d17 /engines/titanic/game_manager.h | |
parent | 78ed19d42986c2fb2f310476196963ba6709010f (diff) | |
download | scummvm-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/game_manager.h')
-rw-r--r-- | engines/titanic/game_manager.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/engines/titanic/game_manager.h b/engines/titanic/game_manager.h index 0d740f6d75..89c40d0356 100644 --- a/engines/titanic/game_manager.h +++ b/engines/titanic/game_manager.h @@ -27,18 +27,24 @@ #include "titanic/game_state.h" #include "titanic/input_handler.h" #include "titanic/input_translator.h" -#include "titanic/support/simple_file.h" -#include "titanic/support/time_event_info.h" -#include "titanic/support/video_surface.h" -#include "titanic/true_talk/true_talk_manager.h" -#include "titanic/sound/background_sound_maker.h" +#include "titanic/support/time_event_info.h" // class CTimeEventInfo +#include "titanic/true_talk/true_talk_manager.h" // class CTrueTalkManager #include "titanic/sound/music_room.h" #include "titanic/sound/sound.h" namespace Titanic { -class CProjectItem; +class CBackgroundSoundMaker; class CGameView; +class CMovie; +class CMovieClip; +class CProjectItem; +class CRoomItem; +class CScreenManager; +class CTreeItem; +class CViewItem; +class CVideoSurface; +class SimpleFile; class CGameManager { private: |