y_plugins.inc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #if defined _INC_y_plugins
  2. #endinput
  3. #endif
  4. #define _INC_y_plugins
  5. /*+
  6. * <library name="y_plugins">
  7. * <section>
  8. * Description
  9. * </section>
  10. * Configuration and detection for third-party SA:MP plugins (including
  11. * ones by Y_Less).
  12. * <section>
  13. * Version
  14. * </section>
  15. * 1.0
  16. * </library>
  17. *//** *//*
  18. Legal:
  19. Version: MPL 1.1
  20. The contents of this file are subject to the Mozilla Public License Version
  21. 1.1 the "License"; you may not use this file except in compliance with
  22. the License. You may obtain a copy of the License at
  23. http://www.mozilla.org/MPL/
  24. Software distributed under the License is distributed on an "AS IS" basis,
  25. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  26. for the specific language governing rights and limitations under the
  27. License.
  28. The Original Code is the YSI framework.
  29. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  30. Portions created by the Initial Developer are Copyright C 2011
  31. the Initial Developer. All Rights Reserved.
  32. Contributors:
  33. Y_Less
  34. koolk
  35. JoeBullet/Google63
  36. g_aSlice/Slice
  37. Misiur
  38. samphunter
  39. tianmeta
  40. maddinat0r
  41. spacemud
  42. Crayder
  43. Dayvison
  44. Ahmad45123
  45. Zeex
  46. irinel1996
  47. Yiin-
  48. Chaprnks
  49. Konstantinos
  50. Masterchen09
  51. Southclaws
  52. PatchwerkQWER
  53. m0k1
  54. paulommu
  55. udan111
  56. Thanks:
  57. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  58. ZeeX - Very productive conversations.
  59. koolk - IsPlayerinAreaEx code.
  60. TheAlpha - Danish translation.
  61. breadfish - German translation.
  62. Fireburn - Dutch translation.
  63. yom - French translation.
  64. 50p - Polish translation.
  65. Zamaroht - Spanish translation.
  66. Los - Portuguese translation.
  67. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  68. me to strive to better.
  69. Pixels^ - Running XScripters where the idea was born.
  70. Matite - Pestering me to release it and using it.
  71. Very special thanks to:
  72. Thiadmer - PAWN, whose limits continue to amaze me!
  73. Kye/Kalcor - SA:MP.
  74. SA:MP Team past, present and future - SA:MP.
  75. Optional plugins:
  76. Gamer_Z - GPS.
  77. Incognito - Streamer.
  78. Me - sscanf2, fixes2, Whirlpool.
  79. */
  80. // All the code in here relies on detecting FEATURES, not FILENAMES.
  81. #if defined Streamer_IncludeFileVersion
  82. #define _YSI_PLUGINS_STREAMER
  83. #if !defined IPS_MAX_OBJECTS
  84. #define IPS_MAX_OBJECTS (20000)
  85. #endif
  86. #if !defined IPS_MAX_PICKUPS
  87. #define IPS_MAX_PICKUPS (5000)
  88. #endif
  89. #if !defined IPS_MAX_CPS
  90. #define IPS_MAX_CPS (1000)
  91. #endif
  92. #if !defined IPS_MAX_RACE_CPS
  93. #define IPS_MAX_RACE_CPS (1000)
  94. #endif
  95. #if !defined IPS_MAX_MAP_ICONS
  96. #define IPS_MAX_MAP_ICONS (2000)
  97. #endif
  98. #if !defined IPS_MAX_3D_TEXT_LABELS
  99. #define IPS_MAX_3D_TEXT_LABELS (1000)
  100. #endif
  101. #if !defined IPS_MAX_AREAS
  102. #define IPS_MAX_AREAS (1000)
  103. #endif
  104. #include <streamer>
  105. #endif
  106. #if defined WP_Hash
  107. #define _YSI_PLUGINS_WHIRLPOOL
  108. #endif
  109. #if defined gps_AddPlayer
  110. #define _YSI_PLUGINS_GPS
  111. // This plugin was included later on in the script and found first time,
  112. // include it here in the second compile pass.
  113. #include <RouteConnector>
  114. #include "y_gamerzps"
  115. #endif
  116. #if defined SetTimerEx_
  117. #define _YSI_PLUGINS_FIXES_2
  118. #endif
  119. /*
  120. #if defined mysql_function_query
  121. // BlueG R7 MySQL
  122. #define _YSI_PLUGINS_MYSQL 7
  123. #elseif defined mysql_init
  124. // StrickenKid MySQL
  125. #define _YSI_PLUGINS_MYSQL 1
  126. #elseif defined mysql_debug
  127. // BlueG R5/R6 MySQL
  128. #define _YSI_PLUGINS_MYSQL 6
  129. #else
  130. // No MySQL
  131. */
  132. #define _YSI_PLUGINS_MYSQL 0
  133. /*
  134. #endif
  135. */