فهرست منبع

Turns out we don't actually need a Canvas! Cool.

Daniel Buckmaster 11 سال پیش
والد
کامیت
e5bb218377
2فایلهای تغییر یافته به همراه2 افزوده شده و 18 حذف شده
  1. 1 9
      Templates/Empty/game/runTests.cs
  2. 1 9
      Templates/Full/game/runTests.cs

+ 1 - 9
Templates/Empty/game/runTests.cs

@@ -1,13 +1,5 @@
-new GuiControlProfile(GuiDefaultProfile);
-new GuiControlProfile(GuiToolTipProfile);
-new GuiCanvas(Canvas);
-function onLightManagerActivate() {}
-function onLightManagerDeactivate() {}
-Canvas.setWindowTitle("Torque 3D Unit Tests");
-new RenderPassManager(DiffuseRenderPassManager);
-setLightManager("Basic Lighting");
 setLogMode(2);
 $Con::LogBufferEnabled = false;
-$Testing::checkMemoryLeaks = false;
+$Testing::CheckMemoryLeaks = false;
 runAllUnitTests();
 quit();

+ 1 - 9
Templates/Full/game/runTests.cs

@@ -1,13 +1,5 @@
-new GuiControlProfile(GuiDefaultProfile);
-new GuiControlProfile(GuiToolTipProfile);
-new GuiCanvas(Canvas);
-function onLightManagerActivate() {}
-function onLightManagerDeactivate() {}
-Canvas.setWindowTitle("Torque 3D Unit Tests");
-new RenderPassManager(DiffuseRenderPassManager);
-setLightManager("Basic Lighting");
 setLogMode(2);
 $Con::LogBufferEnabled = false;
-$Testing::checkMemoryLeaks = false;
+$Testing::CheckMemoryLeaks = false;
 runAllUnitTests();
 quit();