2 Copyright (C) 1999-2006 Id Software, Inc. and contributors.
3 For a list of contributors, see the accompanying CONTRIBUTORS file.
5 This file is part of GtkRadiant.
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.
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.
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
22 #if !defined ( INCLUDED_PATCHMANIP_H )
23 #define INCLUDED_PATCHMANIP_H
25 #include <uilib/uilib.h>
26 #include "string/stringfwd.h"
28 void Patch_registerCommands();
30 void Patch_constructToolbar(ui::Toolbar toolbar);
32 void Patch_constructMenu(ui::Menu menu);
38 void Scene_PatchSetShader_Selected(scene::Graph &graph, const char *name);
40 void Scene_PatchGetShader_Selected(scene::Graph &graph, CopiedString &name);
42 void Scene_PatchSelectByShader(scene::Graph &graph, const char *name);
44 void Scene_PatchFindReplaceShader(scene::Graph &graph, const char *find, const char *replace);
46 void Scene_PatchFindReplaceShader_Selected(scene::Graph &graph, const char *find, const char *replace);
48 void Scene_PatchCapTexture_Selected(scene::Graph &graph);
50 void Scene_PatchNaturalTexture_Selected(scene::Graph &graph);
52 void Scene_PatchTileTexture_Selected(scene::Graph &graph, float s, float t);
54 void PatchFilters_construct();
56 void PatchPreferences_construct();
58 void Patch_registerPreferencesPage();
60 void Patch_NaturalTexture();
62 void Patch_CapTexture();
64 void Patch_ResetTexture();
66 void Patch_FitTexture();
68 void Patch_FlipTextureX();
70 void Patch_FlipTextureY();
72 void Patch_AutoCapTexture();
76 extern PatchCreator *g_patchCreator;