1
0

y_timers.inc 2.9 KB

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