Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
types [2016/04/25 00:48] – korshun | types [2017/04/15 18:01] – korshun |
---|
Types supported by ACC: | Types supported by ACC: |
* ''int'' -- a signed 32-bit integer, like ''1'' | * ''int'' -- a signed 32-bit integer, like ''1'' |
* ''str'' -- an ACS string, like ''"Hello"'' | * ''str'' -- an ACS string, like %%''"Hello"''%% |
* ''bool'' -- a boolean value, either ''true'' or ''false'' | * ''bool'' -- a boolean value, either ''true'' or ''false'' |
| |
* ''fixed'' -- a fixed-point 16.16 number, like ''1.0'' | * ''fixed'' -- a fixed-point 16.16 number, like ''1.0'' |
* ''num'' -- any kind of number, either ''int'' or ''fixed'', but do not mix different types of numbers in the same function call. | * ''num'' -- any kind of number, either ''int'' or ''fixed'', but do not mix different types of numbers in the same function call. |
* ''angle'' -- a [[http://zdoom.org/wiki/Definitions#Fixed_point_angles|fixed-point angle]], such angles are returned by [[http://zdoom.org/wiki/GetActorAngle|GetActorAngle()]] and [[http://zdoom.org/wiki/GetActorPitch|GetActorPitch()]] and accepted by [[http://zdoom.org/wiki/Sin|sin()]] and [[http://zdoom.org/wiki/Cos|cos()]]. **Not** the so called [[http://zdoom.org/wiki/Definitions#Byte_angles|byte angles]]. | * ''angle'' -- a [[zdoom>Definitions#Fixed_point_angles|fixed-point angle]], such angles are returned by [[zdoom>GetActorAngle]] and [[zdoom>GetActorPitch]] and accepted by [[zdoom>Sin]] and [[zdoom>Cos]]. **Not** the so called [[zdoom>Definitions#Byte_angles|byte angles]]. |
| * ''any'' -- any type. |
| |