<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE doc
  SYSTEM '../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../clonk.xsl"?>
<doc>
  <title>Object Categories</title>
  <h>Object Categories</h>
  <part>
    <text>An object's category specifies parts of its behavior. For a definition it is set by the Category entry in the DefCore.txt file. Multiple categories can be combined using the binary OR operator.</text>
    <text>
      <table>
        <rowh>
          <col>Category</col>
          <col>Description</col>
        </rowh>
        <row>
          <col>C4D_StaticBack</col>
          <col>Immovable background object.</col>
        </row>
        <row>
          <col>C4D_Structure</col>
          <col>Building.</col>
        </row>
        <row>
          <col>C4D_Vehicle</col>
          <col>Vehicle.</col>
        </row>
        <row>
          <col>C4D_Living</col>
          <col>A living being.</col>
        </row>
        <row>
          <col>C4D_Object</col>
          <col>A smaller item.</col>
        </row>
        <row>
          <col>C4D_Goal</col>
          <col>Game goal.</col>
        </row>
        <row>
          <col>C4D_Environment</col>
          <col>Environmental control object.</col>
        </row>
        <row>
          <col>C4D_Rule</col>
          <col>Rule control object.</col>
        </row>
        <row>
          <col>C4D_Background</col>
          <col>Object is behind the landscape.</col>
        </row>
        <row>
          <col>C4D_Parallax</col>
          <col>Object moves parallax according to the Parallaxity property. For more information see <funclink>C4D_Parallax</funclink>.</col>
        </row>
        <row>
          <col>C4D_MouseSelect</col>
          <col>Object can be clicked with the mouse, causing a MouseSelection(int player) callback in the object.</col>
        </row>
        <row>
          <col>C4D_Foreground</col>
          <col>Object is always in the foreground, even before global particles.</col>
        </row>
        <row>
          <col>C4D_MouseIgnore</col>
          <col>Object cannot be selected with the mouse.</col>
        </row>
        <row>
          <col>C4D_IgnoreFoW</col>
          <col>Object is drawn above fog of war. Useful for creating status displays or gui elements using objects.</col>
        </row>
      </table>
    </text>
    <h id="Beispiel">Example</h>
    <text>
      <examples>
        <example>
          <code>Category=C4D_StaticBack|C4D_Rule</code>
          <text>Category for a rule.</text>
        </example>
      </examples>
    </text>
  </part>
  <author>Sven2</author><date>2006-05</date>
  <author>Newton &amp; Günther</author><date>2005-01</date>
</doc>
