mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 22:56:30 -10:00
This commit changes the way the scripting API works by properly using the newly available type information for moving the FSO resources into the memory supplied by lua. This has full support for rvalue references which will make it possible to use move-only types with the scripting API. This also makes the API much safer to use since it doesn't use pointers to local values anymore which made it very hard to use the API in a different context without causing issues. This only covers writing the FSO values to Lua. Getting values back is not covered yet.