Add a documentation of the new mathematical functions

coolant-mod
MrSimbax 2015-07-24 12:14:39 +02:00
parent e636d752b3
commit d2acc1e424
17 changed files with 1181 additions and 157 deletions

View File

@ -12,8 +12,8 @@ When controlling the robot through programming, the gun can be also turned left
\t;y: \c;\l;float\u cbot\float;\n;
Angle in degrees of the gun relative to the robot. A positive value orients the gun upward. For shooters and orga shooters, the angle must range from \c;-20\n; to \c;+20\n; degrees. For phazer shooters, the angle must range from \c;-20\n; to \c;45\n; degrees.
\t;x: \c;\l;float\u cbot\float;\n;
Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from \c;-40\n; to \c;+40\n; degrees for all shooters. This parameter is optional: if no value is provided, then \c;x = 0\n;.
\t;x: \c;\l;float\u cbot\float;\n; (default value: \c;0\n;)
Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from \c;-40\n; to \c;+40\n; degrees for all shooters.
\t;Return value: \c;\l;int\u cbot\int;\n;
Zero if everything is OK, a value different from zero if the rotation could not be performed:

17
help/cbot/E/atan2.txt Normal file
View File

@ -0,0 +1,17 @@
\b;Instruction \c;atan2\n;
Syntax:
\s;\c;atan2 ( y, x );\n;
The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \c;\l;atan();\u cbot\atan;\n; function. For example, consider a point \c;(-1, -1)\n;: \c;atan(-1/-1);\n; is \c;45.00\n; degrees, whereas \c;atan2(-1, -1);\n; is \c;-135.00\n; degrees, which is obviously more correct in this case.
\t;y: \c;\l;float\u cbot\float;\n;
Number.
\t;x: \c;\l;float\u cbot\float;\n;
Number.
\t;Return value: \c;\l;float\u cbot\float;\n;
Arcus tangent (in degrees) of \c;y/x\n;.
\t;See also
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;.

13
help/cbot/E/ceil.txt Normal file
View File

@ -0,0 +1,13 @@
\b;Instruction \c;ceil\n;
Syntax:
\s;\c;ceil ( value );\n;
Rounds up a number.
\t;value: \c;\l;float\u cbot\float;\n;
Number.
\t;Return value: \c;\l;float\u cbot\float;\n;
Ceiling of the value, i.e. the smallest integer not less than \c;value\n;. For example, \c;ceil(2.1)\n; is \c;3.0\n;.
\t;See also
\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;.

13
help/cbot/E/floor.txt Normal file
View File

@ -0,0 +1,13 @@
\b;Instruction \c;floor\n;
Syntax:
\s;\c;floor ( value );\n;
Rounds down a number.
\t;value: \c;\l;float\u cbot\float;\n;
Number.
\t;Return value: \c;\l;float\u cbot\float;\n;
Floor of the value, i.e. the largest integer not greater than \c;value\n;. For example, \c;floor(2.9)\n; is \c;2.00\n;.
\t;See also
\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;.

13
help/cbot/E/round.txt Normal file
View File

@ -0,0 +1,13 @@
\b;Instruction \c;round\n;
Syntax:
\s;\c;round ( value );\n;
Rounds a number.
\t;value: \c;\l;float\u cbot\float;\n;
Number.
\t;Return value: \c;\l;float\u cbot\float;\n;
Rounded \c;value\n;. For example, \c;round(2.5)\n; is \c;3.0\n;, whereas \c;round(2.4)\n; is \c;2.0\n;.
\t;See also
\l;trunc\u cbot\trunc;, \l;floor\u cbot\floor;, \l;ceil\u cbot\ceil;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;.

13
help/cbot/E/trunc.txt Normal file
View File

@ -0,0 +1,13 @@
\b;Instruction \c;trunc\n;
Syntax:
\s;\c;trunc ( value );\n;
Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the \c;\l;floor();\u cbot\floor;\n; function, and for negative numbers, it works like the \c;\l;ceil();\u cbot\ceil;\n; function. It can be said that it rounds towards zero.
\t;value: \c;\l;float\u cbot\float;\n;
Number.
\t;Return value: \c;\l;float\u cbot\float;\n;
Truncated \c;value\n;. For example, \c;trunc(-2.5)\n; is \c;-2.00\n;.
\t;See also
\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;.

View File

