]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/meshtex/MeshEntityMessages.h
Merge commit 'b017c473e86330d5908858b8add1b16674b0a1a8' into garux-merge
[xonotic/netradiant.git] / contrib / meshtex / MeshEntityMessages.h
1 /**
2  * @file MeshEntityMessages.h
3  * String constants for messages shown in dialogs.
4  * @ingroup meshtex-core
5  */
6
7 /*
8  * Copyright 2012 Joel Baxter
9  *
10  * This file is part of MeshTex.
11  *
12  * MeshTex is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * MeshTex is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with MeshTex.  If not, see <http://www.gnu.org/licenses/>.
24  */
25
26 #if !defined(INCLUDED_MESHENTITYMESSAGES_H)
27 #define INCLUDED_MESHENTITYMESSAGES_H
28
29 /// @name Informational messages
30 //@{
31 #define INFO_ROW_FORMAT "On row %d:\n  S natural scale: %f\n  S tiles: %f\n  S min: %f\n  S max: %f\n\n"
32 #define INFO_ROW_INFSCALE_FORMAT "On row %d:\n  S scale: (infinite)\n  S tiles: %f\n  S min: %f\n  S max: %f\n\n"
33 #define INFO_COL_FORMAT "On column %d:\n  T natural scale: %f\n  T tiles: %f\n  T min: %f\n  T max: %f\n\n"
34 #define INFO_COL_INFSCALE_FORMAT "On column %d:\n  T scale: (infinite)\n  T tiles: %f\n  T min: %f\n  T max: %f\n\n"
35 #define INFO_MESH_FORMAT "Over entire mesh:\n  Rows: %d\n  S min: %f\n  S max: %f\n  Columns: %d\n  T min: %f\n  T max: %f\n\nWorldspace extents: (%.2f/%.2f,%.2f/%.2f,%.2f/%.2f)"
36 //@}
37
38 /// @name Warning messages
39 //@{
40 #define WARNING_ROW_INFSCALE "The selected reference row has an infinite scale (S does not vary along the row). The row information cannot be automatically transferred to the Set S/T Scale dialog."
41 #define WARNING_COL_INFSCALE "The selected reference column has an infinite scale (T does not vary along the column). The column information cannot be automatically transferred to the Set S/T Scale dialog."
42 //@}
43
44 /// @name Error messages
45 //@{
46 #define ERROR_BAD_MESH "Unable to read patch mesh."
47 #define ERROR_BAD_ROW "Illegal row # specified."
48 #define ERROR_BAD_COL "Illegal column # specified."
49 #define ERROR_ROW_ZEROSCALE "A scale of zero cannot be applied; the S values of the row will not be changed."
50 #define ERROR_COL_ZEROSCALE "A scale of zero cannot be applied; the T values of the column will not be changed."
51 #define ERROR_ROW_ZEROTILES "A tile count of zero cannot be applied; the S values of the row will not be changed."
52 #define ERROR_COL_ZEROTILES "A tile count of zero cannot be applied; the T values of the column will not be changed."
53 //@}
54
55 #endif // #if !defined(INCLUDED_MESHENTITYMESSAGES_H)