enumerations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
enumerations [2020/03/09 11:29] – maxime | enumerations [2021/03/09 08:10] (current) – fixed raycast minotorious | ||
---|---|---|---|
Line 34: | Line 34: | ||
-- C equivalent: (1 << OBJECT_FLAG.TERRAIN) | (1 << OBJECT_FLAG.WATER) | (1 << OBJECT_FLAG.PLATFORM) | -- C equivalent: (1 << OBJECT_FLAG.TERRAIN) | (1 << OBJECT_FLAG.WATER) | (1 << OBJECT_FLAG.PLATFORM) | ||
local flag = bit.bor( | local flag = bit.bor( | ||
- | bit.lshift(1, | + | bit.lshift(1, |
- | bit.lshift(1, | + | bit.lshift(1, |
- | bit.lshift(1, | + | bit.lshift(1, |
) | ) | ||
Line 44: | Line 44: | ||
level: | level: | ||
</ | </ | ||
+ | |||
+ | ===== Dynamic enumerations ===== | ||
+ | |||
+ | For enumerations tagged as dynamic, you can add new values with the function '' | ||
+ | |||
+ | You can find more information on the '' |
enumerations.txt · Last modified: 2021/03/09 08:10 by minotorious