renamed ominous "Smooth" texture to "none", removed reference in docs to Smooth and made it 512x512

In OC, actually every material has its predefined set of textures, so the default texturing of >=CR is obsolete. The "Smooth" texture is a relic of that which is currently only used because of the "Vehicle" material.
Tobias Zwick 2011-08-29 23:41:41 +02:00
parent 89d9a43244
commit 49729a61ae
5 changed files with 4 additions and 4 deletions

View File

@ -8379,8 +8379,8 @@ msgid "If <code>true</code>, the material will be drawn as 'underground'."
msgstr "Wenn <code>true</code>, wird das Material unterirdisch gezeichnet."
#: sdk/script/fn/DrawMaterialQuad.xml:65(desc)
msgid "Draws a four-cornered polygon of the specified material and texture into the landscape. If no texture is specified, Smooth is assumed."
msgstr "Zeichnet ein viereckiges Polygon im angegebenen Material mit der angegebenen Textur. Wenn keine Textur angegeben ist, wird Smooth angenommen."
msgid "Draws a four-cornered polygon of the specified material and texture into the landscape."
msgstr "Zeichnet ein viereckiges Polygon im angegebenen Material mit der angegebenen Textur."
#: sdk/script/fn/DrawMaterialQuad.xml:66(remark)
msgid "The corners of the polygon should be specified in clockwise order and polygon boundaries should not intersect. For more complex or concave shapes you make multiple calls to this function."

View File

@ -62,7 +62,7 @@
</param>
</params>
</syntax>
<desc>Draws a four-cornered polygon of the specified material and texture into the landscape. If no texture is specified, Smooth is assumed.</desc>
<desc>Draws a four-cornered polygon of the specified material and texture into the landscape.</desc>
<remark>The corners of the polygon should be specified in clockwise order and polygon boundaries should not intersect. For more complex or concave shapes you make multiple calls to this function.</remark>
<examples>
<example>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -525,7 +525,7 @@ bool C4MaterialMap::CrossMapMaterials() // Called after load
szTextureOverlay = TextureMap.GetEntry(iTexMapIx)->GetTextureName();
// default to smooth
if (!szTextureOverlay)
szTextureOverlay = "Smooth";
szTextureOverlay = "none";
// search/create entry in texmap
Map[cnt].DefaultMatTex = ::TextureMap.GetIndex(Map[cnt].Name, szTextureOverlay, true,
FormatString("DefaultMatTex of mat %s", Map[cnt].Name).getData());