y_foreach.inc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /* *
  2. * *
  3. * _____ ______ ______ _ _ _ ______ ____ _____ *
  4. * / ____| ____| ____| (_) | | | | ____/ __ \| __ \ *
  5. * | (___ | |__ | |__ _ _ _| |_ ___ _ __ __ _| |_ ___ | |__ | | | | |__) | *
  6. * \___ \| __| | __| | | | | | | __/ _ \ '__/ _` | __/ _ \ | __|| | | | _ / *
  7. * ____) | |____| |____ | |_| | | | || __/ | | (_| | || __/ | | | |__| | | \ \ *
  8. * |_____/|______|______| \__, | |_|\__\___|_| \__,_|\__\___| |_| \____/|_| \_\ *
  9. * __/ |_____ *
  10. * _____ ____ _____ _ |___/______|______ _ _ _______ _______ _____ ____ _ _ *
  11. * | __ \ / __ \ / ____| | | | \/ | ____| \ | |__ __|/\|__ __|_ _/ __ \| \ | | *
  12. * | | | | | | | | | | | | \ / | |__ | \| | | | / \ | | | || | | | \| | *
  13. * | | | | | | | | | | | | |\/| | __| | . ` | | | / /\ \ | | | || | | | . ` | *
  14. * | |__| | |__| | |____| |__| | | | | |____| |\ | | |/ ____ \| | _| || |__| | |\ | *
  15. * |_____/ \____/ \_____|\____/|_| |_|______|_| \_| |_/_/ \_\_| |_____\____/|_| \_| *
  16. * *
  17. * I don't want to duplicate it (this file only exists for compatibility). *
  18. * *
  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. #if defined _inc_y_foreach
  83. #undef _inc_y_foreach
  84. #endif
  85. #if !defined _INC_y_iterate
  86. #tryinclude "y_foreach\y_foreach_entry"
  87. #endif
  88. #if !defined _INC_y_iterate
  89. #tryinclude "YSI_Data\y_foreach\y_foreach_entry"
  90. #endif
  91. #if !defined _INC_y_iterate
  92. #tryinclude "YSI\YSI_Data\y_foreach\y_foreach_entry"
  93. #endif
  94. #if !defined _INC_y_iterate
  95. #tryinclude <YSI_Data\y_foreach\y_foreach_entry>
  96. #endif
  97. #if !defined _INC_y_iterate
  98. #tryinclude <YSI\YSI_Data\y_foreach\y_foreach_entry>
  99. #endif
  100. #if !defined _INC_y_iterate
  101. #error Could not find y_iterate
  102. #endif