From 3cafdfe5fff565fbee237d8cdf83676a7ee2511b Mon Sep 17 00:00:00 2001 From: Chris Eden <4263940+chreden@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:46:51 +0000 Subject: [PATCH] Add missing references (#1303) Something changed with VS update so is no longer transitively included, so include it explicitly. Should have been there anyway. --- trview.app/Lua/Elements/Level/Lua_Level.cpp | 2 ++ trview.app/Lua/Elements/Room/Lua_Room.cpp | 2 ++ trview.app/Lua/Elements/Sector/Lua_Sector.cpp | 2 ++ trview.app/Routing/RandomizerRoute.cpp | 1 + trview.app/UI/GoTo.cpp | 1 + trview.app/UI/ViewerUI.cpp | 2 ++ 6 files changed, 10 insertions(+) diff --git a/trview.app/Lua/Elements/Level/Lua_Level.cpp b/trview.app/Lua/Elements/Level/Lua_Level.cpp index d57f88e48..b50694dd6 100644 --- a/trview.app/Lua/Elements/Level/Lua_Level.cpp +++ b/trview.app/Lua/Elements/Level/Lua_Level.cpp @@ -9,6 +9,8 @@ #include "../StaticMesh/Lua_StaticMesh.h" #include "../../Scriptable/IScriptable.h" +#include + namespace trview { namespace lua diff --git a/trview.app/Lua/Elements/Room/Lua_Room.cpp b/trview.app/Lua/Elements/Room/Lua_Room.cpp index ee58418be..c0cd1b4bb 100644 --- a/trview.app/Lua/Elements/Room/Lua_Room.cpp +++ b/trview.app/Lua/Elements/Room/Lua_Room.cpp @@ -10,6 +10,8 @@ #include "../StaticMesh/Lua_StaticMesh.h" #include "../../Vector3.h" +#include + namespace trview { namespace lua diff --git a/trview.app/Lua/Elements/Sector/Lua_Sector.cpp b/trview.app/Lua/Elements/Sector/Lua_Sector.cpp index c659df95e..bed9bc6b0 100644 --- a/trview.app/Lua/Elements/Sector/Lua_Sector.cpp +++ b/trview.app/Lua/Elements/Sector/Lua_Sector.cpp @@ -7,6 +7,8 @@ #include #include "../../../Elements/Floordata.h" +#include + namespace trview { namespace lua diff --git a/trview.app/Routing/RandomizerRoute.cpp b/trview.app/Routing/RandomizerRoute.cpp index de9e619ab..f8fbec1bb 100644 --- a/trview.app/Routing/RandomizerRoute.cpp +++ b/trview.app/Routing/RandomizerRoute.cpp @@ -3,6 +3,7 @@ #include "../Settings/UserSettings.h" #include +#include using namespace DirectX; using namespace DirectX::SimpleMath; diff --git a/trview.app/UI/GoTo.cpp b/trview.app/UI/GoTo.cpp index 5f63c9d7d..c01e3ed4d 100644 --- a/trview.app/UI/GoTo.cpp +++ b/trview.app/UI/GoTo.cpp @@ -1,5 +1,6 @@ #include "GoTo.h" #include +#include namespace trview { diff --git a/trview.app/UI/ViewerUI.cpp b/trview.app/UI/ViewerUI.cpp index 33b1867fa..61dfb8efa 100644 --- a/trview.app/UI/ViewerUI.cpp +++ b/trview.app/UI/ViewerUI.cpp @@ -7,6 +7,8 @@ #include "../Routing/IRoute.h" #include "../Windows/IViewer.h" +#include + using namespace DirectX::SimpleMath; namespace trview