forked from Mirrors/openclonk
34 lines
995 B
XML
34 lines
995 B
XML
<?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>GetX</title>
|
|
<category>Objects</category>
|
|
<subcat>Position</subcat>
|
|
<version>5.1 OC</version>
|
|
<syntax>
|
|
<rtype>int</rtype>
|
|
<params>
|
|
<param>
|
|
<type>int</type>
|
|
<name>prec</name>
|
|
<desc>Precision. Coordinates are divided by this value to enable retrieval of fractional positions. Defaults to 1.</desc>
|
|
<optional />
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Returns the x position of the calling object.</desc>
|
|
<related>
|
|
<funclink>GetXDir</funclink>
|
|
<funclink>GetYDir</funclink>
|
|
<funclink>SetXDir</funclink>
|
|
<funclink>SetYDir</funclink>
|
|
<funclink>GetY</funclink>
|
|
<funclink>SetPosition</funclink>
|
|
</related>
|
|
</func>
|
|
<author>Cucaracha</author><date>2002-05</date>
|
|
</funcs>
|