1
0

y_hooks.inc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #if defined _inc_y_hooks
  2. #undef _inc_y_hooks
  3. #endif
  4. // Multiple includes!
  5. #include "..\YSI_Internal\y_unique"
  6. #if defined _INC_y_hooks
  7. #endinput
  8. #endif
  9. #define _INC_y_hooks
  10. /**
  11. * <library name="y_hooks">
  12. * <section>
  13. * Description
  14. * </section>
  15. * Automatically hooks any callbacks with a very simple syntax.
  16. * <section>
  17. * Version
  18. * </section>
  19. * 2.0
  20. * </library>
  21. *//** *//*
  22. Legal:
  23. Version: MPL 1.1
  24. The contents of this file are subject to the Mozilla Public License Version
  25. 1.1 the "License"; you may not use this file except in compliance with
  26. the License. You may obtain a copy of the License at
  27. http://www.mozilla.org/MPL/
  28. Software distributed under the License is distributed on an "AS IS" basis,
  29. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  30. for the specific language governing rights and limitations under the
  31. License.
  32. The Original Code is the YSI framework.
  33. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  34. Portions created by the Initial Developer are Copyright C 2011
  35. the Initial Developer. All Rights Reserved.
  36. Contributors:
  37. Y_Less
  38. koolk
  39. JoeBullet/Google63
  40. g_aSlice/Slice
  41. Misiur
  42. samphunter
  43. tianmeta
  44. maddinat0r
  45. spacemud
  46. Crayder
  47. Dayvison
  48. Ahmad45123
  49. Zeex
  50. irinel1996
  51. Yiin-
  52. Chaprnks
  53. Konstantinos
  54. Masterchen09
  55. Southclaws
  56. PatchwerkQWER
  57. m0k1
  58. paulommu
  59. udan111
  60. Thanks:
  61. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  62. ZeeX - Very productive conversations.
  63. koolk - IsPlayerinAreaEx code.
  64. TheAlpha - Danish translation.
  65. breadfish - German translation.
  66. Fireburn - Dutch translation.
  67. yom - French translation.
  68. 50p - Polish translation.
  69. Zamaroht - Spanish translation.
  70. Los - Portuguese translation.
  71. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  72. me to strive to better.
  73. Pixels^ - Running XScripters where the idea was born.
  74. Matite - Pestering me to release it and using it.
  75. Very special thanks to:
  76. Thiadmer - PAWN, whose limits continue to amaze me!
  77. Kye/Kalcor - SA:MP.
  78. SA:MP Team past, present and future - SA:MP.
  79. Optional plugins:
  80. Gamer_Z - GPS.
  81. Incognito - Streamer.
  82. Me - sscanf2, fixes2, Whirlpool.
  83. */
  84. #if defined YSI_TESTS
  85. #define _Y_HOOKS_STATIC
  86. #else
  87. #define _Y_HOOKS_STATIC static
  88. #endif
  89. #include "y_hooks/macros"
  90. #include "..\YSI_Internal\y_unique"
  91. #include "..\YSI_Core\y_cell"
  92. #include "..\YSI_Core\y_utils"
  93. #include "..\YSI_Storage\y_amx"
  94. #include "..\YSI_Core\y_als"
  95. #include "..\YSI_Internal\y_cgen"
  96. #include "..\YSI_Internal\y_thirdpartyinclude"
  97. //asm"
  98. #include "y_hooks/impl"
  99. #if defined YSI_TESTS
  100. #include "..\YSI_Core\y_testing"
  101. #include "y_hooks/tests"
  102. // Get some new IDs.
  103. //#include "..\YSI_Internal\y_unique"
  104. #endif