y_overridemaster.inc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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 SA:MP script information include.
  19. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  20. Portions created by the Initial Developer are Copyright (C) 2008
  21. the Initial Developer. All Rights Reserved.
  22. Contributors:
  23. ZeeX, koolk
  24. Thanks:
  25. Peter, Cam - Support.
  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.
  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. -*----------------------------------------------------------------------------*/
  86. #undef _inc_y_overridemaster
  87. #if _YSIM_OVERRIDE == 0
  88. #define YSIM_STORED_SETTINGS YSIM_RECALL_0
  89. #define MASTER 0
  90. #elseif _YSIM_OVERRIDE == 1
  91. #define YSIM_STORED_SETTINGS YSIM_RECALL_1
  92. #define MASTER 1
  93. #elseif _YSIM_OVERRIDE == 2
  94. #define YSIM_STORED_SETTINGS YSIM_RECALL_2
  95. #define MASTER 2
  96. #elseif _YSIM_OVERRIDE == 3
  97. #define YSIM_STORED_SETTINGS YSIM_RECALL_3
  98. #define MASTER 3
  99. #elseif _YSIM_OVERRIDE == 4
  100. #define YSIM_STORED_SETTINGS YSIM_RECALL_4
  101. #define MASTER 4
  102. #elseif _YSIM_OVERRIDE == 5
  103. #define YSIM_STORED_SETTINGS YSIM_RECALL_5
  104. #define MASTER 5
  105. #elseif _YSIM_OVERRIDE == 6
  106. #define YSIM_STORED_SETTINGS YSIM_RECALL_6
  107. #define MASTER 6
  108. #elseif _YSIM_OVERRIDE == 7
  109. #define YSIM_STORED_SETTINGS YSIM_RECALL_7
  110. #define MASTER 7
  111. #elseif _YSIM_OVERRIDE == 8
  112. #define YSIM_STORED_SETTINGS YSIM_RECALL_8
  113. #define MASTER 8
  114. #elseif _YSIM_OVERRIDE == 9
  115. #define YSIM_STORED_SETTINGS YSIM_RECALL_9
  116. #define MASTER 9
  117. #elseif _YSIM_OVERRIDE == 10
  118. #define YSIM_STORED_SETTINGS YSIM_RECALL_10
  119. #define MASTER 10
  120. #elseif _YSIM_OVERRIDE == 11
  121. #define YSIM_STORED_SETTINGS YSIM_RECALL_11
  122. #define MASTER 11
  123. #elseif _YSIM_OVERRIDE == 12
  124. #define YSIM_STORED_SETTINGS YSIM_RECALL_12
  125. #define MASTER 12
  126. #elseif _YSIM_OVERRIDE == 13
  127. #define YSIM_STORED_SETTINGS YSIM_RECALL_13
  128. #define MASTER 13
  129. #elseif _YSIM_OVERRIDE == 14
  130. #define YSIM_STORED_SETTINGS YSIM_RECALL_14
  131. #define MASTER 14
  132. #elseif _YSIM_OVERRIDE == 15
  133. #define YSIM_STORED_SETTINGS YSIM_RECALL_15
  134. #define MASTER 15
  135. #elseif _YSIM_OVERRIDE == 16
  136. #define YSIM_STORED_SETTINGS YSIM_RECALL_16
  137. #define MASTER 16
  138. #elseif _YSIM_OVERRIDE == 17
  139. #define YSIM_STORED_SETTINGS YSIM_RECALL_17
  140. #define MASTER 17
  141. #elseif _YSIM_OVERRIDE == 18
  142. #define YSIM_STORED_SETTINGS YSIM_RECALL_18
  143. #define MASTER 18
  144. #elseif _YSIM_OVERRIDE == 19
  145. #define YSIM_STORED_SETTINGS YSIM_RECALL_19
  146. #define MASTER 19
  147. #elseif _YSIM_OVERRIDE == 20
  148. #define YSIM_STORED_SETTINGS YSIM_RECALL_20
  149. #define MASTER 20
  150. #elseif _YSIM_OVERRIDE == 21
  151. #define YSIM_STORED_SETTINGS YSIM_RECALL_21
  152. #define MASTER 21
  153. #elseif _YSIM_OVERRIDE == 22
  154. #define YSIM_STORED_SETTINGS YSIM_RECALL_22
  155. #define MASTER 22
  156. #elseif _YSIM_OVERRIDE == 23
  157. #define YSIM_STORED_SETTINGS YSIM_RECALL_23
  158. #define MASTER 23
  159. #elseif _YSIM_OVERRIDE == 24
  160. #define YSIM_STORED_SETTINGS YSIM_RECALL_24
  161. #define MASTER 24
  162. #elseif _YSIM_OVERRIDE == 25
  163. #define YSIM_STORED_SETTINGS YSIM_RECALL_25
  164. #define MASTER 25
  165. #endif