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 "string/stringfwd.h"
27 void Patch_registerCommands();
28 typedef struct _GtkToolbar GtkToolbar;
29 typedef struct _GtkMenu GtkMenu;
30 void Patch_constructToolbar( GtkToolbar* toolbar );
31 void Patch_constructMenu( GtkMenu* menu );
38 void Scene_PatchSetShader_Selected( scene::Graph& graph, const char* name );
39 void Scene_PatchGetShader_Selected( scene::Graph& graph, CopiedString& name );
40 void Scene_PatchSelectByShader( scene::Graph& graph, const char* name );
41 void Scene_PatchFindReplaceShader( scene::Graph& graph, const char* find, const char* replace );
42 void Scene_PatchFindReplaceShader_Selected( scene::Graph& graph, const char* find, const char* replace );
44 void Scene_PatchCapTexture_Selected( scene::Graph& graph );
45 void Scene_PatchNaturalTexture_Selected( scene::Graph& graph );
46 void Scene_PatchTileTexture_Selected( scene::Graph& graph, float s, float t );
48 void PatchFilters_construct();
50 void PatchPreferences_construct();
52 void Patch_registerPreferencesPage();
55 extern PatchCreator* g_patchCreator;