@ -53,7 +53,7 @@ msgid "Time in seconds."
msgstr ""
#. type: \t; header
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#, no-wrap
msgid "See also"
msgstr ""
@ -934,7 +934,7 @@ msgid "Position towards which the robot must point."
msgstr ""
#. type: \t; header
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9
#, no-wrap
msgid "Return value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -1004,7 +1004,7 @@ msgid "For specialists"
msgstr ""
#. type: Plain text
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#, no-wrap
msgid "Syntax:"
msgstr ""
@ -5544,23 +5544,17 @@ msgid "When controlling the robot through programming, the gun can be also turne
msgstr ""
#. type: \t; header
#: ../E/aim.txt:12 ../E/pow.txt:8
#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8
#, no-wrap
msgid "y: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15 ../E/pow.txt:5
#: ../E/atan2.txt:10 ../E/pow.txt:5
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:5
#, no-wrap
@ -5586,7 +5580,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)."
msgstr ""
#. type: Plain text
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#, no-wrap
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
@ -5604,7 +5598,7 @@ msgid "<c/>acos ( value );<n/>"
msgstr ""
#. type: \t; header
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6
#, no-wrap
msgid "value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -5640,7 +5634,7 @@ msgid "<c/>atan ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan.txt:6
#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7
#, no-wrap
msgid "Number."
msgstr ""
@ -5899,6 +5893,168 @@ msgstr ""
msgid "It helps to prevent errors in programs using the <c/><a cbot|build>build();</a><n/> instruction. Here is an example:"
msgstr ""
#. type: \b; header
#: ../E/atan2.txt:1
#, no-wrap
msgid "Instruction <code>atan2</code>"
msgstr ""
#. type: Source code
#: ../E/atan2.txt:3
#, no-wrap
msgid "<c/>atan2 ( y, x );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:14
#, no-wrap
msgid "Arcus tangent (in degrees) of <code>y/x</code>."
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:5
#, no-wrap
msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/><a cbot|atan>atan();</a><n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
msgstr ""
#. type: \b; header
#: ../E/ceil.txt:1
#, no-wrap
msgid "Instruction <code>ceil</code>"
msgstr ""
#. type: Source code
#: ../E/ceil.txt:3
#, no-wrap
msgid "<c/>ceil ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/floor.txt:4
#, no-wrap
msgid "Rounds down a number."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:10
#, no-wrap
msgid "Ceiling of the value, i.e. the smallest integer not less than <code>value</code>. For example, <code>ceil(2.1)</code> is <code>3.0</code>."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13
#, no-wrap
msgid "<a cbot|round>round</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: \b; header
#: ../E/floor.txt:1
#, no-wrap
msgid "Instruction <code>floor</code>"
msgstr ""
#. type: Source code
#: ../E/floor.txt:3
#, no-wrap
msgid "<c/>floor ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:4
#, no-wrap
msgid "Rounds up a number."
msgstr ""
#. type: Plain text
#: ../E/floor.txt:10
#, no-wrap
msgid "Floor of the value, i.e. the largest integer not greater than <code>value</code>. For example, <code>floor(2.9)</code> is <code>2.00</code>."
msgstr ""
#. type: \b; header
#: ../E/round.txt:1
#, no-wrap
msgid "Instruction <code>round</code>"
msgstr ""
#. type: Source code
#: ../E/round.txt:3
#, no-wrap
msgid "<c/>round ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/round.txt:4
#, no-wrap
msgid "Rounds a number."
msgstr ""
#. type: Plain text
#: ../E/round.txt:10
#, no-wrap
msgid "Rounded <code>value</code>. For example, <code>round(2.5)</code> is <code>3.0</code>, whereas <code>round(2.4)</code> is <code>2.0</code>."
msgstr ""
#. type: \b; header
#: ../E/trunc.txt:1
#, no-wrap
msgid "Instruction <code>trunc</code>"
msgstr ""
#. type: Source code
#: ../E/trunc.txt:3
#, no-wrap
msgid "<c/>trunc ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:10
#, no-wrap
msgid "Truncated <code>value</code>. For example, <code>trunc(-2.5)</code> is <code>-2.00</code>."
msgstr ""
#. type: Plain text
#: ../E/round.txt:13
#, no-wrap
msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:4
#, no-wrap
msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor>floor();</a><n/> function, and for negative numbers, it works like the <c/><a cbot|ceil>ceil();</a><n/> function. It can be said that it rounds towards zero."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters."
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>)"
msgstr ""
#~ msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "x: <c/><a cbot|float>float</a>\\n (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
#~ msgstr ""
#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor\\n>floor();</a> function, and for negative numbers, it works like the <c/><a cbot|ceil\\n>ceil();</a> function. It can be said that it rounds towards zero."
#~ msgstr ""
#~ msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
#~ msgstr ""
#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/>\\latan();\\u cbot\\atan;<n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
#~ msgstr ""
#~ msgid "The instruction <c/>build();<n/> instructs the bot to build a building of the given <a cbot|category>category</a>. Currently works for <a bots|botgc>Grabbers</a>, <a object|human>Me</a> and <a object|tech>Tech</a>."
#~ msgstr ""

View File

