From f71ae3658e18399d7f6dad6d520b3f4d0af172ac Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 9 Apr 2022 23:19:34 -0600 Subject: [PATCH] qbsp.hh: remove solidbsp.hh include --- include/qbsp/qbsp.hh | 1 - include/qbsp/solidbsp.hh | 5 +++++ qbsp/portals.cc | 2 ++ qbsp/qbsp.cc | 1 + qbsp/surfaces.cc | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/qbsp/qbsp.hh b/include/qbsp/qbsp.hh index 1dcab55d..bef3c4a5 100644 --- a/include/qbsp/qbsp.hh +++ b/include/qbsp/qbsp.hh @@ -370,7 +370,6 @@ struct node_t bool opaque() const; }; -#include #include #include #include diff --git a/include/qbsp/solidbsp.hh b/include/qbsp/solidbsp.hh index 073b4516..a5c8a531 100644 --- a/include/qbsp/solidbsp.hh +++ b/include/qbsp/solidbsp.hh @@ -22,9 +22,14 @@ #pragma once #include +#include extern std::atomic splitnodes; +struct node_t; +struct face_t; +class mapentity_t; + void DetailToSolid(node_t *node); std::list::iterator SubdivideFace(std::list::iterator it, std::list &surfaces); node_t *SolidBSP(mapentity_t *entity, bool midsplit); diff --git a/qbsp/portals.cc b/qbsp/portals.cc index ffd591be..1a5fc861 100644 --- a/qbsp/portals.cc +++ b/qbsp/portals.cc @@ -22,6 +22,8 @@ #include #include + +#include #include node_t outside_node; // portals outside the world face this diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index ab64f2a6..baca346c 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/qbsp/surfaces.cc b/qbsp/surfaces.cc index 2631b127..1820a982 100644 --- a/qbsp/surfaces.cc +++ b/qbsp/surfaces.cc @@ -22,6 +22,7 @@ #include #include #include +#include #include #include