3 Commits

Author SHA1 Message Date
Alexander 'z33ky' Hirsch
c9dd357470 Prevent return of dangling Vector/QAngle to VScript
When a Vector or QAngle rvalue reference is returned from a VScript
function, the constructed ScriptVariant_t must not store the pointer to
it since it is, per convention, a temporary reference. Only do that for
lvalue-references, but do a copy when constructing from or assigning a
rvalue reference.
2024-09-05 23:24:06 +02:00
Alexander 'z33ky' Hirsch
28e87ce3d2 Fix/Implement VScript FFI for GCC's virtual member functions 2021-03-20 19:21:53 +01:00
James Mitchell
d840c57b4a Integrating vscript interface code (based on Alien Swarm) 2020-05-04 16:25:15 +10:00