@ -53,7 +53,7 @@ msgid "Time in seconds."
msgstr "Zeit in Sekunden."
#. type: \t; header
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#, no-wrap
msgid "See also"
msgstr "Siehe auch"
@ -1105,7 +1105,7 @@ msgid "Position towards which the robot must point."
msgstr "Position, auf die der Roboter ausgerichtet werden soll."
#. type: \t; header
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9
#, no-wrap
msgid "Return value: <code><a cbot|float>float</a></code>"
msgstr "Rückgabe: <code><a cbot|float>float</a></code>"
@ -1179,7 +1179,7 @@ msgid "For specialists"
msgstr "Für Spezialisten"
#. type: Plain text
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#, no-wrap
msgid "Syntax:"
msgstr "Syntax:"
@ -6433,23 +6433,17 @@ msgid "When controlling the robot through programming, the gun can be also turne
msgstr ""
#. type: \t; header
#: ../E/aim.txt:12 ../E/pow.txt:8
#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8
#, no-wrap
msgid "y: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15 ../E/pow.txt:5
#: ../E/atan2.txt:10 ../E/pow.txt:5
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:5
#, no-wrap
@ -6475,7 +6469,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)."
msgstr ""
#. type: Plain text
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#, no-wrap
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
@ -6493,7 +6487,7 @@ msgid "<c/>acos ( value );<n/>"
msgstr ""
#. type: \t; header
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6
#, no-wrap
msgid "value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -6529,7 +6523,7 @@ msgid "<c/>atan ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan.txt:6
#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7
#, no-wrap
msgid "Number."
msgstr ""
@ -6788,6 +6782,168 @@ msgstr ""
msgid "It helps to prevent errors in programs using the <c/><a cbot|build>build();</a><n/> instruction. Here is an example:"
msgstr ""
#. type: \b; header
#: ../E/atan2.txt:1
#, no-wrap
msgid "Instruction <code>atan2</code>"
msgstr ""
#. type: Source code
#: ../E/atan2.txt:3
#, no-wrap
msgid "<c/>atan2 ( y, x );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:14
#, no-wrap
msgid "Arcus tangent (in degrees) of <code>y/x</code>."
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:5
#, no-wrap
msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/><a cbot|atan>atan();</a><n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
msgstr ""
#. type: \b; header
#: ../E/ceil.txt:1
#, no-wrap
msgid "Instruction <code>ceil</code>"
msgstr ""
#. type: Source code
#: ../E/ceil.txt:3
#, no-wrap
msgid "<c/>ceil ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/floor.txt:4
#, no-wrap
msgid "Rounds down a number."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:10
#, no-wrap
msgid "Ceiling of the value, i.e. the smallest integer not less than <code>value</code>. For example, <code>ceil(2.1)</code> is <code>3.0</code>."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13
#, no-wrap
msgid "<a cbot|round>round</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: \b; header
#: ../E/floor.txt:1
#, no-wrap
msgid "Instruction <code>floor</code>"
msgstr ""
#. type: Source code
#: ../E/floor.txt:3
#, no-wrap
msgid "<c/>floor ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:4
#, no-wrap
msgid "Rounds up a number."
msgstr ""
#. type: Plain text
#: ../E/floor.txt:10
#, no-wrap
msgid "Floor of the value, i.e. the largest integer not greater than <code>value</code>. For example, <code>floor(2.9)</code> is <code>2.00</code>."
msgstr ""
#. type: \b; header
#: ../E/round.txt:1
#, no-wrap
msgid "Instruction <code>round</code>"
msgstr ""
#. type: Source code
#: ../E/round.txt:3
#, no-wrap
msgid "<c/>round ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/round.txt:4
#, no-wrap
msgid "Rounds a number."
msgstr ""
#. type: Plain text
#: ../E/round.txt:10
#, no-wrap
msgid "Rounded <code>value</code>. For example, <code>round(2.5)</code> is <code>3.0</code>, whereas <code>round(2.4)</code> is <code>2.0</code>."
msgstr ""
#. type: \b; header
#: ../E/trunc.txt:1
#, no-wrap
msgid "Instruction <code>trunc</code>"
msgstr ""
#. type: Source code
#: ../E/trunc.txt:3
#, no-wrap
msgid "<c/>trunc ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:10
#, no-wrap
msgid "Truncated <code>value</code>. For example, <code>trunc(-2.5)</code> is <code>-2.00</code>."
msgstr ""
#. type: Plain text
#: ../E/round.txt:13
#, no-wrap
msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:4
#, no-wrap
msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor>floor();</a><n/> function, and for negative numbers, it works like the <c/><a cbot|ceil>ceil();</a><n/> function. It can be said that it rounds towards zero."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters."
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>)"
msgstr ""
#~ msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "x: <c/><a cbot|float>float</a>\\n (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
#~ msgstr ""
#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor\\n>floor();</a> function, and for negative numbers, it works like the <c/><a cbot|ceil\\n>ceil();</a> function. It can be said that it rounds towards zero."
#~ msgstr ""
#~ msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
#~ msgstr ""
#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/>\\latan();\\u cbot\\atan;<n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
#~ msgstr ""
#~ msgid "The instruction <c/>build();<n/> instructs the bot to build a building of the given <a cbot|category>category</a>. Currently works for <a bots|botgc>Grabbers</a>, <a object|human>Me</a> and <a object|tech>Tech</a>."
#~ msgstr ""

View File

