<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>InsertMaterial</title>
    <category>Landscape</category>
    <subcat>Material</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>bool</rtype>
      <params>
        <param>
          <type>int</type>
          <name>material_index</name>
          <desc>Material to be inserted (see <funclink>Material</funclink>()).</desc>
        </param>
        <param>
          <type>int</type>
          <name>x</name>
          <desc>X insert position or offset</desc>
          <optional />
        </param>
        <param>
          <type>int</type>
          <name>y</name>
          <desc>Y insert position or offset</desc>
          <optional />
        </param>
        <param>
          <type>int</type>
          <name>xdir</name>
          <desc>horizontal speed of material pixel to be inserted</desc>
          <optional />
        </param>
        <param>
          <type>int</type>
          <name>ydir</name>
          <desc>vertical speed of material pixel to be inserted</desc>
          <optional />
        </param>
      </params>
    </syntax>
    <desc>Inserts a material pixel at the given position and given speed.</desc>
    <related>
      <funclink>Material</funclink>
      <funclink>InsertMaterialAmount</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2001-11</date>
</funcs>
