0ad/source
Yves 20ed5b118c 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.
2013-10-20 17:13:53 +00:00
..
collada Delete bogus file 2013-09-14 12:19:22 +00:00
graphics Fix non-PCH build 2013-10-19 01:11:20 +00:00
gui Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
lib Avoid non-ASCII characters in source code, since tools don't decode them consistently. 2013-10-20 09:27:44 +00:00
maths Unify script conversions and remove JSInterface_Vector3D. 2013-10-20 17:13:53 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fixes hypothetical mem leak in network code (and an error in Cppcheck), patch by Riemer, fixes #2122 2013-10-10 23:46:42 +00:00
pch More build fixes for FreeBSD. 2012-01-31 00:06:56 +00:00
ps Unify script conversions and remove JSInterface_Vector3D. 2013-10-20 17:13:53 +00:00
renderer Use CStrIntern for font names to reduce lookup cost 2013-10-18 16:15:42 +00:00
scripting Unify script conversions and remove JSInterface_Vector3D. 2013-10-20 17:13:53 +00:00
scriptinterface Unify script conversions and remove JSInterface_Vector3D. 2013-10-20 17:13:53 +00:00
simulation2 Fix some Clang warnings about unused private members 2013-10-19 00:53:58 +00:00
soundmanager Remove useless error messages. 2013-10-20 01:47:16 +00:00
third_party Fix build warnings. Patch by Markus. Refs #1851. 2013-06-11 00:05:57 +00:00
tools Refactor text renderer 2013-10-18 15:53:07 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Fix typo 2013-10-13 11:41:30 +00:00
test_setup.cpp Adds UTF-8 support for JavaScript files. 2012-05-04 21:48:46 +00:00