diff --git a/docs/shaderManual/q3map-global-directives.html b/docs/shaderManual/q3map-global-directives.html index 3d082a82..5a4fe317 100644 --- a/docs/shaderManual/q3map-global-directives.html +++ b/docs/shaderManual/q3map-global-directives.html @@ -232,7 +232,7 @@ q3map_alphagen dotProduct2scale ( 0 0 1 0.250 0.933 )
power
Light direction power, e.g. 1.
-

q3map_fogDir X Y Z

+

q3map_fogDir ( X Y Z )

Specifies the direction a fog shader fades from transparent to opaque. Values indicate a directional vector.

q3map_foliage model scale density odds invert_alpha

diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index 2fbceb6e..08afe084 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -488,6 +488,7 @@ no completion on undo, paste? //atm on adding undo, not on removing QStringLiteral optimization QCompleter inactive entry in list // because is wrapAround() check %p %t lengths in hl +display line numbers, exremely useful for error messages handling */ #include @@ -855,7 +856,7 @@ static const std::vector g_shaderGeneralFormats{ "q3map_floodLight %c %c %c %f %f %f", c_pageGlob, c_colorKeyLv1 }, { - "q3map_fogDir %f %f %f", c_pageGlob, c_colorKeyLv1 + "q3map_fogDir ( %f %f %f )", c_pageGlob, c_colorKeyLv1 }, { "q3map_foliage %p %f %f %f %i", c_pageGlob, c_colorKeyLv1 @@ -973,7 +974,7 @@ static const std::vector g_shaderGeneralFormats{ "q3map_surfaceModel %p %f %f %f %f %f %f %i", c_pageGlob, c_colorKeyLv1 }, { - "q3map_tcGen %s %f %f", c_pageGlob, c_colorKeyLv1, { + "q3map_tcGen %s ( %f %f %f ) ( %f %f %f )", c_pageGlob, c_colorKeyLv1, { "vector", "ivector", }