Mike Nelson and John Fernandez
880bfb11a7
Upgrade lua enumeration handling ( #7423 )
...
* upgrade lua enumeration handling
* some cleanup
* add lua enum descriptions
* minor fixes
* Update code/scripting/api/objs/enums.cpp
Co-authored-by: John Fernandez <[email protected] >
* include name
---------
Co-authored-by: John Fernandez <[email protected] >
2026-06-05 11:33:42 +02:00
Goober5000 and Claude Opus 4.6
3f85d6172a
use std::move() for local variables that are copied but not reused ( #7308 )
...
* use std::move() for local variables that are copied but not reused
Addresses ~140 Coverity "Variable copied when it could be moved"
defects across 74 files. Every std::move() targets a local variable
whose value is consumed by push_back, emplace, assignment, lambda
capture, or a function call and is never read again afterward.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected] >
* clang: use std::make_shared
* clang: use std::make_unique
* address feedback
---------
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected] >
2026-05-07 14:40:38 +09:00
Goober5000
ceee045b35
coverity: move instead of copy
2025-05-10 01:15:46 -04:00
Goober5000
ec241fcab3
standardize on isValid() and make validity member functions const
2024-02-26 15:56:41 -05:00
Sébastien Noel
f149c36b44
Fix a few typos ( #5598 )
2023-10-24 20:33:45 -04: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