Przeglądaj źródła

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

Daniel Buckmaster 11 lat temu
rodzic
commit
e5bb218377

+ 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();