@ -53,7 +53,7 @@ msgid "Time in seconds."
msgstr "Temps en secondes."
#. type: \t; header
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#, no-wrap
msgid "See also"
msgstr "Voir aussi"
@ -1144,7 +1144,7 @@ msgid "Position towards which the robot must point."
msgstr "Position à atteindre."
#. type: \t; header
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9
#, no-wrap
msgid "Return value: <code><a cbot|float>float</a></code>"
msgstr "Valeur retournée: <code><a cbot|float>float</a></code>"
@ -1218,7 +1218,7 @@ msgid "For specialists"
msgstr "Pour spécialistes"
#. type: Plain text
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#, no-wrap
msgid "Syntax:"
msgstr "Syntaxe:"
@ -6389,23 +6389,17 @@ msgid "When controlling the robot through programming, the gun can be also turne
msgstr ""
#. type: \t; header
#: ../E/aim.txt:12 ../E/pow.txt:8
#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8
#, no-wrap
msgid "y: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15 ../E/pow.txt:5
#: ../E/atan2.txt:10 ../E/pow.txt:5
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:5
#, no-wrap
@ -6431,7 +6425,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)."
msgstr ""
#. type: Plain text
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#, no-wrap
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
@ -6449,7 +6443,7 @@ msgid "<c/>acos ( value );<n/>"
msgstr ""
#. type: \t; header
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6
#, no-wrap
msgid "value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -6485,7 +6479,7 @@ msgid "<c/>atan ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan.txt:6
#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7
#, no-wrap
msgid "Number."
msgstr ""
@ -6744,6 +6738,168 @@ msgstr ""
msgid "It helps to prevent errors in programs using the <c/><a cbot|build>build();</a><n/> instruction. Here is an example:"
msgstr ""
#. type: \b; header
#: ../E/atan2.txt:1
#, no-wrap
msgid "Instruction <code>atan2</code>"
msgstr ""
#. type: Source code
#: ../E/atan2.txt:3
#, no-wrap
msgid "<c/>atan2 ( y, x );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:14
#, no-wrap
msgid "Arcus tangent (in degrees) of <code>y/x</code>."
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:5
#, no-wrap
msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/><a cbot|atan>atan();</a><n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
msgstr ""
#. type: \b; header
#: ../E/ceil.txt:1
#, no-wrap
msgid "Instruction <code>ceil</code>"
msgstr ""
#. type: Source code
#: ../E/ceil.txt:3
#, no-wrap
msgid "<c/>ceil ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/floor.txt:4
#, no-wrap
msgid "Rounds down a number."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:10
#, no-wrap
msgid "Ceiling of the value, i.e. the smallest integer not less than <code>value</code>. For example, <code>ceil(2.1)</code> is <code>3.0</code>."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13
#, no-wrap
msgid "<a cbot|round>round</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: \b; header
#: ../E/floor.txt:1
#, no-wrap
msgid "Instruction <code>floor</code>"
msgstr ""
#. type: Source code
#: ../E/floor.txt:3
#, no-wrap
msgid "<c/>floor ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:4
#, no-wrap
msgid "Rounds up a number."
msgstr ""
#. type: Plain text
#: ../E/floor.txt:10
#, no-wrap
msgid "Floor of the value, i.e. the largest integer not greater than <code>value</code>. For example, <code>floor(2.9)</code> is <code>2.00</code>."
msgstr ""
#. type: \b; header
#: ../E/round.txt:1
#, no-wrap
msgid "Instruction <code>round</code>"
msgstr ""
#. type: Source code
#: ../E/round.txt:3
#, no-wrap
msgid "<c/>round ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/round.txt:4
#, no-wrap
msgid "Rounds a number."
msgstr ""
#. type: Plain text
#: ../E/round.txt:10
#, no-wrap
msgid "Rounded <code>value</code>. For example, <code>round(2.5)</code> is <code>3.0</code>, whereas <code>round(2.4)</code> is <code>2.0</code>."
msgstr ""
#. type: \b; header
#: ../E/trunc.txt:1
#, no-wrap
msgid "Instruction <code>trunc</code>"
msgstr ""
#. type: Source code
#: ../E/trunc.txt:3
#, no-wrap
msgid "<c/>trunc ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:10
#, no-wrap
msgid "Truncated <code>value</code>. For example, <code>trunc(-2.5)</code> is <code>-2.00</code>."
msgstr ""
#. type: Plain text
#: ../E/round.txt:13
#, no-wrap
msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:4
#, no-wrap
msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor>floor();</a><n/> function, and for negative numbers, it works like the <c/><a cbot|ceil>ceil();</a><n/> function. It can be said that it rounds towards zero."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters."
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>)"
msgstr ""
#~ msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "x: <c/><a cbot|float>float</a>\\n (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
#~ msgstr ""
#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor\\n>floor();</a> function, and for negative numbers, it works like the <c/><a cbot|ceil\\n>ceil();</a> function. It can be said that it rounds towards zero."
#~ msgstr ""
#~ msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
#~ msgstr ""
#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/>\\latan();\\u cbot\\atan;<n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
#~ msgstr ""
#~ msgid "The instruction <c/>build();<n/> instructs the bot to build a building of the given <a cbot|category>category</a>. Currently works for <a bots|botgc>Grabbers</a>, <a object|human>Me</a> and <a object|tech>Tech</a>."
#~ msgstr ""

View File

