From 147a76c11b2cc09f7f1a5a91d2f97d6da052da0b Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 9 Apr 2022 23:17:43 -0600 Subject: [PATCH] qbsp.hh: remove csg4.hh include --- include/qbsp/csg4.hh | 4 ++++ include/qbsp/qbsp.hh | 1 - qbsp/brush.cc | 2 +- qbsp/csg4.cc | 2 ++ qbsp/merge.cc | 1 + qbsp/solidbsp.cc | 1 + qbsp/surfaces.cc | 1 + 7 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/qbsp/csg4.hh b/include/qbsp/csg4.hh index 7a284569..580a15b5 100644 --- a/include/qbsp/csg4.hh +++ b/include/qbsp/csg4.hh @@ -21,9 +21,13 @@ #pragma once +#include + #include #include +struct face_t; + int MakeSkipTexinfo(); face_t *NewFaceFromFace(const face_t *in); face_t *MirrorFace(const face_t *face); diff --git a/include/qbsp/qbsp.hh b/include/qbsp/qbsp.hh index ab54ec5d..1dcab55d 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/qbsp/brush.cc b/qbsp/brush.cc index 6a09851e..5ec1a852 100644 --- a/qbsp/brush.cc +++ b/qbsp/brush.cc @@ -24,7 +24,7 @@ #include #include - +#include #include /* diff --git a/qbsp/csg4.cc b/qbsp/csg4.cc index b91013aa..34dff3a0 100644 --- a/qbsp/csg4.cc +++ b/qbsp/csg4.cc @@ -20,6 +20,8 @@ */ // csg4.c +#include + #include #include diff --git a/qbsp/merge.cc b/qbsp/merge.cc index a781a2e6..d3d3d2f2 100644 --- a/qbsp/merge.cc +++ b/qbsp/merge.cc @@ -21,6 +21,7 @@ // merge.c #include +#include #ifdef PARANOID static void CheckColinear(face_t *f) diff --git a/qbsp/solidbsp.cc b/qbsp/solidbsp.cc index 0fbcec59..fb4ca5af 100644 --- a/qbsp/solidbsp.cc +++ b/qbsp/solidbsp.cc @@ -21,6 +21,7 @@ #include +#include #include #include diff --git a/qbsp/surfaces.cc b/qbsp/surfaces.cc index 890fd280..2631b127 100644 --- a/qbsp/surfaces.cc +++ b/qbsp/surfaces.cc @@ -20,6 +20,7 @@ */ #include +#include #include #include