From b21d2cbf1d9a290e91e29902a9f0386e73263922 Mon Sep 17 00:00:00 2001 From: Garux Date: Wed, 20 Sep 2023 06:41:27 +0600 Subject: [PATCH] fix non existent q3map_tcMod mode --- docs/shaderManual/q3map-global-directives.html | 2 +- radiant/gtkdlgs.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/shaderManual/q3map-global-directives.html b/docs/shaderManual/q3map-global-directives.html index 5a4fe317..69c6d632 100644 --- a/docs/shaderManual/q3map-global-directives.html +++ b/docs/shaderManual/q3map-global-directives.html @@ -463,7 +463,7 @@ textures/eerie/ironcrosslt2_10000

q3map_tcMod scale s-scale t-scale

Scales S (x) and T (y) texture co-ordinates. scale 2 2 would halve the size of the texture (doubling the texture co-ordinates).

-

q3map_tcMod translate or move or shift s-offset t-offset

+

q3map_tcMod translate or offset or shift s-offset t-offset

Shifts texture co-ordinates by S, T amount. translate 0.5 0 would shift it one-half in S, and none in T.

q3map_terrain

diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index ba5dd8a2..76ccbb37 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -1139,8 +1139,8 @@ static const std::vector g_shaderGeneralFormats{ "q3map_tcMod %s %f %f", c_pageGlob, c_colorKeyLv1, { "scale", "translate", - "move", "shift", + "offset", } }, {