mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-09 00:09:50 +00:00
Add vector prototype to vector-like return values from C++ to JS. Fixes #2394.
This was SVN commit r14645.
This commit is contained in:
1 parent
d677033c4c
commit
fd187f466f
5 files changed
+246
-145
No files matched your search
@@ -91,6 +91,9 @@ public:
|
||||
*/
|
||||
static shared_ptr<ScriptRuntime> CreateRuntime(int runtimeSize = DEFAULT_RUNTIME_SIZE);
|
||||
|
||||
CScriptValRooted vector2Dprototype;
|
||||
CScriptValRooted vector3Dprototype;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
* @param nativeScopeName Name of global object that functions (via RegisterFunction) will
|
||||
|
||||
Reference in new issue
Block a user