y_timers.inc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /**
  2. * <library name="y_timers">
  3. * <section>
  4. * Description
  5. * </section>
  6. * Sets up repeating timers without requiring any SetTimers and arranges them
  7. * so that they will be very unlikely to meet (at least for a long time) using
  8. * scheduling algorithms to get timers with the same period to be offset. Also
  9. * fixes arrays and strings in timers so they can be passed properly.
  10. * <section>
  11. * Version
  12. * </section>
  13. * 2.0
  14. * </library>
  15. *//** *//*
  16. Legal:
  17. Version: MPL 1.1
  18. The contents of this file are subject to the Mozilla Public License Version
  19. 1.1 the "License"; you may not use this file except in compliance with
  20. the License. You may obtain a copy of the License at
  21. http://www.mozilla.org/MPL/
  22. Software distributed under the License is distributed on an "AS IS" basis,
  23. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  24. for the specific language governing rights and limitations under the
  25. License.
  26. The Original Code is the YSI framework.
  27. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  28. Portions created by the Initial Developer are Copyright C 2011
  29. the Initial Developer. All Rights Reserved.
  30. Contributors:
  31. Y_Less
  32. koolk
  33. JoeBullet/Google63
  34. g_aSlice/Slice
  35. Misiur
  36. samphunter
  37. tianmeta
  38. maddinat0r
  39. spacemud
  40. Crayder
  41. Dayvison
  42. Ahmad45123
  43. Zeex
  44. irinel1996
  45. Yiin-
  46. Chaprnks
  47. Konstantinos
  48. Masterchen09
  49. Southclaws
  50. PatchwerkQWER
  51. m0k1
  52. paulommu
  53. udan111
  54. Thanks:
  55. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  56. ZeeX - Very productive conversations.
  57. koolk - IsPlayerinAreaEx code.
  58. TheAlpha - Danish translation.
  59. breadfish - German translation.
  60. Fireburn - Dutch translation.
  61. yom - French translation.
  62. 50p - Polish translation.
  63. Zamaroht - Spanish translation.
  64. Los - Portuguese translation.
  65. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  66. me to strive to better.
  67. Pixels^ - Running XScripters where the idea was born.
  68. Matite - Pestering me to release it and using it.
  69. Very special thanks to:
  70. Thiadmer - PAWN, whose limits continue to amaze me!
  71. Kye/Kalcor - SA:MP.
  72. SA:MP Team past, present and future - SA:MP.
  73. Optional plugins:
  74. Gamer_Z - GPS.
  75. Incognito - Streamer.
  76. Me - sscanf2, fixes2, Whirlpool.
  77. */
  78. #if !defined _INC_y_timers
  79. #tryinclude "y_timers\y_timers_entry"
  80. #endif
  81. #if !defined _INC_y_timers
  82. #tryinclude "YSI_Coding\y_timers\y_timers_entry"
  83. #endif
  84. #if !defined _INC_y_timers
  85. #tryinclude "YSI\YSI_Coding\y_timers\y_timers_entry"
  86. #endif
  87. #if !defined _INC_y_timers
  88. #tryinclude <YSI_Coding\y_timers\y_timers_entry>
  89. #endif
  90. #if !defined _INC_y_timers
  91. #tryinclude <YSI\YSI_Coding\y_timers\y_timers_entry>
  92. #endif
  93. #if !defined _INC_y_timers
  94. #error Could not find y_timers
  95. #endif