mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Implement native extension system
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
This commit is contained in:
@@ -125,15 +125,6 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="right" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Multiplies an [int] and a [float]. The result is a [float].
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
@@ -143,6 +134,15 @@
|
||||
Multiplies two [int]s.
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="right" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Multiplies an [int] and a [float]. The result is a [float].
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator *" qualifiers="operator">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
@@ -203,16 +203,6 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Unary plus operator. Doesn't have any effect.
|
||||
[codeblock]
|
||||
var a = +1 # a is 1.
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator +" qualifiers="operator">
|
||||
<return type="float">
|
||||
</return>
|
||||
@@ -231,17 +221,6 @@
|
||||
Adds two integers.
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator -" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Unary minus operator. Negates the number.
|
||||
[codeblock]
|
||||
var a = -1 # a is -1.
|
||||
print(-a) # 1
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator -" qualifiers="operator">
|
||||
<return type="float">
|
||||
</return>
|
||||
@@ -414,6 +393,18 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator unary+" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator unary-" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator |" qualifiers="operator">
|
||||
<return type="int">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user