Skip to content

Commit

Permalink
Fixup compilation in Debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 3, 2022
1 parent d95a3c2 commit 33e186f
Show file tree
Hide file tree
Showing 41 changed files with 56 additions and 6 deletions.
2 changes: 2 additions & 0 deletions include/imodelsurface.h
Expand Up @@ -3,6 +3,8 @@
// Math/Vertex classes
#include "render/MeshVertex.h"

class AABB;

namespace model
{

Expand Down
1 change: 1 addition & 0 deletions libs/wxutil/dialog/DialogBase.h
Expand Up @@ -2,6 +2,7 @@

#include <string>
#include <wx/dialog.h>
#include <wx/frame.h>
#include "../WindowPosition.h"
#include "../WindowState.h"

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

#include "imap.h"
#include "iregistry.h"
#include "ui/imainframe.h"
#include "ivolumetest.h"
Expand Down
1 change: 1 addition & 0 deletions radiant/ui/common/ImageFileSelector.cpp
Expand Up @@ -3,6 +3,7 @@
#include "i18n.h"
#include "ImageFilePopulator.h"
#include "wxutil/dataview/ResourceTreeViewToolbar.h"
#include <wx/sizer.h>

namespace ui
{
Expand Down
1 change: 1 addition & 0 deletions radiant/ui/common/SoundShaderSelector.h
@@ -1,5 +1,6 @@
#pragma once

#include "isound.h"
#include "wxutil/decl/DeclarationSelector.h"
#include "SoundShaderPreview.h"

Expand Down
8 changes: 8 additions & 0 deletions radiant/ui/einspector/FxPropertyEditor.cpp
@@ -1,9 +1,17 @@
#include "FxPropertyEditor.h"

#include "i18n.h"
#include "icommandsystem.h"
#include "ientity.h"

#include "ClassnamePropertyEditor.h"
#include "PropertyEditorFactory.h"
#include "ui/fx/FxChooser.h"

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

namespace ui
{

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

#include "i18n.h"
#include "debugging/ScopedDebugTimer.h"
#include "os/path.h"
#include "wxutil/dataview/ThreadedDeclarationTreePopulator.h"
Expand Down
2 changes: 2 additions & 0 deletions radiant/ui/layers/LayerControlDialog.cpp
@@ -1,11 +1,13 @@
#include "LayerControlDialog.h"

#include "i18n.h"
#include "iregistry.h"
#include "itextstream.h"
#include "ilayer.h"
#include "ui/imainframe.h"
#include "iselection.h"

#include <wx/bmpbuttn.h>
#include <wx/button.h>
#include <wx/tglbtn.h>
#include <wx/sizer.h>
Expand Down
1 change: 1 addition & 0 deletions radiant/ui/layers/LayerControlDialog.h
@@ -1,5 +1,6 @@
#pragma once

#include <map>
#include "imap.h"
#include "icommandsystem.h"
#include "wxutil/window/TransientWindow.h"
Expand Down
1 change: 1 addition & 0 deletions radiant/ui/mainframe/TopLevelFrame.cpp
Expand Up @@ -10,6 +10,7 @@
#include <wx/toolbar.h>
#include <wx/menu.h>
#include <wx/app.h>
#include <wx/stattext.h>

namespace ui
{
Expand Down
1 change: 1 addition & 0 deletions radiant/ui/prefabselector/PrefabSelector.cpp
Expand Up @@ -3,6 +3,7 @@
#include "ifilesystem.h"
#include "ifiletypes.h"
#include "itextstream.h"
#include "ui/imainframe.h"
#include "i18n.h"
#include "iradiant.h"
#include "imap.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/brush/RenderableBrushVertices.h
@@ -1,5 +1,6 @@
#pragma once

#include "iselection.h"
#include "render/VertexCb.h"
#include "render/RenderableGeometry.h"

Expand Down
1 change: 1 addition & 0 deletions radiantcore/decl/DeclarationFile.h
@@ -1,6 +1,7 @@
#pragma once

#include <string>
#include <vector>
#include "idecltypes.h"

namespace decl
Expand Down
2 changes: 2 additions & 0 deletions radiantcore/decl/DeclarationFolderParser.h
@@ -1,5 +1,7 @@
#pragma once

#include <map>
#include "ideclmanager.h"
#include "DeclarationFile.h"

#include "parser/ThreadedDeclParser.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/AngleKey.h
Expand Up @@ -2,6 +2,7 @@

#include "math/Quaternion.h"
#include "math/FloatTools.h"
#include <sigc++/trackable.h>
#include <functional>

class Entity;
Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/ModelKey.cpp
Expand Up @@ -2,6 +2,7 @@

#include <functional>
#include "imodelcache.h"
#include "imd5model.h"
#include "ifilter.h"
#include "modelskin.h"
#include "string/replace.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/ModelKey.h
Expand Up @@ -2,6 +2,7 @@

#include <string>
#include "inode.h"
#include "ieclass.h"
#include "ObservedUndoable.h"
#include <sigc++/connection.h>

Expand Down
4 changes: 2 additions & 2 deletions radiantcore/entity/RenderableEntityBox.h
Expand Up @@ -2,11 +2,11 @@

#include "render/RenderableBox.h"

class IEntityNode;

namespace entity
{

class EntityNode;

class RenderableEntityBox final :
public render::RenderableBox
{
Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/light/LightNode.cpp
@@ -1,5 +1,6 @@
#include "LightNode.h"

#include "igrid.h"
#include "ishaders.h"
#include "icolourscheme.h"
#include "../EntitySettings.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/speaker/SpeakerRenderables.cpp
@@ -1,5 +1,6 @@
#include "SpeakerRenderables.h"

#include "ientity.h"
#include "render.h"

namespace entity
Expand Down
2 changes: 2 additions & 0 deletions radiantcore/entity/speaker/SpeakerRenderables.h
Expand Up @@ -4,6 +4,8 @@
#include "math/Vector3.h"
#include "render/RenderableGeometry.h"

class IEntityNode;

namespace entity
{

Expand Down
1 change: 1 addition & 0 deletions radiantcore/entity/target/RenderableTargetLines.h
Expand Up @@ -2,6 +2,7 @@

#include "TargetKeyCollection.h"
#include "render.h"
#include "ientity.h"
#include "irenderable.h"
#include "ivolumetest.h"
#include "math/Segment.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/fonts/FontLoader.cpp
Expand Up @@ -5,6 +5,7 @@

#include <regex>

#include "igame.h"
#include "ifilesystem.h"
#include "itextstream.h"
#include "FontManager.h"
Expand Down
2 changes: 1 addition & 1 deletion radiantcore/fx/FxAction.cpp
@@ -1,6 +1,6 @@
#include "FxAction.h"

#include "parser/DefTokeniser.h"
#include "string/convert.h"
#include "string/case_conv.h"
#include "FxDeclaration.h"

Expand Down
1 change: 1 addition & 0 deletions radiantcore/fx/FxAction.h
@@ -1,6 +1,7 @@
#pragma once

#include "ifx.h"
#include "parser/DefTokeniser.h"

namespace fx
{
Expand Down
1 change: 1 addition & 0 deletions radiantcore/map/algorithm/Export.cpp
Expand Up @@ -2,6 +2,7 @@

#include <stdexcept>
#include "i18n.h"
#include "ieclass.h"
#include "ifilesystem.h"
#include "imodelcache.h"
#include "ientity.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/model/NullModelNode.h
@@ -1,6 +1,7 @@
#pragma once

#include "Bounded.h"
#include "iselectiontest.h"
#include "irenderable.h"

#include "scene/Node.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/model/export/PatchSurface.h
@@ -1,6 +1,7 @@
#pragma once

#include "ipatch.h"
#include "math/AABB.h"
#include "imodelsurface.h"

namespace model
Expand Down
1 change: 1 addition & 0 deletions radiantcore/rendersystem/backend/GLProgramFactory.cpp
Expand Up @@ -8,6 +8,7 @@
#include "glprogram/RegularStageProgram.h"
#include "glprogram/BlendLightProgram.h"

#include "irender.h"
#include "itextstream.h"
#include "iregistry.h"
#include "imodule.h"
Expand Down
1 change: 1 addition & 0 deletions radiantcore/rendersystem/backend/GLProgramFactory.h
Expand Up @@ -3,6 +3,7 @@
#include <map>
#include <memory>
#include "igl.h"
#include "iglprogram.h"

namespace render
{
Expand Down
2 changes: 2 additions & 0 deletions radiantcore/rendersystem/backend/ObjectRenderer.cpp
@@ -1,5 +1,7 @@
#include "ObjectRenderer.h"

#include "GLProgramAttributes.h"
#include "irenderableobject.h"
#include "math/Matrix4.h"
#include "render/RenderVertex.h"

Expand Down
5 changes: 2 additions & 3 deletions radiantcore/rendersystem/backend/OpenGLState.h
@@ -1,15 +1,14 @@
#pragma once

#include "igl.h"
#include "iglprogram.h"
#include "ishaders.h"
#include "ishaderlayer.h"
#include "irender.h"

#include "debugging/gl.h"
#include "render/Colour4.h"

// Full declaration in iglprogram.h
class GLProgram;

namespace render
{

Expand Down
1 change: 1 addition & 0 deletions radiantcore/rendersystem/backend/SceneRenderer.cpp
@@ -1,5 +1,6 @@
#include "SceneRenderer.h"

#include "GLProgramAttributes.h"
#include "igl.h"
#include "OpenGLState.h"

Expand Down
@@ -1,5 +1,6 @@
#include "BlendLightProgram.h"

#include "GLProgramAttributes.h"
#include "debugging/gl.h"
#include "rendersystem/backend/GLProgramFactory.h"

Expand Down
@@ -1,6 +1,7 @@
#pragma once

#include "GLSLProgramBase.h"
#include "render/Colour4.h"

namespace render
{
Expand Down
@@ -1,6 +1,7 @@
#include "CubeMapProgram.h"

#include "itextstream.h"
#include "GLProgramAttributes.h"
#include "debugging/gl.h"
#include "igl.h"
#include "../GLProgramFactory.h"
Expand Down
@@ -1,6 +1,7 @@
#pragma once

#include "GLSLProgramBase.h"
#include "math/Vector3.h"

namespace render
{
Expand Down
Expand Up @@ -2,6 +2,7 @@

#include "iglprogram.h"
#include "igl.h"
#include "math/Matrix4.h"

namespace render
{
Expand Down
@@ -1,5 +1,7 @@
#pragma once

#include "ishaderlayer.h"
#include "irender.h"
#include "GLSLProgramBase.h"

namespace render
Expand Down
@@ -1,6 +1,7 @@
#include "RegularStageProgram.h"

#include "itextstream.h"
#include "GLProgramAttributes.h"
#include "debugging/gl.h"
#include "igl.h"
#include "../GLProgramFactory.h"
Expand Down
@@ -1,5 +1,6 @@
#pragma once

#include "ishaderlayer.h"
#include "GLSLProgramBase.h"

namespace render
Expand Down

0 comments on commit 33e186f

Please sign in to comment.