fix q3map_fogDir, q3map_tcGen vector, ivector doc, highlighting

This commit is contained in:
Garux 2023-07-05 14:06:46 +06:00
parent cfe248da83
commit 363c63b5d2
2 changed files with 4 additions and 3 deletions

View File

@ -232,7 +232,7 @@ q3map_alphagen dotProduct2scale ( 0 0 1 0.250 0.933 )
<dt>power</dt><dd>Light direction power, e.g. 1.</dd>
</dl>
<h2 id="q3map_fogDir">q3map_fogDir X Y Z</h2>
<h2 id="q3map_fogDir">q3map_fogDir ( X Y Z )</h2>
<p>Specifies the direction a fog shader fades from transparent to opaque. Values indicate a directional vector.</p>
<h2 id="q3map_foliage">q3map_foliage model scale density odds invert_alpha</h2>

View File

@ -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 <set>
@ -855,7 +856,7 @@ static const std::vector<ShaderFormat> 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<ShaderFormat> 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",
}