@ -53,7 +53,7 @@ msgid "Time in seconds."
msgstr "Czas w sekundach."
#. type: \t; header
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#, no-wrap
msgid "See also"
msgstr "Zobacz również"
@ -1155,7 +1155,7 @@ msgid "Position towards which the robot must point."
msgstr "Pozycja, w kierunku której ma być skierowany robot."
#. type: \t; header
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9
#, no-wrap
msgid "Return value: <code><a cbot|float>float</a></code>"
msgstr "Typ wyniku: <code><a cbot|float>float</a></code>"
@ -1229,7 +1229,7 @@ msgid "For specialists"
msgstr "Dla specjalistów"
#. type: Plain text
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#, no-wrap
msgid "Syntax:"
msgstr "Składnia:"
@ -6439,23 +6439,17 @@ msgid "When controlling the robot through programming, the gun can be also turne
msgstr ""
#. type: \t; header
#: ../E/aim.txt:12 ../E/pow.txt:8
#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8
#, no-wrap
msgid "y: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15 ../E/pow.txt:5
#: ../E/atan2.txt:10 ../E/pow.txt:5
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:5
#, no-wrap
@ -6481,7 +6475,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)."
msgstr ""
#. type: Plain text
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#, no-wrap
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
@ -6499,7 +6493,7 @@ msgid "<c/>acos ( value );<n/>"
msgstr ""
#. type: \t; header
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6
#, no-wrap
msgid "value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -6535,7 +6529,7 @@ msgid "<c/>atan ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan.txt:6
#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7
#, no-wrap
msgid "Number."
msgstr ""
@ -6794,6 +6788,168 @@ msgstr ""
msgid "It helps to prevent errors in programs using the <c/><a cbot|build>build();</a><n/> instruction. Here is an example:"
msgstr ""
#. type: \b; header
#: ../E/atan2.txt:1
#, no-wrap
msgid "Instruction <code>atan2</code>"
msgstr ""
#. type: Source code
#: ../E/atan2.txt:3
#, no-wrap
msgid "<c/>atan2 ( y, x );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:14
#, no-wrap
msgid "Arcus tangent (in degrees) of <code>y/x</code>."
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:5
#, no-wrap
msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/><a cbot|atan>atan();</a><n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
msgstr ""
#. type: \b; header
#: ../E/ceil.txt:1
#, no-wrap
msgid "Instruction <code>ceil</code>"
msgstr ""
#. type: Source code
#: ../E/ceil.txt:3
#, no-wrap
msgid "<c/>ceil ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/floor.txt:4
#, no-wrap
msgid "Rounds down a number."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:10
#, no-wrap
msgid "Ceiling of the value, i.e. the smallest integer not less than <code>value</code>. For example, <code>ceil(2.1)</code> is <code>3.0</code>."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13
#, no-wrap
msgid "<a cbot|round>round</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: \b; header
#: ../E/floor.txt:1
#, no-wrap
msgid "Instruction <code>floor</code>"
msgstr ""
#. type: Source code
#: ../E/floor.txt:3
#, no-wrap
msgid "<c/>floor ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:4
#, no-wrap
msgid "Rounds up a number."
msgstr ""
#. type: Plain text
#: ../E/floor.txt:10
#, no-wrap
msgid "Floor of the value, i.e. the largest integer not greater than <code>value</code>. For example, <code>floor(2.9)</code> is <code>2.00</code>."
msgstr ""
#. type: \b; header
#: ../E/round.txt:1
#, no-wrap
msgid "Instruction <code>round</code>"
msgstr ""
#. type: Source code
#: ../E/round.txt:3
#, no-wrap
msgid "<c/>round ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/round.txt:4
#, no-wrap
msgid "Rounds a number."
msgstr ""
#. type: Plain text
#: ../E/round.txt:10
#, no-wrap
msgid "Rounded <code>value</code>. For example, <code>round(2.5)</code> is <code>3.0</code>, whereas <code>round(2.4)</code> is <code>2.0</code>."
msgstr ""
#. type: \b; header
#: ../E/trunc.txt:1
#, no-wrap
msgid "Instruction <code>trunc</code>"
msgstr ""
#. type: Source code
#: ../E/trunc.txt:3
#, no-wrap
msgid "<c/>trunc ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:10
#, no-wrap
msgid "Truncated <code>value</code>. For example, <code>trunc(-2.5)</code> is <code>-2.00</code>."
msgstr ""
#. type: Plain text
#: ../E/round.txt:13
#, no-wrap
msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:4
#, no-wrap
msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor>floor();</a><n/> function, and for negative numbers, it works like the <c/><a cbot|ceil>ceil();</a><n/> function. It can be said that it rounds towards zero."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters."
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>)"
msgstr ""
#~ msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "x: <c/><a cbot|float>float</a>\\n (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
#~ msgstr ""
#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor\\n>floor();</a> function, and for negative numbers, it works like the <c/><a cbot|ceil\\n>ceil();</a> function. It can be said that it rounds towards zero."
#~ msgstr ""
#~ msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
#~ msgstr ""
#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/>\\latan();\\u cbot\\atan;<n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
#~ msgstr ""
#~ msgid "The instruction <c/>build();<n/> instructs the bot to build a building of the given <a cbot|category>category</a>. Currently works for <a bots|botgc>Grabbers</a>, <a object|human>Me</a> and <a object|tech>Tech</a>."
#~ msgstr ""

View File

