Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| types [2016/04/24 21:38] – created korshun | types [2019/04/19 21:17] (current) – removed korshun |
|---|
| ====== Types ====== | |
| |
| Types supported by ACC: | |
| |
| * ''int'' -- a signed 32-bit integer, like `1` | |
| * ''str'' -- an ACS string, like `"Hello"` | |
| * ''bool'' -- a boolean value, either `true` or `false` | |
| |
| Types used in documentation but not supported by ACC: | |
| * ''fixed'' -- a fixed-point 16.16 integer, like `1.0` | |
| * ''num'' -- any kind of number, either `int` or `fixed` | |
| * ''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 [byte angles](http://zdoom.org/wiki/Definitions#Byte_angles). | |
| |