mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Add shorthand aliases for fixed-point functions
This commit is contained in:
parent
a5d228773d
commit
39a320734d
1 changed files with 12 additions and 0 deletions
|
@ -192,18 +192,30 @@ static luaL_Reg lib[] = {
|
|||
{"cos", lib_finecosine},
|
||||
{"tan", lib_finetangent},
|
||||
{"FixedAngle", lib_fixedangle},
|
||||
{"fixangle" , lib_fixedangle},
|
||||
{"AngleFixed", lib_anglefixed},
|
||||
{"anglefix" , lib_anglefixed},
|
||||
{"InvAngle", lib_invangle},
|
||||
{"FixedMul", lib_fixedmul},
|
||||
{"fixmul" , lib_fixedmul},
|
||||
{"FixedInt", lib_fixedint},
|
||||
{"fixint" , lib_fixedint},
|
||||
{"FixedDiv", lib_fixeddiv},
|
||||
{"fixdiv" , lib_fixeddiv},
|
||||
{"FixedRem", lib_fixedrem},
|
||||
{"fixrem" , lib_fixedrem},
|
||||
{"FixedSqrt", lib_fixedsqrt},
|
||||
{"fixsqrt" , lib_fixedsqrt},
|
||||
{"FixedHypot", lib_fixedhypot},
|
||||
{"fixhypot" , lib_fixedhypot},
|
||||
{"FixedFloor", lib_fixedfloor},
|
||||
{"fixfloor" , lib_fixedfloor},
|
||||
{"FixedTrunc", lib_fixedtrunc},
|
||||
{"fixtrunc" , lib_fixedtrunc},
|
||||
{"FixedCeil", lib_fixedceil},
|
||||
{"fixceil" , lib_fixedceil},
|
||||
{"FixedRound", lib_fixedround},
|
||||
{"fixround" , lib_fixedround},
|
||||
{"GetSecSpecial", lib_getsecspecial},
|
||||
{"All7Emeralds", lib_all7emeralds},
|
||||
{"ColorOpposite", lib_coloropposite},
|
||||
|
|
Loading…
Reference in a new issue