@ -53,7 +53,7 @@ msgid "Time in seconds."
msgstr ""
#. type: \t; header
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19
#, no-wrap
msgid "See also"
msgstr "См. также"
@ -1154,7 +1154,7 @@ msgid "Position towards which the robot must point."
msgstr "Позиция, к которой робот должен повернуться."
#. type: \t; header
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10
#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9
#, no-wrap
msgid "Return value: <code><a cbot|float>float</a></code>"
msgstr "Возвращаемое значение: <code><a cbot|float>float</a></code>"
@ -1228,7 +1228,7 @@ msgid "For specialists"
msgstr "Для специалистов"
#. type: Plain text
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10
#, no-wrap
msgid "Syntax:"
msgstr "Синтаксис:"
@ -6401,23 +6401,17 @@ msgid "When controlling the robot through programming, the gun can be also turne
msgstr ""
#. type: \t; header
#: ../E/aim.txt:12 ../E/pow.txt:8
#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8
#, no-wrap
msgid "y: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15 ../E/pow.txt:5
#: ../E/atan2.txt:10 ../E/pow.txt:5
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code>"
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:5
#, no-wrap
@ -6443,7 +6437,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)."
msgstr ""
#. type: Plain text
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12
#, no-wrap
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
@ -6461,7 +6455,7 @@ msgid "<c/>acos ( value );<n/>"
msgstr ""
#. type: \t; header
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5
#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6
#, no-wrap
msgid "value: <code><a cbot|float>float</a></code>"
msgstr ""
@ -6497,7 +6491,7 @@ msgid "<c/>atan ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan.txt:6
#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7
#, no-wrap
msgid "Number."
msgstr ""
@ -6756,6 +6750,168 @@ msgstr ""
msgid "It helps to prevent errors in programs using the <c/><a cbot|build>build();</a><n/> instruction. Here is an example:"
msgstr ""
#. type: \b; header
#: ../E/atan2.txt:1
#, no-wrap
msgid "Instruction <code>atan2</code>"
msgstr ""
#. type: Source code
#: ../E/atan2.txt:3
#, no-wrap
msgid "<c/>atan2 ( y, x );<n/>"
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:14
#, no-wrap
msgid "Arcus tangent (in degrees) of <code>y/x</code>."
msgstr ""
#. type: Plain text
#: ../E/atan2.txt:5
#, no-wrap
msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/><a cbot|atan>atan();</a><n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
msgstr ""
#. type: \b; header
#: ../E/ceil.txt:1
#, no-wrap
msgid "Instruction <code>ceil</code>"
msgstr ""
#. type: Source code
#: ../E/ceil.txt:3
#, no-wrap
msgid "<c/>ceil ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/floor.txt:4
#, no-wrap
msgid "Rounds down a number."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:10
#, no-wrap
msgid "Ceiling of the value, i.e. the smallest integer not less than <code>value</code>. For example, <code>ceil(2.1)</code> is <code>3.0</code>."
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13
#, no-wrap
msgid "<a cbot|round>round</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: \b; header
#: ../E/floor.txt:1
#, no-wrap
msgid "Instruction <code>floor</code>"
msgstr ""
#. type: Source code
#: ../E/floor.txt:3
#, no-wrap
msgid "<c/>floor ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/ceil.txt:4
#, no-wrap
msgid "Rounds up a number."
msgstr ""
#. type: Plain text
#: ../E/floor.txt:10
#, no-wrap
msgid "Floor of the value, i.e. the largest integer not greater than <code>value</code>. For example, <code>floor(2.9)</code> is <code>2.00</code>."
msgstr ""
#. type: \b; header
#: ../E/round.txt:1
#, no-wrap
msgid "Instruction <code>round</code>"
msgstr ""
#. type: Source code
#: ../E/round.txt:3
#, no-wrap
msgid "<c/>round ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/round.txt:4
#, no-wrap
msgid "Rounds a number."
msgstr ""
#. type: Plain text
#: ../E/round.txt:10
#, no-wrap
msgid "Rounded <code>value</code>. For example, <code>round(2.5)</code> is <code>3.0</code>, whereas <code>round(2.4)</code> is <code>2.0</code>."
msgstr ""
#. type: \b; header
#: ../E/trunc.txt:1
#, no-wrap
msgid "Instruction <code>trunc</code>"
msgstr ""
#. type: Source code
#: ../E/trunc.txt:3
#, no-wrap
msgid "<c/>trunc ( value );<n/>"
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:10
#, no-wrap
msgid "Truncated <code>value</code>. For example, <code>trunc(-2.5)</code> is <code>-2.00</code>."
msgstr ""
#. type: Plain text
#: ../E/round.txt:13
#, no-wrap
msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
msgstr ""
#. type: Plain text
#: ../E/trunc.txt:4
#, no-wrap
msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor>floor();</a><n/> function, and for negative numbers, it works like the <c/><a cbot|ceil>ceil();</a><n/> function. It can be said that it rounds towards zero."
msgstr ""
#. type: Plain text
#: ../E/aim.txt:16
#, no-wrap
msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters."
msgstr ""
#. type: \t; header
#: ../E/aim.txt:15
#, no-wrap
msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>)"
msgstr ""
#~ msgid "x: <code><a cbot|float>float</a></code> (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "x: <c/><a cbot|float>float</a>\\n (default value: <code>0</code>);"
#~ msgstr ""
#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from <code>-40</code> to <code>+40</code> degrees for all shooters. This parameter is optional: if no value is provided, then <code>x = 0</code>."
#~ msgstr ""
#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the <c/><a cbot|floor\\n>floor();</a> function, and for negative numbers, it works like the <c/><a cbot|ceil\\n>ceil();</a> function. It can be said that it rounds towards zero."
#~ msgstr ""
#~ msgid "<a cbot|trunc>trunc</a>, <a cbot|floor>floor</a>, <a cbot|ceil>ceil</a>, <a cbot>programming</a>, <a cbot>programming</a>, <a cbot|type>types</a> and <a cbot|expr>expressions</a>."
#~ msgstr ""
#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument <c/>\\latan();\\u cbot\\atan;<n/> function. For example, consider a point <code>(-1, -1)</code>: <c/>atan(-1/-1);<n/> is <code>45.00</code> degrees, whereas <c/>atan2(-1, -1);<n/> is <code>-135.00</code> degrees, which is obviously more correct in this case."
#~ msgstr ""
#~ msgid "The instruction <c/>build();<n/> instructs the bot to build a building of the given <a cbot|category>category</a>. Currently works for <a bots|botgc>Grabbers</a>, <a object|human>Me</a> and <a object|tech>Tech</a>."
#~ msgstr ""

