y_zonepulse.inc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /**
  2. * <library name="y_zonepulse">
  3. * <section>
  4. * Description
  5. * </section>
  6. * Gradually fades a zone's colour between one colour and another, then back.
  7. * <section>
  8. * Version
  9. * </section>
  10. * 0.1
  11. * <section>
  12. * Functions
  13. * </section>
  14. * <subsection>
  15. * Public
  16. * </subsection><ul>
  17. * <symbol name="__GangZonePulse">The timer that does the hard work.</symbol>
  18. * </ul><subsection>
  19. * Stock
  20. * </subsection><ul>
  21. * <symbol name="GangZonePulse">Pulse a zone for player or collection of players.</symbol>
  22. * <symbol name="GangZonePulseForPlayer">Pulse a zone for a player.</symbol>
  23. * <symbol name="GangZonePulseForAll">Pulse a zone for everyone.</symbol>
  24. * <symbol name="GangZoneStopPulse">Stop a zone pulsing for a set of players.</symbol>
  25. * <symbol name="GangZoneStopPulseForPlayer">Stop a zone pulsing for a single player.</symbol>
  26. * <symbol name="GangZoneStopPulseForAll">Stop a zone pulsing for everyone.</symbol>
  27. * </ul><section>Compile options</section><ul>
  28. * <symbol name="ZONE_PULSE_STAGE_TIME">ms between each pulse frame.</symbol>
  29. * </ul>
  30. * </library>
  31. *//** *//*
  32. Legal:
  33. Version: MPL 1.1
  34. The contents of this file are subject to the Mozilla Public License Version
  35. 1.1 the "License"; you may not use this file except in compliance with
  36. the License. You may obtain a copy of the License at
  37. http://www.mozilla.org/MPL/
  38. Software distributed under the License is distributed on an "AS IS" basis,
  39. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  40. for the specific language governing rights and limitations under the
  41. License.
  42. The Original Code is the YSI framework.
  43. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  44. Portions created by the Initial Developer are Copyright C 2011
  45. the Initial Developer. All Rights Reserved.
  46. Contributors:
  47. Y_Less
  48. koolk
  49. JoeBullet/Google63
  50. g_aSlice/Slice
  51. Misiur
  52. samphunter
  53. tianmeta
  54. maddinat0r
  55. spacemud
  56. Crayder
  57. Dayvison
  58. Ahmad45123
  59. Zeex
  60. irinel1996
  61. Yiin-
  62. Chaprnks
  63. Konstantinos
  64. Masterchen09
  65. Southclaws
  66. PatchwerkQWER
  67. m0k1
  68. paulommu
  69. udan111
  70. Thanks:
  71. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  72. ZeeX - Very productive conversations.
  73. koolk - IsPlayerinAreaEx code.
  74. TheAlpha - Danish translation.
  75. breadfish - German translation.
  76. Fireburn - Dutch translation.
  77. yom - French translation.
  78. 50p - Polish translation.
  79. Zamaroht - Spanish translation.
  80. Los - Portuguese translation.
  81. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  82. me to strive to better.
  83. Pixels^ - Running XScripters where the idea was born.
  84. Matite - Pestering me to release it and using it.
  85. Very special thanks to:
  86. Thiadmer - PAWN, whose limits continue to amaze me!
  87. Kye/Kalcor - SA:MP.
  88. SA:MP Team past, present and future - SA:MP.
  89. Optional plugins:
  90. Gamer_Z - GPS.
  91. Incognito - Streamer.
  92. Me - sscanf2, fixes2, Whirlpool.
  93. */
  94. #if !defined _INC_y_zonepulse
  95. #tryinclude "y_zonepulse\y_zonepulse_entry"
  96. #endif
  97. #if !defined _INC_y_zonepulse
  98. #tryinclude "YSI_Visual\y_zonepulse\y_zonepulse_entry"
  99. #endif
  100. #if !defined _INC_y_zonepulse
  101. #tryinclude "YSI\YSI_Visual\y_zonepulse\y_zonepulse_entry"
  102. #endif
  103. #if !defined _INC_y_zonepulse
  104. #tryinclude <YSI_Visual\y_zonepulse\y_zonepulse_entry>
  105. #endif
  106. #if !defined _INC_y_zonepulse
  107. #tryinclude <YSI\YSI_Visual\y_zonepulse\y_zonepulse_entry>
  108. #endif
  109. #if !defined _INC_y_zonepulse
  110. #error Could not find y_zonepulse
  111. #endif