y_stringize.inc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /**
  2. * <library name="y_scriptinit">
  3. * <section>
  4. * Description
  5. * </section>
  6. * This file provides "OnScriptInit" and "OnScriptExit" which are called at the
  7. * start and end of the current script, regardless of what the type of the
  8. * script is (note: doesn't support NPC modes). It also provides
  9. * "YSI_FILTERSCRIPT" as a (partial) replacement for "FILTERSCRIPT" which
  10. * detects what the mode is at runtime for a more reliable system (but it is a
  11. * run-time variable, not a compile-time constant).
  12. * <section>
  13. * Version
  14. * </section>
  15. * 1.0
  16. * </library>
  17. *//** *//*
  18. Now also provides OnCodeInit, which comes before OnScriptInit and should
  19. mostly be used for @emit code generation and other assembly related stuff
  20. (since it is called by the JIT if that exists).
  21. Legal:
  22. Version: MPL 1.1
  23. The contents of this file are subject to the Mozilla Public License Version
  24. 1.1 the "License"; you may not use this file except in compliance with
  25. the License. You may obtain a copy of the License at
  26. http://www.mozilla.org/MPL/
  27. Software distributed under the License is distributed on an "AS IS" basis,
  28. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  29. for the specific language governing rights and limitations under the
  30. License.
  31. The Original Code is the YSI framework.
  32. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  33. Portions created by the Initial Developer are Copyright C 2011
  34. the Initial Developer. All Rights Reserved.
  35. Contributors:
  36. Y_Less
  37. koolk
  38. JoeBullet/Google63
  39. g_aSlice/Slice
  40. Misiur
  41. samphunter
  42. tianmeta
  43. maddinat0r
  44. spacemud
  45. Crayder
  46. Dayvison
  47. Ahmad45123
  48. Zeex
  49. irinel1996
  50. Yiin-
  51. Chaprnks
  52. Konstantinos
  53. Masterchen09
  54. Southclaws
  55. PatchwerkQWER
  56. m0k1
  57. paulommu
  58. udan111
  59. Thanks:
  60. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  61. ZeeX - Very productive conversations.
  62. koolk - IsPlayerinAreaEx code.
  63. TheAlpha - Danish translation.
  64. breadfish - German translation.
  65. Fireburn - Dutch translation.
  66. yom - French translation.
  67. 50p - Polish translation.
  68. Zamaroht - Spanish translation.
  69. Los - Portuguese translation.
  70. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  71. me to strive to better.
  72. Pixels^ - Running XScripters where the idea was born.
  73. Matite - Pestering me to release it and using it.
  74. Very special thanks to:
  75. Thiadmer - PAWN, whose limits continue to amaze me!
  76. Kye/Kalcor - SA:MP.
  77. SA:MP Team past, present and future - SA:MP.
  78. Optional plugins:
  79. Gamer_Z - GPS.
  80. Incognito - Streamer.
  81. Me - sscanf2, fixes2, Whirlpool.
  82. */
  83. #if !defined _INC_y_stringise
  84. #tryinclude "y_stringise\y_stringise_entry"
  85. #endif
  86. #if !defined _INC_y_stringise
  87. #tryinclude "YSI_Data\y_stringise\y_stringise_entry"
  88. #endif
  89. #if !defined _INC_y_stringise
  90. #tryinclude "YSI\YSI_Data\y_stringise\y_stringise_entry"
  91. #endif
  92. #if !defined _INC_y_stringise
  93. #tryinclude <YSI_Data\y_stringise\y_stringise_entry>
  94. #endif
  95. #if !defined _INC_y_stringise
  96. #tryinclude <YSI\YSI_Data\y_stringise\y_stringise_entry>
  97. #endif
  98. #if !defined _INC_y_stringise
  99. #error Could not find y_stringise
  100. #endif