View File

@ -94,12 +94,17 @@ Constants like \l;categories\u cbot\category; are displayed with a red backgroun
\c;\l;rand\u cbot\rand; \n;Returns a random value
\c;\l;pow\u cbot\pow; \n;Returns a power
\c;\l;sqrt\u cbot\sqrt; \n;Returns a square root
\c;\l;floor\u cbot\floor; \n;Returns the largest previous integer
\c;\l;ceil\u cbot\ceil; \n;Returns the smallest following integer
\c;\l;round\u cbot\round; \n;Returns a rounded number
\c;\l;trunc\u cbot\trunc; \n;Returns a truncated number
\c;\l;sin\u cbot\sin; \n;Returns a sine
\c;\l;cos\u cbot\cos; \n;Returns a cosine
\c;\l;tan\u cbot\tan; \n;Returns a tangent
\c;\l;asin\u cbot\asin; \n;Returns an arcus sine
\c;\l;acos\u cbot\acos; \n;Returns an arcus cosine
\c;\l;atan\u cbot\atan; \n;Returns an arcus tangent
\c;\l;atan2\u cbot\atan2; \n;Returns an arcus tangent, has two arguments
\t;See also
\l;Types\u cbot\type; and \l;categories\u cbot\category;.

View File

@ -293,13 +293,13 @@ msgstr ""
"<code><a cbot|deletef>deletefile</a> </code>Löscht eine Datei"
#. type: \t; header
#: ../E/cbot.txt:104 ../E/freehelp.txt:4
#: ../E/cbot.txt:109 ../E/freehelp.txt:4
#, no-wrap
msgid "See also"
msgstr "Siehe auch"
#. type: Plain text
#: ../E/cbot.txt:105
#: ../E/cbot.txt:110
#, no-wrap
msgid "<a cbot|type>Types</a> and <a cbot|category>categories</a>."
msgstr "<a cbot|type>Variablentypen</a> und <a cbot|category>Kategorien</a>."
@ -596,21 +596,6 @@ msgstr "Die Colobot: Gold Edition Entwickler"
msgid "Mathematical functions:"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:48
#, no-wrap
@ -628,6 +613,55 @@ msgid ""
"<code><a cbot|buildingenabled>buildingenabled</a> </code>Checks if a building can be built in the level"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
"<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
"<code><a cbot|round>round</a> </code>Returns a rounded number\n"
"<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
"<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
#~ "<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
#~ "<code><a cbot|round>round</a> </code>Returns a rounded number\n"
#~ "<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
#~ "<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|grab>grab</a> </code>Picks up an object\n"
#~ "<code><a cbot|drop>drop</a> </code>Puts down an object\n"

View File

@ -306,13 +306,13 @@ msgstr ""
"<code><a cbot|deletef>deletefile</a> </code>Supprime un fichier"
#. type: \t; header
#: ../E/cbot.txt:104 ../E/freehelp.txt:4
#: ../E/cbot.txt:109 ../E/freehelp.txt:4
#, no-wrap
msgid "See also"
msgstr "Voir aussi"
#. type: Plain text
#: ../E/cbot.txt:105
#: ../E/cbot.txt:110
#, no-wrap
msgid "<a cbot|type>Types</a> and <a cbot|category>categories</a>."
msgstr "<a cbot|type>Types</a> et <a cbot|category>catégories</a>."
@ -592,21 +592,6 @@ msgstr ""
msgid "Mathematical functions:"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:48
#, no-wrap
@ -624,6 +609,55 @@ msgid ""
"<code><a cbot|buildingenabled>buildingenabled</a> </code>Checks if a building can be built in the level"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
"<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
"<code><a cbot|round>round</a> </code>Returns a rounded number\n"
"<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
"<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
#~ "<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
#~ "<code><a cbot|round>round</a> </code>Returns a rounded number\n"
#~ "<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
#~ "<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|grab>grab</a> </code>Picks up an object\n"
#~ "<code><a cbot|drop>drop</a> </code>Puts down an object\n"

