Goober5000
d5e387479e
replace pointers with indexes in object_h
...
This refactors the object_h struct to store objects as indexes rather than pointers. This is a prerequisite for making the collection of objects dynamic in the future. See also #6100 .
Follow-up to #5800 and #5829 .
2024-06-09 02:06:22 -04:00
Goober5000
ec241fcab3
standardize on isValid() and make validity member functions const
2024-02-26 15:56:41 -05:00
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
BMagnu
55eab4c7e7
Add turnTowardsOrientation ( #4563 )
2022-08-21 08:24:39 -04:00
BMagnu
a44adde0e5
Followup improvement for the LuaAI AI Control Helper ( #4422 )
...
* Followup improvement for the LuaAI AI Control Helper
* Update docs
2022-06-18 18:31:50 +09:00
BMagnu
6b91a6210c
Properly set rotation data from LuaAI ( #4406 )
...
* Properly set rotation data from LuaAI
* Update Variable Name
2022-06-14 23:46:03 +00:00
BMagnu
5c4be3d392
LuaAI ( #4198 )
...
* Basic LuaAI
* LuaAI Player Order Support
* Add Player Order Target Restricts
* Fix init order
* Add AI helper API
* Fix subcategory stuff
* Fix Compiler Warnings
* Remove AI Mode switch Int3's
* Fix Lua docs
* Compiler warnings 2
* Clang Tidy
* Incorporate Feedback
* Incorporate Feedback 2
* Incorporate Feedback 3
* Incorporate Feedback 4
* Clang Tidy
2022-05-16 18:36:34 +09:00