CLogBookScreen: Use forward declarations where applicable

Allows for avoiding the over exposing of types through the header when
included in other translation units or headers.
This commit is contained in:
Lioncash 2019-10-15 10:22:47 -04:00
parent 5b8f3f6693
commit 3a0daa3ab9
2 changed files with 12 additions and 2 deletions

View File

@ -2,10 +2,13 @@
#include <algorithm> #include <algorithm>
#include "Runtime/CPlayerState.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/GuiSys/CAuiImagePane.hpp" #include "Runtime/GuiSys/CAuiImagePane.hpp"
#include "Runtime/GuiSys/CGuiModel.hpp" #include "Runtime/GuiSys/CGuiModel.hpp"
#include "Runtime/GuiSys/CGuiTableGroup.hpp" #include "Runtime/GuiSys/CGuiTableGroup.hpp"
#include "Runtime/GuiSys/CGuiTextPane.hpp" #include "Runtime/GuiSys/CGuiTextPane.hpp"
#include "Runtime/MP1/CArtifactDoll.hpp"
#include "Runtime/MP1/MP1.hpp" #include "Runtime/MP1/MP1.hpp"
namespace urde::MP1 { namespace urde::MP1 {

View File

@ -4,12 +4,19 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "Runtime/CSaveWorld.hpp"
#include "Runtime/CToken.hpp"
#include "Runtime/rstl.hpp" #include "Runtime/rstl.hpp"
#include "Runtime/MP1/CArtifactDoll.hpp"
#include "Runtime/MP1/CInGameGuiManager.hpp"
#include "Runtime/MP1/CPauseScreenBase.hpp" #include "Runtime/MP1/CPauseScreenBase.hpp"
namespace urde {
class CPlayerState;
class CScannableObjectInfo;
class CStringTable;
}
namespace urde::MP1 { namespace urde::MP1 {
class CArtifactDoll;
class CLogBookScreen : public CPauseScreenBase { class CLogBookScreen : public CPauseScreenBase {
rstl::reserved_vector<std::vector<std::pair<CAssetId, bool>>, 5> x19c_scanCompletes; rstl::reserved_vector<std::vector<std::pair<CAssetId, bool>>, 5> x19c_scanCompletes;