Skip to content

Commit

Permalink
Merge pull request #25 from coldtobi/fix_no_pch_build
Browse files Browse the repository at this point in the history
Fix building when precompiled headers are turned off.
  • Loading branch information
codereader committed Dec 4, 2021
2 parents 66a7016 + 8b56b4b commit 748fc55
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/itexturetoolmodel.h
Expand Up @@ -5,6 +5,7 @@
#include "Bounded.h"
#include "iselection.h"
#include "iselectiontest.h"
#include "iselectable.h"
#include "imanipulator.h"
#include "editable.h"
#include <sigc++/signal.h>
Expand Down
3 changes: 3 additions & 0 deletions radiant/eventmanager/ModifierHintPopup.h
@@ -1,6 +1,9 @@
#pragma once

#include <wx/popupwin.h>
#include <wx/window.h>
#include <wx/stattext.h>
#include <wx/sizer.h>
#include "MouseToolManager.h"

namespace ui
Expand Down
2 changes: 2 additions & 0 deletions radiant/eventmanager/MouseToolManager.cpp
Expand Up @@ -12,6 +12,8 @@
#include "module/StaticModule.h"
#include "ModifierHintPopup.h"

#include <wx/frame.h>

namespace ui
{

Expand Down
2 changes: 2 additions & 0 deletions radiant/map/AutoSaveTimer.cpp
@@ -1,7 +1,9 @@
#include "AutoSaveTimer.h"

#include "ipreferencesystem.h"
#include "iautosaver.h"
#include "registry/registry.h"
#include "i18n.h"

namespace map
{
Expand Down
2 changes: 2 additions & 0 deletions radiant/textool/TexTool.cpp
Expand Up @@ -27,8 +27,10 @@
#include "textool/tools/TextureToolMouseEvent.h"

#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/toolbar.h>


namespace ui
{

Expand Down
5 changes: 4 additions & 1 deletion radiant/ui/common/SoundChooser.cpp
Expand Up @@ -4,6 +4,7 @@
#include "isound.h"
#include "ui/imainframe.h"
#include "ifavourites.h"
#include "registry/registry.h"

#include "wxutil/dataview/ThreadedResourceTreePopulator.h"
#include "wxutil/dataview/VFSTreePopulator.h"
Expand All @@ -16,8 +17,10 @@
#include "ui/UserInterfaceModule.h"

#include <wx/sizer.h>
#include "wxutil/Bitmap.h"
#include <wx/button.h>
#include <wx/stattext.h>

#include "wxutil/Bitmap.h"
#include <sigc++/functors/mem_fun.h>

#include <functional>
Expand Down
2 changes: 2 additions & 0 deletions radiant/ui/layers/LayerControlDialog.cpp
Expand Up @@ -21,6 +21,8 @@

#include "scene/LayerUsageBreakdown.h"

#include <map>

namespace ui
{

Expand Down
3 changes: 3 additions & 0 deletions radiant/ui/lightinspector/LightInspector.cpp
@@ -1,6 +1,7 @@
#include "LightInspector.h"

#include "i18n.h"
#include "icameraview.h"
#include "ientity.h"
#include "ieclass.h"
#include "igame.h"
Expand All @@ -15,8 +16,10 @@
#include <wx/checkbox.h>
#include <wx/artprov.h>
#include <wx/stattext.h>
#include <wx/slider.h>
#include <wx/radiobut.h>


#include "ui/common/ShaderChooser.h" // for static displayLightInfo() function
#include "util/ScopedBoolLock.h"
#include "gamelib.h"
Expand Down
2 changes: 2 additions & 0 deletions radiant/ui/lightinspector/LightInspector.h
Expand Up @@ -15,6 +15,8 @@
class Entity;
class wxColourPickerEvent;

class wxSlider;

namespace ui
{

Expand Down
1 change: 1 addition & 0 deletions radiant/ui/statusbar/CommandStatus.cpp
@@ -1,5 +1,6 @@
#include "CommandStatus.h"

#include "i18n.h"
#include "ui/istatusbarmanager.h"
#include "iradiant.h"

Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/doom3group/Doom3GroupNode.h
Expand Up @@ -3,6 +3,7 @@
#include "igroupnode.h"
#include "icurve.h"
#include "irenderable.h"
#include "editable.h"
#include "../OriginKey.h"
#include "../RotationKey.h"
#include "../NameKey.h"
Expand Down
2 changes: 2 additions & 0 deletions radiantcore/map/algorithm/Models.h
@@ -1,5 +1,7 @@
#pragma once

#include <string>

namespace map
{

Expand Down
2 changes: 2 additions & 0 deletions radiantcore/map/format/Quake3Utils.h
@@ -1,8 +1,10 @@
#pragma once

#include "math/Plane3.h"
#include "math/Vector3.h"
#include "math/Matrix4.h"
#include "texturelib.h"
#include "ibrush.h"

namespace map
{
Expand Down
1 change: 1 addition & 0 deletions radiantcore/map/format/primitiveparsers/BrushDef.h
@@ -1,5 +1,6 @@
#pragma once

#include "ibrush.h"
#include "imapformat.h"
#include "math/Matrix3.h"

Expand Down
1 change: 1 addition & 0 deletions radiantcore/model/import/openfbx/ofbx.cpp
Expand Up @@ -8,6 +8,7 @@
#include <string>
#include <unordered_map>
#include <vector>
#include <cstring>


namespace ofbx
Expand Down
1 change: 1 addition & 0 deletions radiantcore/scenegraph/SceneGraph.h
Expand Up @@ -9,6 +9,7 @@
#include "imodule.h"
#include "ispacepartition.h"
#include "imap.h"
#include "iundo.h"

namespace scene
{
Expand Down
3 changes: 3 additions & 0 deletions radiantcore/selection/algorithm/Texturing.cpp
Expand Up @@ -4,6 +4,9 @@
#include "selection/textool/PatchNode.h"
#include "messages/TextureChanged.h"

#include "ipatch.h"
#include "ibrush.h"

namespace selection
{

Expand Down
2 changes: 2 additions & 0 deletions radiantcore/selection/textool/FaceNode.cpp
Expand Up @@ -4,6 +4,8 @@
#include "itexturetoolcolours.h"
#include "math/Matrix3.h"

#include <GL/glew.h>

namespace textool
{

Expand Down
3 changes: 3 additions & 0 deletions radiantcore/selection/textool/Node.cpp
@@ -1,7 +1,10 @@
#include "Node.h"

#include "math/Vector2.h"
#include "math/Matrix4.h"
#include "itexturetoolcolours.h"
#include <sigc++/functors/mem_fun.h>
#include <GL/glew.h>

namespace textool
{
Expand Down
1 change: 1 addition & 0 deletions radiantcore/selection/textool/Node.h
@@ -1,6 +1,7 @@
#pragma once

#include <vector>
#include "render/Colour4.h"
#include "math/AABB.h"
#include "itexturetoolmodel.h"
#include "ObservedSelectable.h"
Expand Down
2 changes: 2 additions & 0 deletions radiantcore/selection/textool/PatchNode.cpp
Expand Up @@ -2,6 +2,8 @@

#include "ipatch.h"
#include "math/Matrix3.h"
#include "math/Matrix4.h"
#include <GL/glew.h>

namespace textool
{
Expand Down
1 change: 1 addition & 0 deletions radiantcore/selection/textool/PatchNode.h
Expand Up @@ -5,6 +5,7 @@
#include "Node.h"

class IPatch;
struct PatchControl;

namespace textool
{
Expand Down
Expand Up @@ -3,6 +3,7 @@
#include "itexturetoolmodel.h"
#include "math/Matrix3.h"
#include "pivot.h"
#include "igrid.h"
#include "selection/SelectionPool.h"

namespace textool
Expand Down
@@ -1,5 +1,6 @@
#include "TextureToolManipulationPivot.h"

#include "math/AABB.h"
#include "itexturetoolmodel.h"

namespace textool
Expand Down
Expand Up @@ -3,10 +3,12 @@
#include "iselectiontest.h"
#include "itexturetoolmodel.h"
#include "itexturetoolcolours.h"
#include "ishaders.h"
#include "selection/BestPoint.h"
#include "selection/SelectionPool.h"
#include "pivot.h"
#include "math/Matrix3.h"
#include "registry/registry.h"

namespace textool
{
Expand Down
3 changes: 3 additions & 0 deletions radiantcore/selection/textool/TextureToolSelectionSystem.cpp
@@ -1,5 +1,8 @@
#include "TextureToolSelectionSystem.h"

#include "igrid.h"
#include "ishaders.h"
#include "iundo.h"
#include "itextstream.h"
#include "iradiant.h"
#include "module/StaticModule.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/selection/textool/TextureToolSelectionSystem.h
@@ -1,6 +1,7 @@
#pragma once

#include <functional>
#include <map>
#include "itexturetoolmodel.h"
#include "icommandsystem.h"
#include "TextureToolManipulationPivot.h"
Expand Down

0 comments on commit 748fc55

Please sign in to comment.