z64555
b9d98a3aa3
Adds scripting support for VM_CAMERA_LOCKED and VM_CENTERING. VM_EXTERNAL_CAMERA_LOCKED is now a soft-state that is equal to (VM_EXTERNAL && VM_CAMERA_LOCKED)
2016-11-20 19:38:23 -06:00
z64555
5990dbce08
Actually Fixes Issue 965.
...
Previous fixed used a logical NOT (!) instead of a bitwise NOT (~), derp!
In addition, the LE_VM_INTERNAL state now ignores VM_CENTERING, so it won't go false if the camera is returning to center.
2016-11-20 19:30:43 -06:00
Fabian Woltermann
8fffa4b5e9
Merge pull request #1040 from asarium/lua/enums
...
Move sripting enums to own file
2016-11-14 22:13:02 +01:00
z64555
9d859066f7
Let LE_VM_INTERNAL ignore the state of VM_CAMERA_LOCKED, which should have gr.hasViewMode(VM_INTERNAL) return TRUE again.
2016-11-04 20:57:13 -05:00
asarium
a42e9ff90f
Move Enums to own file
...
Also added unit tests to check if enums exist and work as intended.
2016-10-14 09:50:30 +02:00
asarium
ecd7f61956
Sort the scripting documentation entries
2016-10-13 12:22:47 +02:00
asarium
11483057e5
Add unit tests
...
This also fixes the toggleBit function which was broken until now.
2016-10-13 12:22:47 +02:00
asarium
4382b577ae
Move BitOps scripting library into own file
2016-10-13 12:22:47 +02:00
Fabian Woltermann
fe6fafdbfb
Merge pull request #1008 from asarium/lua/vecmathApi
...
Move vecmath scripting functions into own file
2016-10-13 12:22:08 +02:00
DahBlount
0a22d601fd
Fix isWeaponUsed Description
2016-10-12 18:59:02 -06:00
DahBlount
214b2dc053
Fix comments, arguments, and initialize some vars
2016-10-12 15:10:42 -06:00
DahBlount
c323917db9
Splits up isWeaponUsed into two functions
2016-10-12 14:18:08 -06:00
DahBlount
5575e65eb6
Add isWeaponUsed scripting function
2016-10-12 14:18:08 -06:00
asarium
df40777e5f
Move vecmath scripting functions into own file
2016-10-04 15:09:52 +02:00
asarium
5535311087
Move ade functions into own files
2016-10-03 22:24:09 +02:00
asarium
6dbf200cc3
Move lua to scripting folder
2016-10-03 21:38:29 +02:00