The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
4.1KB

  1. /*
  2. * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
  3. *
  4. * This software is provided 'as-is', without any express or implied
  5. * warranty. In no event will the authors be held liable for any damages
  6. * arising from the use of this software.
  7. * Permission is granted to anyone to use this software for any purpose,
  8. * including commercial applications, and to alter it and redistribute it
  9. * freely, subject to the following restrictions:
  10. * 1. The origin of this software must not be misrepresented; you must not
  11. * claim that you wrote the original software. If you use this software
  12. * in a product, an acknowledgment in the product documentation would be
  13. * appreciated but is not required.
  14. * 2. Altered source versions must be plainly marked as such, and must not be
  15. * misrepresented as being the original software.
  16. * 3. This notice may not be removed or altered from any source distribution.
  17. */
  18. #include "../Framework/Test.h"
  19. #include "../Framework/Render.h"
  20. #ifdef __APPLE__
  21. #include <GLUT/glut.h>
  22. #else
  23. #include "freeglut/freeglut.h"
  24. #endif
  25. #include <cstring>
  26. using namespace std;
  27. #include "AddPair.h"
  28. #include "ApplyForce.h"
  29. #include "BodyTypes.h"
  30. #include "Breakable.h"
  31. #include "Bridge.h"
  32. #include "BulletTest.h"
  33. #include "Cantilever.h"
  34. #include "Car.h"
  35. #include "ContinuousTest.h"
  36. #include "Chain.h"
  37. #include "CharacterCollision.h"
  38. #include "CollisionFiltering.h"
  39. #include "CollisionProcessing.h"
  40. #include "CompoundShapes.h"
  41. #include "Confined.h"
  42. #include "DistanceTest.h"
  43. #include "Dominos.h"
  44. #include "DumpShell.h"
  45. #include "DynamicTreeTest.h"
  46. #include "EdgeShapes.h"
  47. #include "EdgeTest.h"
  48. #include "Gears.h"
  49. #include "OneSidedPlatform.h"
  50. #include "Pinball.h"
  51. #include "PolyCollision.h"
  52. #include "PolyShapes.h"
  53. #include "Prismatic.h"
  54. #include "Pulleys.h"
  55. #include "Pyramid.h"
  56. #include "RayCast.h"
  57. #include "Revolute.h"
  58. //#include "Rope.h"
  59. #include "RopeJoint.h"
  60. #include "SensorTest.h"
  61. #include "ShapeEditing.h"
  62. #include "SliderCrank.h"
  63. #include "SphereStack.h"
  64. #include "TheoJansen.h"
  65. #include "Tiles.h"
  66. #include "TimeOfImpact.h"
  67. #include "Tumbler.h"
  68. #include "VaryingFriction.h"
  69. #include "VaryingRestitution.h"
  70. #include "VerticalStack.h"
  71. #include "Web.h"
  72. TestEntry g_testEntries[] =
  73. {
  74. {"Tumbler", Tumbler::Create},
  75. {"Tiles", Tiles::Create},
  76. {"Dump Shell", DumpShell::Create},
  77. {"Gears", Gears::Create},
  78. {"Cantilever", Cantilever::Create},
  79. {"Varying Restitution", VaryingRestitution::Create},
  80. {"Character Collision", CharacterCollision::Create},
  81. {"Edge Test", EdgeTest::Create},
  82. {"Body Types", BodyTypes::Create},
  83. {"Shape Editing", ShapeEditing::Create},
  84. {"Car", Car::Create},
  85. {"Apply Force", ApplyForce::Create},
  86. {"Prismatic", Prismatic::Create},
  87. {"Vertical Stack", VerticalStack::Create},
  88. {"SphereStack", SphereStack::Create},
  89. {"Revolute", Revolute::Create},
  90. {"Pulleys", Pulleys::Create},
  91. {"Polygon Shapes", PolyShapes::Create},
  92. //{"Rope", Rope::Create},
  93. {"Web", Web::Create},
  94. {"RopeJoint", RopeJoint::Create},
  95. {"One-Sided Platform", OneSidedPlatform::Create},
  96. {"Pinball", Pinball::Create},
  97. {"Bullet Test", BulletTest::Create},
  98. {"Continuous Test", ContinuousTest::Create},
  99. {"Time of Impact", TimeOfImpact::Create},
  100. {"Ray-Cast", RayCast::Create},
  101. {"Confined", Confined::Create},
  102. {"Pyramid", Pyramid::Create},
  103. {"Theo Jansen's Walker", TheoJansen::Create},
  104. {"Edge Shapes", EdgeShapes::Create},
  105. {"PolyCollision", PolyCollision::Create},
  106. {"Bridge", Bridge::Create},
  107. {"Breakable", Breakable::Create},
  108. {"Chain", Chain::Create},
  109. {"Collision Filtering", CollisionFiltering::Create},
  110. {"Collision Processing", CollisionProcessing::Create},
  111. {"Compound Shapes", CompoundShapes::Create},
  112. {"Distance Test", DistanceTest::Create},
  113. {"Dominos", Dominos::Create},
  114. {"Dynamic Tree", DynamicTreeTest::Create},
  115. {"Sensor Test", SensorTest::Create},
  116. {"Slider Crank", SliderCrank::Create},
  117. {"Varying Friction", VaryingFriction::Create},
  118. {"Add Pair Stress Test", AddPair::Create},
  119. {NULL, NULL}
  120. };