Fixed epic bug in runtime.cpp causing non-Lua-owned objects to be released by Lua GC.

This commit is contained in:
rude
2009-09-05 16:14:52 +02:00
parent fea48f421c
commit 3c2bd1bd9c
12 changed files with 1038 additions and 10 deletions
+224
View File
@@ -183,6 +183,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\Body.h"
@@ -199,6 +207,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\CircleShape.h"
@@ -215,6 +231,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\Contact.h"
@@ -231,6 +255,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\DistanceJoint.h"
@@ -247,6 +279,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\GearJoint.h"
@@ -263,6 +303,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\Joint.h"
@@ -279,6 +327,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\MouseJoint.h"
@@ -295,6 +351,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\Physics.h"
@@ -311,6 +375,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\PolygonShape.h"
@@ -327,6 +399,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\PrismaticJoint.h"
@@ -343,6 +423,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\PulleyJoint.h"
@@ -359,6 +447,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\RevoluteJoint.h"
@@ -375,6 +471,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\Shape.h"
@@ -391,6 +495,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\World.h"
@@ -407,6 +519,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_Body.h"
@@ -423,6 +543,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_CircleShape.h"
@@ -439,6 +567,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_Contact.h"
@@ -455,6 +591,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_DistanceJoint.h"
@@ -471,6 +615,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_GearJoint.h"
@@ -487,6 +639,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_Joint.h"
@@ -503,6 +663,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_MouseJoint.h"
@@ -519,6 +687,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_Physics.h"
@@ -535,6 +711,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_PolygonShape.h"
@@ -551,6 +735,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_PrismaticJoint.h"
@@ -567,6 +759,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_PulleyJoint.h"
@@ -583,6 +783,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_RevoluteJoint.h"
@@ -599,6 +807,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_Shape.h"
@@ -615,6 +831,14 @@
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\physics\box2d\"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\src\modules\physics\box2d\wrap_World.h"