_override.inc 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /**--------------------------------------------------------------------------**\
  2. ===============================
  3. Y Sever Includes - Master Auto
  4. ===============================
  5. Description:
  6. Attempts to figure out from what library the current instance of the master
  7. system was included from.
  8. Legal:
  9. Version: MPL 1.1
  10. The contents of this file are subject to the Mozilla Public License Version
  11. 1.1 (the "License"); you may not use this file except in compliance with
  12. the License. You may obtain a copy of the License at
  13. http://www.mozilla.org/MPL/
  14. Software distributed under the License is distributed on an "AS IS" basis,
  15. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  16. for the specific language governing rights and limitations under the
  17. License.
  18. The Original Code is the YSI master include.
  19. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  20. Portions created by the Initial Developer are Copyright (C) 2011
  21. the Initial Developer. All Rights Reserved.
  22. Contributors:
  23. ZeeX, koolk, JoeBullet/Google63, g_aSlice/Slice
  24. Thanks:
  25. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  26. ZeeX - Very productive conversations.
  27. koolk - IsPlayerinAreaEx code.
  28. TheAlpha - Danish translation.
  29. breadfish - German translation.
  30. Fireburn - Dutch translation.
  31. yom - French translation.
  32. 50p - Polish translation.
  33. Zamaroht - Spanish translation.
  34. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes
  35. for me to strive to better.
  36. Pixels^ - Running XScripters where the idea was born.
  37. Matite - Pestering me to release it and using it.
  38. Very special thanks to:
  39. Thiadmer - PAWN, whose limits continue to amaze me!
  40. Kye/Kalcor - SA:MP.
  41. SA:MP Team past, present and future - SA:MP.
  42. Version:
  43. 0.1
  44. Changelog:
  45. 06/08/10:
  46. First version.
  47. Functions:
  48. Public:
  49. -
  50. Core:
  51. -
  52. Stock:
  53. -
  54. Static:
  55. -
  56. Inline:
  57. -
  58. API:
  59. -
  60. Hooks:
  61. -
  62. Callbacks:
  63. -
  64. Definitions:
  65. -
  66. Enums:
  67. -
  68. Macros:
  69. -
  70. Tags:
  71. -
  72. Variables:
  73. Global:
  74. -.
  75. Static:
  76. -
  77. Commands:
  78. -
  79. Compile options:
  80. -
  81. Operators:
  82. -
  83. Natives:
  84. -
  85. </remarks>
  86. \**--------------------------------------------------------------------------**/
  87. #undef _inc__override
  88. #if _YSIM_OVERRIDE == 0
  89. #define YSIM_STORED_SETTINGS YSIM_RECALL_0
  90. #define MASTER 0
  91. #elseif _YSIM_OVERRIDE == 1
  92. #define YSIM_STORED_SETTINGS YSIM_RECALL_1
  93. #define MASTER 1
  94. #elseif _YSIM_OVERRIDE == 2
  95. #define YSIM_STORED_SETTINGS YSIM_RECALL_2
  96. #define MASTER 2
  97. #elseif _YSIM_OVERRIDE == 3
  98. #define YSIM_STORED_SETTINGS YSIM_RECALL_3
  99. #define MASTER 3
  100. #elseif _YSIM_OVERRIDE == 4
  101. #define YSIM_STORED_SETTINGS YSIM_RECALL_4
  102. #define MASTER 4
  103. #elseif _YSIM_OVERRIDE == 5
  104. #define YSIM_STORED_SETTINGS YSIM_RECALL_5
  105. #define MASTER 5
  106. #elseif _YSIM_OVERRIDE == 6
  107. #define YSIM_STORED_SETTINGS YSIM_RECALL_6
  108. #define MASTER 6
  109. #elseif _YSIM_OVERRIDE == 7
  110. #define YSIM_STORED_SETTINGS YSIM_RECALL_7
  111. #define MASTER 7
  112. #elseif _YSIM_OVERRIDE == 8
  113. #define YSIM_STORED_SETTINGS YSIM_RECALL_8
  114. #define MASTER 8
  115. #elseif _YSIM_OVERRIDE == 9
  116. #define YSIM_STORED_SETTINGS YSIM_RECALL_9
  117. #define MASTER 9
  118. #elseif _YSIM_OVERRIDE == 10
  119. #define YSIM_STORED_SETTINGS YSIM_RECALL_10
  120. #define MASTER 10
  121. #elseif _YSIM_OVERRIDE == 11
  122. #define YSIM_STORED_SETTINGS YSIM_RECALL_11
  123. #define MASTER 11
  124. #elseif _YSIM_OVERRIDE == 12
  125. #define YSIM_STORED_SETTINGS YSIM_RECALL_12
  126. #define MASTER 12
  127. #elseif _YSIM_OVERRIDE == 13
  128. #define YSIM_STORED_SETTINGS YSIM_RECALL_13
  129. #define MASTER 13
  130. #elseif _YSIM_OVERRIDE == 14
  131. #define YSIM_STORED_SETTINGS YSIM_RECALL_14
  132. #define MASTER 14
  133. #elseif _YSIM_OVERRIDE == 15
  134. #define YSIM_STORED_SETTINGS YSIM_RECALL_15
  135. #define MASTER 15
  136. #elseif _YSIM_OVERRIDE == 16
  137. #define YSIM_STORED_SETTINGS YSIM_RECALL_16
  138. #define MASTER 16
  139. #elseif _YSIM_OVERRIDE == 17
  140. #define YSIM_STORED_SETTINGS YSIM_RECALL_17
  141. #define MASTER 17
  142. #elseif _YSIM_OVERRIDE == 18
  143. #define YSIM_STORED_SETTINGS YSIM_RECALL_18
  144. #define MASTER 18
  145. #elseif _YSIM_OVERRIDE == 19
  146. #define YSIM_STORED_SETTINGS YSIM_RECALL_19
  147. #define MASTER 19
  148. #elseif _YSIM_OVERRIDE == 20
  149. #define YSIM_STORED_SETTINGS YSIM_RECALL_20
  150. #define MASTER 20
  151. #elseif _YSIM_OVERRIDE == 21
  152. #define YSIM_STORED_SETTINGS YSIM_RECALL_21
  153. #define MASTER 21
  154. #elseif _YSIM_OVERRIDE == 22
  155. #define YSIM_STORED_SETTINGS YSIM_RECALL_22
  156. #define MASTER 22
  157. #elseif _YSIM_OVERRIDE == 23
  158. #define YSIM_STORED_SETTINGS YSIM_RECALL_23
  159. #define MASTER 23
  160. #elseif _YSIM_OVERRIDE == 24
  161. #define YSIM_STORED_SETTINGS YSIM_RECALL_24
  162. #define MASTER 24
  163. #elseif _YSIM_OVERRIDE == 25
  164. #define YSIM_STORED_SETTINGS YSIM_RECALL_25
  165. #define MASTER 25
  166. #endif