]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - radiant/patchmanip.h
iqmmodel: better format description
[xonotic/netradiant.git] / radiant / patchmanip.h
1 /*
2    Copyright (C) 1999-2006 Id Software, Inc. and contributors.
3    For a list of contributors, see the accompanying CONTRIBUTORS file.
4
5    This file is part of GtkRadiant.
6
7    GtkRadiant is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11
12    GtkRadiant is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with GtkRadiant; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21
22 #if !defined ( INCLUDED_PATCHMANIP_H )
23 #define INCLUDED_PATCHMANIP_H
24
25 #include <uilib/uilib.h>
26 #include "string/stringfwd.h"
27
28 void Patch_registerCommands();
29
30 void Patch_constructToolbar(ui::Toolbar toolbar);
31
32 void Patch_constructMenu(ui::Menu menu);
33
34 namespace scene {
35     class Graph;
36 }
37
38 void Scene_PatchSetShader_Selected(scene::Graph &graph, const char *name);
39
40 void Scene_PatchGetShader_Selected(scene::Graph &graph, CopiedString &name);
41
42 void Scene_PatchSelectByShader(scene::Graph &graph, const char *name);
43
44 void Scene_PatchFindReplaceShader(scene::Graph &graph, const char *find, const char *replace);
45
46 void Scene_PatchFindReplaceShader_Selected(scene::Graph &graph, const char *find, const char *replace);
47
48 void Scene_PatchCapTexture_Selected(scene::Graph &graph);
49
50 void Scene_PatchNaturalTexture_Selected(scene::Graph &graph);
51
52 void Scene_PatchTileTexture_Selected(scene::Graph &graph, float s, float t);
53
54 void PatchFilters_construct();
55
56 void PatchPreferences_construct();
57
58 void Patch_registerPreferencesPage();
59
60 void Patch_NaturalTexture();
61
62 void Patch_CapTexture();
63
64 void Patch_ResetTexture();
65
66 void Patch_FitTexture();
67
68 void Patch_FlipTextureX();
69
70 void Patch_FlipTextureY();
71
72 void Patch_AutoCapTexture();
73
74 class PatchCreator;
75
76 extern PatchCreator *g_patchCreator;
77
78 #endif