ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
types [2017/07/09 16:09] korshuntypes [2019/04/20 00:17] (current) – removed korshun
Line 1: Line 1:
-====== 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 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. 
-  * ''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.