Unify script conversions and remove JSInterface_Vector3D.

Because it was historically grown, we have some duplicated code for
converting script types to native types.
This patch removes the file JSConversions.cpp and moves some code to
ScriptConversions.cpp.
The places using JSConversions.cpp are changed to use the
ScriptInterface's conversion functions in ScriptConversions.cpp.
I also removed JSInterface_Vector3D because it had additional
requirements to the conversion code that no other code has and because
it's currently not used. I think it doesn't make sense to maintain code
just because it could possibly be used again later.

Closes #2213
Refs #1886

This was SVN commit r14036.
This commit is contained in:
Yves
2013-10-20 17:13:53 +00:00
parent a4cd90ddfc
commit 20ed5b118c
9 changed files with 104 additions and 791 deletions
@@ -21,7 +21,6 @@
#include "ThreadDebugger.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "scripting/JSConversions.h"
CDebuggingServer* g_DebuggingServer = NULL;