diff --git a/include/qbsp/csg4.hh b/include/qbsp/csg4.hh index d0a69fc3..466759b0 100644 --- a/include/qbsp/csg4.hh +++ b/include/qbsp/csg4.hh @@ -21,6 +21,8 @@ #pragma once +#include + extern int csgmergefaces; // build surfaces is also used by GatherNodeFaces diff --git a/include/qbsp/map.hh b/include/qbsp/map.hh index c2a2cd1c..32c4badd 100644 --- a/include/qbsp/map.hh +++ b/include/qbsp/map.hh @@ -28,6 +28,7 @@ #include #include #include +#include struct qbsp_plane_t : qplane3d { diff --git a/include/qbsp/merge.hh b/include/qbsp/merge.hh index 91124462..fc544c66 100644 --- a/include/qbsp/merge.hh +++ b/include/qbsp/merge.hh @@ -21,6 +21,8 @@ #pragma once +#include + face_t *MergeFaceToList(face_t *face, face_t *list); face_t *FreeMergeListScraps(face_t *merged); void MergeAll(std::list &surfhead); diff --git a/include/qbsp/surfaces.hh b/include/qbsp/surfaces.hh index 221c88d6..6be00ac2 100644 --- a/include/qbsp/surfaces.hh +++ b/include/qbsp/surfaces.hh @@ -21,5 +21,7 @@ #pragma once +#include + std::list GatherNodeFaces(node_t *headnode); void FreeNodes(node_t* node); diff --git a/qbsp/exportobj.cc b/qbsp/exportobj.cc index 65d94b41..2f402ac3 100644 --- a/qbsp/exportobj.cc +++ b/qbsp/exportobj.cc @@ -24,6 +24,7 @@ #include #include #include +#include static std::ofstream InitObjFile(const std::string &filesuffix) { diff --git a/qbsp/solidbsp.cc b/qbsp/solidbsp.cc index 33ddc60b..369fe020 100644 --- a/qbsp/solidbsp.cc +++ b/qbsp/solidbsp.cc @@ -23,6 +23,7 @@ #include +#include #include #include "tbb/task_group.h"