y_plugins.inc 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /*----------------------------------------------------------------------------*\
  2. ===================================
  3. y_plugins - Used plugin detection
  4. ===================================
  5. Description:
  6. Configuration and detection for third-party SA:MP plugins (including
  7. ones by Y_Less).
  8. Legal:
  9. Version: MPL 1.1
  10. The contents of this file are subject to the Mozilla Public License Version
  11. 1.1 (the "License"); you may not use this file except in compliance with
  12. the License. You may obtain a copy of the License at
  13. http://www.mozilla.org/MPL/
  14. Software distributed under the License is distributed on an "AS IS" basis,
  15. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  16. for the specific language governing rights and limitations under the
  17. License.
  18. The Original Code is the YSI groups include.
  19. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  20. Portions created by the Initial Developer are Copyright (C) 2011
  21. the Initial Developer. All Rights Reserved.
  22. Contributors:
  23. ZeeX, koolk, JoeBullet/Google63, g_aSlice/Slice
  24. Thanks:
  25. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  26. ZeeX - Very productive conversations.
  27. koolk - IsPlayerinAreaEx code.
  28. TheAlpha - Danish translation.
  29. breadfish - German translation.
  30. Fireburn - Dutch translation.
  31. yom - French translation.
  32. 50p - Polish translation.
  33. Zamaroht - Spanish translation.
  34. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes
  35. for me to strive to better.
  36. Pixels^ - Running XScripters where the idea was born.
  37. Matite - Pestering me to release it and using it.
  38. Very special thanks to:
  39. Thiadmer - PAWN, whose limits continue to amaze me!
  40. Kye/Kalcor - SA:MP.
  41. SA:MP Team past, present and future - SA:MP.
  42. Version:
  43. 1.0
  44. Changelog:
  45. 21/10/12:
  46. First version
  47. \*----------------------------------------------------------------------------*/
  48. // All the code in here relies on detecting FEATURES, not FILENAMES.
  49. #if defined Streamer_IncludeFileVersion
  50. #define _YSI_PLUGINS_STREAMER
  51. #if !defined IPS_MAX_OBJECTS
  52. #define IPS_MAX_OBJECTS (20000)
  53. #endif
  54. #if !defined IPS_MAX_PICKUPS
  55. #define IPS_MAX_PICKUPS (5000)
  56. #endif
  57. #if !defined IPS_MAX_CPS
  58. #define IPS_MAX_CPS (1000)
  59. #endif
  60. #if !defined IPS_MAX_RACE_CPS
  61. #define IPS_MAX_RACE_CPS (1000)
  62. #endif
  63. #if !defined IPS_MAX_MAP_ICONS
  64. #define IPS_MAX_MAP_ICONS (2000)
  65. #endif
  66. #if !defined IPS_MAX_3D_TEXT_LABELS
  67. #define IPS_MAX_3D_TEXT_LABELS (1000)
  68. #endif
  69. #if !defined IPS_MAX_AREAS
  70. #define IPS_MAX_AREAS (1000)
  71. #endif
  72. #endif
  73. #if defined WP_Hash
  74. #define _YSI_PLUGINS_WHIRLPOOL
  75. #endif
  76. /*
  77. #if defined mysql_function_query
  78. // BlueG R7 MySQL
  79. #define _YSI_PLUGINS_MYSQL 7
  80. #elseif defined mysql_init
  81. // StrickenKid MySQL
  82. #define _YSI_PLUGINS_MYSQL 1
  83. #elseif defined mysql_debug
  84. // BlueG R5/R6 MySQL
  85. #define _YSI_PLUGINS_MYSQL 6
  86. #else
  87. // No MySQL
  88. */
  89. #define _YSI_PLUGINS_MYSQL 0
  90. /*
  91. #endif
  92. */