BMagnu
272d6261c4
Generic Lua Multiplayer RPC ( #4835 )
...
* Add automatic lua obj serialization function dispatch
* Implement fundamental and object de/serialization
* Proper default case for package deserialization
* Add No Multi func
* Add Serialization part
* Fix max encoding size for userdata
* Implement exception handling
* Start Implementing lua RPC
* Prepare waitAsync for RPC
* Add packet order enforcing and forwarding
* Add RPC registry
* Make RPCs callable
* Add waitRPC
* Add serializers
* Fix GCC error
* Explicitly specify lua_net_exception
* Fix Warnings
* Replace Seriliaze fundamental with cross-platform data types
* Appease Clang
* Prevent serialization CTD on invalid objects
* Actually use the temporaries assigned
* Fix OSWPT shadow
* Fix table deserialize order
* Incorporate Feedback
* Fix Warnigs
* ix WArnings 2
* Add sanity checks for OSWPT wing serialization
* Multi Bump
* Forgot we have american-style dates there
2023-03-28 03:07:03 +09:00
Goober5000
00746f1f92
add copy methods for matrixes and vectors
2022-09-26 18:43:50 -04:00
Goober5000
39b57cbf41
rotational interpolation
...
Add script support for rotational interpolation of matrixes (orientations) and vectors.
2022-09-06 21:48:03 -04:00
Goober5000
70039b0432
some small fixes
...
1) Fix set-scanned and set-unscanned to take multiple arguments as designed.
2) Fix documentation on the "perturb" scripting functions.
Fixes #3951
2022-01-23 02:49:00 -05:00
Baezon
643cb6a2be
update scripting functions
2021-03-14 15:37:43 -04:00
asarium
0fb712ed39
Add full type coverage for return types and variables
...
This introduces type parsing for all types used within the scripting
documentation. This improves the generated JSON output and also
validates new code via the unit test.
2021-02-26 22:37:37 +01:00
Goober5000
dd92a0f0bb
add vm_vec_is_normalized and use it in several places
2021-02-06 13:46:54 -05:00
Goober5000
e699d991d1
add useful function
2021-02-06 00:19:57 -05:00
Goober5000
67ea05fefd
add some vector scripting functions
...
createRandomVector
perturb (for vectors)
perturb (for matrixes)
randomInCircle
randomInSphere
2020-08-30 09:36:24 -04:00
Goober5000
d8012d4ff0
miscellaneous scripting and ship-destruction enhancements
2020-08-23 20:44:25 -04:00
Goober5000
6e40248490
add vector interpolation, sexp variable name, and joystick axis inversion
...
add several more vecmat functions to scripting
2020-07-23 14:43:02 -04:00
asarium
0d7ade0ca8
Validate scripting documentation type names
...
This will check if the type names specified in the argument lists of
scripting functions actually refer to valid type scripting names.
2020-06-24 17:52:33 +02:00
asarium
15db77d7fe
Add capability to have comments in scripting args
...
Putting something between /* and */ behind a parameter will make that
appear in the HTML and JSON output now.
2020-06-13 21:03:22 +02:00
asarium
4ca589a61c
Make Lua documentation generation more generic
...
This adds JSON as an additional scripting documentation output format.
This can be used by external tools to examine the scripting
documentation and generate interface declarations or documentation for
any language. The existing documentation code is left largely in place.
2019-12-01 12:53:51 +01:00
Goober5000
ae1e0c90fa
address feedback
2019-10-26 11:47:13 -04:00
Goober5000
d3c2b17ae9
actually this is correct
2019-10-25 15:01:02 -04:00
Goober5000
8a388accec
create matrixes from vectors
2019-10-25 01:12:10 -04:00
The_E
2180296f9c
When setting individual elements of a matrix through lua, we need to mark the matrix as either having out of date angles or out of date vectors.
2019-05-05 20:06:28 +02:00
asarium
88115c7703
Fix clang-tidy issues
2018-09-26 19:15:42 +02:00
asarium
8f4d51b14a
Convert ade_get_args to variadic template based solution
...
This maintains the type information which can be used for enforce
const-correctness and also for implementing more advanced ways of
handling the type information.
2018-09-26 19:15:42 +02:00
asarium
c17dcb1835
Move source files into category directories
2016-12-30 19:13:39 +01:00