View File

@ -239,13 +239,13 @@ msgid ""
msgstr ""
#. type: \t; header
#: ../E/cbot.txt:104 ../E/freehelp.txt:4
#: ../E/cbot.txt:109 ../E/freehelp.txt:4
#, no-wrap
msgid "See also"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:105
#: ../E/cbot.txt:110
#, no-wrap
msgid "<a cbot|type>Types</a> and <a cbot|category>categories</a>."
msgstr ""
@ -504,21 +504,6 @@ msgstr ""
msgid "Mathematical functions:"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:48
#, no-wrap
@ -536,6 +521,55 @@ msgid ""
"<code><a cbot|buildingenabled>buildingenabled</a> </code>Checks if a building can be built in the level"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
"<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
"<code><a cbot|round>round</a> </code>Returns a rounded number\n"
"<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
"<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
#~ "<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
#~ "<code><a cbot|round>round</a> </code>Returns a rounded number\n"
#~ "<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
#~ "<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|grab>grab</a> </code>Picks up an object\n"
#~ "<code><a cbot|drop>drop</a> </code>Puts down an object\n"

View File

@ -307,13 +307,13 @@ msgstr ""
"<code><a cbot|deletef>deletefile</a> </code>Usuwa plik"
#. type: \t; header
#: ../E/cbot.txt:104 ../E/freehelp.txt:4
#: ../E/cbot.txt:109 ../E/freehelp.txt:4
#, no-wrap
msgid "See also"
msgstr "Zobacz również"
#. type: Plain text
#: ../E/cbot.txt:105
#: ../E/cbot.txt:110
#, no-wrap
msgid "<a cbot|type>Types</a> and <a cbot|category>categories</a>."
msgstr "<a cbot|type>Typy</a> i <a cbot|category>kategorie</a>."
@ -598,21 +598,6 @@ msgstr ""
msgid "Mathematical functions:"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:48
#, no-wrap
@ -630,6 +615,55 @@ msgid ""
"<code><a cbot|buildingenabled>buildingenabled</a> </code>Checks if a building can be built in the level"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
"<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
"<code><a cbot|round>round</a> </code>Returns a rounded number\n"
"<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
"<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
#~ "<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
#~ "<code><a cbot|round>round</a> </code>Returns a rounded number\n"
#~ "<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
#~ "<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|grab>grab</a> </code>Picks up an object\n"
#~ "<code><a cbot|drop>drop</a> </code>Puts down an object\n"

View File

@ -251,13 +251,13 @@ msgid ""
msgstr ""
#. type: \t; header
#: ../E/cbot.txt:104 ../E/freehelp.txt:4
#: ../E/cbot.txt:109 ../E/freehelp.txt:4
#, no-wrap
msgid "See also"
msgstr "См. также"
#. type: Plain text
#: ../E/cbot.txt:105
#: ../E/cbot.txt:110
#, no-wrap
msgid "<a cbot|type>Types</a> and <a cbot|category>categories</a>."
msgstr ""
@ -542,21 +542,6 @@ msgstr ""
msgid "Mathematical functions:"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:48
#, no-wrap
@ -574,6 +559,55 @@ msgid ""
"<code><a cbot|buildingenabled>buildingenabled</a> </code>Checks if a building can be built in the level"
msgstr ""
#. type: Plain text
#: ../E/cbot.txt:94
#, no-wrap
msgid ""
"<code><a cbot|rand>rand</a> </code>Returns a random value\n"
"<code><a cbot|pow>pow</a> </code>Returns a power\n"
"<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
"<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
"<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
"<code><a cbot|round>round</a> </code>Returns a rounded number\n"
"<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
"<code><a cbot|sin>sin</a> </code>Returns a sine\n"
"<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
"<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
"<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
"<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
"<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
"<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|floor>floor</a> </code>Returns the largest previous integer\n"
#~ "<code><a cbot|ceil>ceil</a> </code>Returns the smallest following integer\n"
#~ "<code><a cbot|round>round</a> </code>Returns a rounded number\n"
#~ "<code><a cbot|trunc>trunc</a> </code>Returns a truncated number\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent\n"
#~ "<code><a cbot|atan2>atan2</a> </code>Returns an arcus tangent, has two arguments"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|rand>rand</a> </code>Returns a random value\n"
#~ "<code><a cbot|pow>pow</a> </code>Returns a power\n"
#~ "<code><a cbot|sqrt>sqrt</a> </code>Returns a square root\n"
#~ "<code><a cbot|sin>sin</a> </code>Returns a sine\n"
#~ "<code><a cbot|cos>cos</a> </code>Returns a cosine\n"
#~ "<code><a cbot|tan>tan</a> </code>Returns a tangent\n"
#~ "<code><a cbot|asin>asin</a> </code>Returns an arcus sine\n"
#~ "<code><a cbot|acos>acos</a> </code>Returns an arcus cosine\n"
#~ "<code><a cbot|atan>atan</a> </code>Returns an arcus tangent"
#~ msgstr ""
#~ msgid ""
#~ "<code><a cbot|grab>grab</a> </code>Picks up an object\n"
#~ "<code><a cbot|drop>drop</a> </code>Puts down an object\n"