]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/brushmanip.h
Fixes by Dunk
[xonotic/netradiant.git] / radiant / brushmanip.h
index 9c41f7a3037117d783b24e9aab37d0b47df756ee..088a89febd95ba5a97e76f8d38a973c6d5e153e9 100644 (file)
@@ -22,7 +22,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #if !defined (INCLUDED_BRUSHWRAPPER_H)
 #define INCLUDED_BRUSHWRAPPER_H
 
-#include "string/string.h"
+#include <cstddef>
+#include "string/stringfwd.h"
+#include "generic/callbackfwd.h"
 
 enum EBrushPrefab
 {
@@ -45,6 +47,7 @@ void Scene_BrushSetTexdef_Selected(scene::Graph& graph, const TextureProjection&
 void Scene_BrushSetTexdef_Component_Selected(scene::Graph& graph, const TextureProjection& projection);
 void Scene_BrushGetTexdef_Selected(scene::Graph& graph, TextureProjection& projection);
 void Scene_BrushGetTexdef_Component_Selected(scene::Graph& graph, TextureProjection& projection);
+void Scene_BrushGetShaderSize_Component_Selected(scene::Graph& graph, size_t& width, size_t& height);
 void Scene_BrushSetFlags_Selected(scene::Graph& graph, const ContentsFlagsValue& flags);
 void Scene_BrushSetFlags_Component_Selected(scene::Graph& graph, const ContentsFlagsValue& flags);
 void Scene_BrushGetFlags_Selected(scene::Graph& graph, ContentsFlagsValue& flags);
@@ -67,18 +70,11 @@ void Scene_BrushSelectByShader_Component(scene::Graph& graph, const char* name);
 void Scene_BrushFitTexture_Selected(scene::Graph& graph, float s_repeat, float t_repeat);
 void Scene_BrushFitTexture_Component_Selected(scene::Graph& graph, float s_repeat, float t_repeat);
 
-class Callback;
-
 typedef struct _GtkMenu GtkMenu;
 void Brush_constructMenu(GtkMenu* menu);
 
 extern Callback g_texture_lock_status_changed;
 
-bool SelectedFaces_empty();
-void SelectedFaces_copyTexture();
-void SelectedFaces_pasteTexture();
-void FaceTextureClipboard_setDefault();
-
 void BrushFilters_construct();
 void Brush_registerCommands();