2
0

Polycode.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. Copyright (C) 2011 by Ivan Safrin
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in
  10. all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  17. THE SOFTWARE.
  18. */
  19. #pragma once
  20. #include "polycode/core/PolyString.h"
  21. #include "polycode/core/PolyData.h"
  22. #include "polycode/core/PolyObject.h"
  23. #include "polycode/core/PolyLogger.h"
  24. #include "polycode/core/PolyConfig.h"
  25. #include "polycode/core/PolyPerlin.h"
  26. #include "polycode/core/PolyEntity.h"
  27. #include "polycode/core/PolyEvent.h"
  28. #include "polycode/core/PolyEventDispatcher.h"
  29. #include "polycode/core/PolyEventHandler.h"
  30. #include "polycode/core/PolyResourceManager.h"
  31. #include "polycode/core/PolyCore.h"
  32. #include "polycode/core/PolyCoreInput.h"
  33. #include "polycode/core/PolyInputKeys.h"
  34. #include "polycode/core/PolyInputEvent.h"
  35. #include "polycode/core/PolyVector2.h"
  36. #include "polycode/core/PolyVector3.h"
  37. #include "polycode/core/PolyVector4.h"
  38. #include "polycode/core/PolyBezierCurve.h"
  39. #include "polycode/core/PolyQuaternionCurve.h"
  40. #include "polycode/core/PolyRectangle.h"
  41. #include "polycode/core/PolyRenderer.h"
  42. #include "polycode/core/PolyRenderDataArray.h"
  43. #include "polycode/core/PolyImage.h"
  44. #include "polycode/core/PolyLabel.h"
  45. #include "polycode/core/PolyFont.h"
  46. #include "polycode/core/PolyTexture.h"
  47. #include "polycode/core/PolyMaterial.h"
  48. #include "polycode/core/PolyMesh.h"
  49. #include "polycode/core/PolyShader.h"
  50. #include "polycode/core/PolyCamera.h"
  51. #include "polycode/core/PolyScene.h"
  52. #include "polycode/core/PolyEntity.h"
  53. #include "polycode/core/PolySceneMesh.h"
  54. #include "polycode/core/PolySceneLine.h"
  55. #include "polycode/core/PolySceneLight.h"
  56. #include "polycode/core/PolySkeleton.h"
  57. #include "polycode/core/PolyBone.h"
  58. #include "polycode/core/PolyScenePrimitive.h"
  59. #include "polycode/core/PolySceneLabel.h"
  60. #include "polycode/core/PolyParticleEmitter.h"
  61. #include "polycode/core/PolySceneRenderTexture.h"
  62. #include "polycode/core/PolyResource.h"
  63. #include "polycode/core/PolyThreaded.h"
  64. #include "polycode/core/PolySound.h"
  65. #include "polycode/core/PolySoundManager.h"
  66. #include "polycode/core/PolySceneSound.h"
  67. #include "polycode/core/PolyClient.h"
  68. #include "polycode/core/PolyPeer.h"
  69. #include "polycode/core/PolyServer.h"
  70. #include "polycode/core/PolyServerWorld.h"
  71. #include "polycode/core/PolySocket.h"
  72. #include "polycode/core/PolyRay.h"
  73. #include "polycode/core/PolySceneSprite.h"
  74. #include "polycode/core/PolySceneEntityInstance.h"
  75. #include "polycode/core/PolyScript.h"
  76. #include "polycode/core/PolyGlobals.h"
  77. #if defined(__APPLE__) && defined(__MACH__)
  78. #include <TargetConditionals.h>
  79. #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
  80. #include "polycode/core/PolyIOSCore.h"
  81. #endif
  82. #else
  83. #if defined(_WINDOWS) && !defined(_MINGW)
  84. #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PC_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
  85. #include "polycode/core/PolyUWPCore.h"
  86. #else
  87. #include "polycode/core/PolyWinCore.h"
  88. #endif
  89. #else
  90. #if defined(WINAPI_FAMILY)
  91. #include "polycode/core/PolyUWPCore.h"
  92. #else
  93. #ifdef RPI_CORE
  94. #include "polycode/core/PolyRPICore.h"
  95. #elif defined(__ANDROID__)
  96. #include "polycode/core/PolyAndroidCore.h"
  97. #else
  98. #ifdef EMSCRIPTEN
  99. #include "polycode/core/PolyEmscriptenCore.h"
  100. #else
  101. #include "polycode/core/PolySDLCore.h"
  102. #endif
  103. #endif
  104. #endif
  105. #endif
  106. #endif