qbsp.hh: remove brush.hh include

This commit is contained in:
Eric Wasylishen 2022-04-09 23:15:21 -06:00
parent 39d1930446
commit 9295181f84
11 changed files with 18 additions and 5 deletions

View File

@ -22,6 +22,7 @@
#pragma once
#include <qbsp/winding.hh>
#include <qbsp/qbsp.hh>
#include <common/aabb.hh>
#include <optional>

View File

@ -21,6 +21,8 @@
#pragma once
#include <qbsp/brush.hh>
#include <common/parser.hh>
#include "common/cmdlib.hh"

View File

@ -40,6 +40,8 @@
#include <cstring>
#include <ctime>
#include <qbsp/winding.hh>
#include <common/bspfile.hh>
#include <common/aabb.hh>
#include <common/settings.hh>
@ -236,9 +238,6 @@ extern settings::qbsp_settings options;
*/
#define MAX_BSP_CLIPNODES 0xfff0
// Various other geometry maximums
constexpr size_t MAXEDGES = 64;
// 0-2 are axial planes
// 3-5 are non-axial planes snapped to the nearest
#define PLANE_X 0
@ -371,7 +370,6 @@ struct node_t
bool opaque() const;
};
#include <qbsp/brush.hh>
#include <qbsp/csg4.hh>
#include <qbsp/solidbsp.hh>
#include <qbsp/merge.hh>

View File

@ -23,6 +23,8 @@
#include "common/polylib.hh"
constexpr size_t MAXEDGES = 64;
using winding_t = polylib::winding_base_t<MAXEDGES>;
winding_t BaseWindingForPlane(const qplane3d &p);
winding_t BaseWindingForPlane(const qplane3d &p);

View File

@ -23,6 +23,8 @@
#include <cstring>
#include <list>
#include <qbsp/brush.hh>
#include <qbsp/qbsp.hh>
/*

View File

@ -22,6 +22,8 @@
#include <qbsp/qbsp.hh>
#include <qbsp/brush.hh>
#include <atomic>
#include <mutex>

View File

@ -19,6 +19,7 @@
*/
#include <qbsp/qbsp.hh>
#include <qbsp/brush.hh>
#include <qbsp/wad.hh>
#include <unordered_set>

View File

@ -33,6 +33,7 @@
#include <fmt/ostream.h>
#include <qbsp/qbsp.hh>
#include <qbsp/brush.hh>
#include <common/parser.hh>
#include <common/fs.hh>
#include <common/imglib.hh>

View File

@ -28,6 +28,7 @@
#include <common/fs.hh>
#include <common/threads.hh>
#include <common/settings.hh>
#include <qbsp/brush.hh>
#include <qbsp/qbsp.hh>
#include <qbsp/wad.hh>
#include <fmt/chrono.h>

View File

@ -22,6 +22,7 @@
#include <climits>
#include <qbsp/qbsp.hh>
#include <qbsp/brush.hh>
#include <list>
#include <atomic>

View File

@ -20,6 +20,8 @@
*/
#include <qbsp/qbsp.hh>
#include <qbsp/brush.hh>
#include <map>
#include <list>