You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Sets given list of <aclass="reference internal" href="../enums/#button"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">Button</span></code></span></a> s (e.g. <codeclass="docutils literal notranslate"><spanclass="pre">TURN_LEFT</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">MOVE_FORWARD</span></code>) as available buttons.</p>
839
839
<p>Has no effect when the game is running.</p>
840
840
<p>Config key: <codeclass="docutils literal notranslate"><spanclass="pre">availableButtons</span></code>/<codeclass="docutils literal notranslate"><spanclass="pre">available_buttons</span></code> (list of values)</p>
841
-
<p>See also:</p>
842
-
<ulclass="simple">
843
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
If the given button has already been added, it will not be added again, but the maximum value will be overridden.</p>
865
861
<p>Has no effect when the game is running.</p>
866
862
<p>Config key: <codeclass="docutils literal notranslate"><spanclass="pre">availableButtons</span></code>/<codeclass="docutils literal notranslate"><spanclass="pre">available_buttons</span></code> (list of values)</p>
867
-
<p>See also:</p>
868
-
<ulclass="simple">
869
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
<p>Sets list of <aclass="reference internal" href="../enums/#gamevariable"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameVariable</span></code></span></a> s as available game variables in the <aclass="reference internal" href="../gameState/#gamestate"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameState</span></code></span></a> returned by <aclass="reference internal" href="#getstate"><spanclass="xref myst"><codeclass="docutils literal notranslate"><spanclass="pre">getState</span></code></span></a> method.</p>
1012
1004
<p>Has no effect when the game is running.</p>
1013
1005
<p>Config key: <codeclass="docutils literal notranslate"><spanclass="pre">availableGameVariables</span></code>/<codeclass="docutils literal notranslate"><spanclass="pre">available_game_variables</span></code> (list of values)</p>
1014
-
<p>See also:</p>
1015
-
<ulclass="simple">
1016
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
<p>Adds the specified <aclass="reference internal" href="../enums/#gamevariable"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameVariable</span></code></span></a> to the list of available game variables (e.g. <codeclass="docutils literal notranslate"><spanclass="pre">HEALTH</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">AMMO1</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">ATTACK_READY</span></code>) in the <aclass="reference internal" href="../gameState/#gamestate"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameState</span></code></span></a> returned by <aclass="reference internal" href="#getstate"><spanclass="xref myst"><codeclass="docutils literal notranslate"><spanclass="pre">getState</span></code></span></a> method.</p>
1037
1025
<p>Has no effect when the game is running.</p>
1038
1026
<p>Config key: <codeclass="docutils literal notranslate"><spanclass="pre">availableGameVariables</span></code>/<codeclass="docutils literal notranslate"><spanclass="pre">available_game_variables</span></code> (list of values)</p>
1039
-
<p>See also:</p>
1040
-
<ulclass="simple">
1041
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
<p>Clears the list of available <aclass="reference internal" href="../enums/#gamevariable"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameVariable</span></code></span></a> s that are included in the <aclass="reference internal" href="../gameState/#gamestate"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameState</span></code></span></a> returned by <aclass="reference internal" href="#getstate"><spanclass="xref myst"><codeclass="docutils literal notranslate"><spanclass="pre">getState</span></code></span></a> method.</p>
1062
1046
<p>Has no effect when the game is running.</p>
1063
-
<p>See also:</p>
1064
-
<ulclass="simple">
1065
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
<p>Returns the number of available <aclass="reference internal" href="../enums/#gamevariable"><spanclass="std std-ref"><codeclass="docutils literal notranslate"><spanclass="pre">GameVariable</span></code></span></a>.
1086
1066
It corresponds to taking the size of the list returned by <aclass="reference internal" href="#getavailablegamevariables"><spanclass="xref myst"><codeclass="docutils literal notranslate"><spanclass="pre">getAvailableGameVariables</span></code></span></a>.</p>
1087
-
<p>See also:</p>
1088
-
<ulclass="simple">
1089
-
<li><p><aclass="reference internal" href="../../configurationFiles/#list-of-values"><spanclass="std std-ref">Configuration files: List of values</span></a></p></li>
The method returns true if the whole configuration file was correctly read and applied,
1352
1328
false if the file contained errors.</p>
1353
1329
<p>If the file relative path is given, it will be searched for in the following order: <codeclass="docutils literal notranslate"><spanclass="pre"><current</span><spanclass="pre">directory></span></code>, <codeclass="docutils literal notranslate"><spanclass="pre"><current</span><spanclass="pre">directory>/scenarios/</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre"><ViZDoom</span><spanclass="pre">library</span><spanclass="pre">location>/scenarios/</span></code>.</p>
0 commit comments