classref: Fix arg name for is_action_pressed/released

Also position TEXTURE_SPHERE constant properly.
This commit is contained in:
Rémi Verschelde 2016-07-08 23:07:09 +02:00
parent 288355afe9
commit a15de80942
3 changed files with 25 additions and 25 deletions

View File

@ -1667,8 +1667,8 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl
ADDFUNC0(INPUT_EVENT,BOOL,InputEvent,is_pressed,varray());
ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action,STRING,"action",varray());
ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_pressed,STRING,"is_action_pressed",varray());
ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_released,STRING,"is_action_released",varray());
ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_pressed,STRING,"action",varray());
ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_released,STRING,"action",varray());
ADDFUNC0(INPUT_EVENT,BOOL,InputEvent,is_echo,varray());
ADDFUNC2(INPUT_EVENT,NIL,InputEvent,set_as_action,STRING,"action",BOOL,"pressed",varray());

View File

@ -12874,8 +12874,6 @@
<constant name="PARAM_MAX" value="8">
Maximum amount of parameters.
</constant>
<constant name="TEXCOORD_SPHERE" value="3">
</constant>
<constant name="TEXCOORD_UV" value="0">
Read texture coordinates from the UV array.
</constant>
@ -12885,6 +12883,8 @@
<constant name="TEXCOORD_UV2" value="2">
Read texture coordinates from the UV2 array.
</constant>
<constant name="TEXCOORD_SPHERE" value="3">
</constant>
<constant name="FLAG_USE_ALPHA" value="0">
</constant>
<constant name="FLAG_USE_COLOR_ARRAY" value="1">
@ -15974,7 +15974,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -15982,7 +15982,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16062,7 +16062,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16070,7 +16070,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16142,7 +16142,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16150,7 +16150,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16228,7 +16228,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16236,7 +16236,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16312,7 +16312,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16320,7 +16320,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16408,7 +16408,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16416,7 +16416,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16516,7 +16516,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16524,7 +16524,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16630,7 +16630,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16638,7 +16638,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16730,7 +16730,7 @@
<method name="is_action_pressed">
<return type="bool">
</return>
<argument index="0" name="is_action_pressed" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>
@ -16738,7 +16738,7 @@
<method name="is_action_released">
<return type="bool">
</return>
<argument index="0" name="is_action_released" type="String">
<argument index="0" name="action" type="String">
</argument>
<description>
</description>

View File

@ -406,10 +406,10 @@ void FixedMaterial::_bind_methods() {
BIND_CONSTANT( PARAM_SHADE_PARAM );
BIND_CONSTANT( PARAM_MAX );
BIND_CONSTANT( TEXCOORD_SPHERE );
BIND_CONSTANT( TEXCOORD_UV );
BIND_CONSTANT( TEXCOORD_UV_TRANSFORM );
BIND_CONSTANT( TEXCOORD_UV2 );
BIND_CONSTANT( TEXCOORD_SPHERE );
BIND_CONSTANT( FLAG_USE_ALPHA );
BIND_CONSTANT( FLAG_USE_COLOR_ARRAY );