gtdef.inc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. /*
  2. Legal:
  3. Version: MPL 1.1
  4. The contents of this file are subject to the Mozilla Public License Version
  5. 1.1 the "License"; you may not use this file except in compliance with
  6. the License. You may obtain a copy of the License at
  7. http://www.mozilla.org/MPL/
  8. Software distributed under the License is distributed on an "AS IS" basis,
  9. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  10. for the specific language governing rights and limitations under the
  11. License.
  12. The Original Code is the YSI framework.
  13. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  14. Portions created by the Initial Developer are Copyright C 2011
  15. the Initial Developer. All Rights Reserved.
  16. Contributors:
  17. Y_Less
  18. koolk
  19. JoeBullet/Google63
  20. g_aSlice/Slice
  21. Misiur
  22. samphunter
  23. tianmeta
  24. maddinat0r
  25. spacemud
  26. Crayder
  27. Dayvison
  28. Ahmad45123
  29. Zeex
  30. irinel1996
  31. Yiin-
  32. Chaprnks
  33. Konstantinos
  34. Masterchen09
  35. Southclaws
  36. PatchwerkQWER
  37. m0k1
  38. paulommu
  39. udan111
  40. Thanks:
  41. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  42. ZeeX - Very productive conversations.
  43. koolk - IsPlayerinAreaEx code.
  44. TheAlpha - Danish translation.
  45. breadfish - German translation.
  46. Fireburn - Dutch translation.
  47. yom - French translation.
  48. 50p - Polish translation.
  49. Zamaroht - Spanish translation.
  50. Los - Portuguese translation.
  51. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  52. me to strive to better.
  53. Pixels^ - Running XScripters where the idea was born.
  54. Matite - Pestering me to release it and using it.
  55. Very special thanks to:
  56. Thiadmer - PAWN, whose limits continue to amaze me!
  57. Kye/Kalcor - SA:MP.
  58. SA:MP Team past, present and future - SA:MP.
  59. Optional plugins:
  60. Gamer_Z - GPS.
  61. Incognito - Streamer.
  62. Me - sscanf2, fixes2, Whirlpool.
  63. */
  64. // These are the RGB values for the gametext colours (got manually using GIMP).
  65. // These need to be added in to the main system so you can type and use them.
  66. #define SAMP_GAME_TEXT 0x906210AA
  67. #define SAMP_GAME_TEXT_ 0x906210AA
  68. #define SAMP_GAME_TEXT_H 0xD89318AA
  69. #define SAMP_GAME_TEXT_HH 0xFFFF36AA
  70. #define SAMP_GAME_TEXT_X 0x906210AA
  71. #define SAMP_GAME_TEXT_XH 0xD89318AA
  72. #define SAMP_GAME_TEXT_XHH 0xFFFF36AA
  73. #define SAMP_GAME_TEXT_R 0xB4191DAA
  74. #define SAMP_GAME_TEXT_RH 0xFF252BAA
  75. #define SAMP_GAME_TEXT_RHH 0xFF3740AA
  76. #define SAMP_GAME_TEXT_RHHH 0xFF5260AA
  77. #define SAMP_GAME_TEXT_RHHHH 0xFF7B90AA
  78. #define SAMP_GAME_TEXT_RHHHHH 0xFFB8D8AA
  79. #define SAMP_GAME_TEXT_G 0x36682CAA
  80. #define SAMP_GAME_TEXT_GH 0x519C42AA
  81. #define SAMP_GAME_TEXT_GHH 0x79EA63AA
  82. #define SAMP_GAME_TEXT_GHHH 0xB5FF94AA
  83. #define SAMP_GAME_TEXT_GHHHH 0xFFFFDEAA
  84. #define SAMP_GAME_TEXT_B 0x323C7FAA
  85. #define SAMP_GAME_TEXT_BH 0x4B5ABEAA
  86. #define SAMP_GAME_TEXT_BHH 0x7087FFAA
  87. #define SAMP_GAME_TEXT_BHHH 0xA8CAFFAA
  88. #define SAMP_GAME_TEXT_Y 0xE2C063AA
  89. #define SAMP_GAME_TEXT_YH 0xFFFF94AA
  90. #define SAMP_GAME_TEXT_YHH 0xFFFFDEAA
  91. #define SAMP_GAME_TEXT_P 0xA86EFCAA
  92. #define SAMP_GAME_TEXT_PH 0xFCA5FFAA
  93. #define SAMP_GAME_TEXT_PHH 0xFFF7FFAA
  94. #define SAMP_GAME_TEXT_W 0xFFFFFFAA
  95. #define SAMP_GAME_TEXT_L 0x000000AA
  96. // Second spellings.
  97. #define SAMP_GAMETEXT 0x906210AA
  98. #define SAMP_GAMETEXT_ 0x906210AA
  99. #define SAMP_GAMETEXT_H 0xD89318AA
  100. #define SAMP_GAMETEXT_HH 0xFFFF36AA
  101. #define SAMP_GAMETEXT_X 0x906210AA
  102. #define SAMP_GAMETEXT_XH 0xD89318AA
  103. #define SAMP_GAMETEXT_XHH 0xFFFF36AA
  104. #define SAMP_GAMETEXT_R 0xB4191DAA
  105. #define SAMP_GAMETEXT_RH 0xFF252BAA
  106. #define SAMP_GAMETEXT_RHH 0xFF3740AA
  107. #define SAMP_GAMETEXT_RHHH 0xFF5260AA
  108. #define SAMP_GAMETEXT_RHHHH 0xFF7B90AA
  109. #define SAMP_GAMETEXT_RHHHHH 0xFFB8D8AA
  110. #define SAMP_GAMETEXT_G 0x36682CAA
  111. #define SAMP_GAMETEXT_GH 0x519C42AA
  112. #define SAMP_GAMETEXT_GHH 0x79EA63AA
  113. #define SAMP_GAMETEXT_GHHH 0xB5FF94AA
  114. #define SAMP_GAMETEXT_GHHHH 0xFFFFDEAA
  115. #define SAMP_GAMETEXT_B 0x323C7FAA
  116. #define SAMP_GAMETEXT_BH 0x4B5ABEAA
  117. #define SAMP_GAMETEXT_BHH 0x7087FFAA
  118. #define SAMP_GAMETEXT_BHHH 0xA8CAFFAA
  119. #define SAMP_GAMETEXT_Y 0xE2C063AA
  120. #define SAMP_GAMETEXT_YH 0xFFFF94AA
  121. #define SAMP_GAMETEXT_YHH 0xFFFFDEAA
  122. #define SAMP_GAMETEXT_P 0xA86EFCAA
  123. #define SAMP_GAMETEXT_PH 0xFCA5FFAA
  124. #define SAMP_GAMETEXT_PHH 0xFFF7FFAA
  125. #define SAMP_GAMETEXT_W 0xFFFFFFAA
  126. #define SAMP_GAMETEXT_L 0x000000AA
  127. // Third spellings.
  128. #define SAMP_GT 0x906210AA
  129. #define SAMP_GT_ 0x906210AA
  130. #define SAMP_GT_H 0xD89318AA
  131. #define SAMP_GT_HH 0xFFFF36AA
  132. #define SAMP_GT_X 0x906210AA
  133. #define SAMP_GT_XH 0xD89318AA
  134. #define SAMP_GT_XHH 0xFFFF36AA
  135. #define SAMP_GT_R 0xB4191DAA
  136. #define SAMP_GT_RH 0xFF252BAA
  137. #define SAMP_GT_RHH 0xFF3740AA
  138. #define SAMP_GT_RHHH 0xFF5260AA
  139. #define SAMP_GT_RHHHH 0xFF7B90AA
  140. #define SAMP_GT_RHHHHH 0xFFB8D8AA
  141. #define SAMP_GT_G 0x36682CAA
  142. #define SAMP_GT_GH 0x519C42AA
  143. #define SAMP_GT_GHH 0x79EA63AA
  144. #define SAMP_GT_GHHH 0xB5FF94AA
  145. #define SAMP_GT_GHHHH 0xFFFFDEAA
  146. #define SAMP_GT_B 0x323C7FAA
  147. #define SAMP_GT_BH 0x4B5ABEAA
  148. #define SAMP_GT_BHH 0x7087FFAA
  149. #define SAMP_GT_BHHH 0xA8CAFFAA
  150. #define SAMP_GT_Y 0xE2C063AA
  151. #define SAMP_GT_YH 0xFFFF94AA
  152. #define SAMP_GT_YHH 0xFFFFDEAA
  153. #define SAMP_GT_P 0xA86EFCAA
  154. #define SAMP_GT_PH 0xFCA5FFAA
  155. #define SAMP_GT_PHH 0xFFF7FFAA
  156. #define SAMP_GT_W 0xFFFFFFAA
  157. #define SAMP_GT_L 0x000000AA
  158. #define SAMP_GAME_TEXT_h 0xD89318AA
  159. #define SAMP_GAME_TEXT_hh 0xFFFF36AA
  160. #define SAMP_GAME_TEXT_x 0x906210AA
  161. #define SAMP_GAME_TEXT_xh 0xD89318AA
  162. #define SAMP_GAME_TEXT_xhh 0xFFFF36AA
  163. #define SAMP_GAME_TEXT_r 0xB4191DAA
  164. #define SAMP_GAME_TEXT_rh 0xFF252BAA
  165. #define SAMP_GAME_TEXT_rhh 0xFF3740AA
  166. #define SAMP_GAME_TEXT_rhhh 0xFF5260AA
  167. #define SAMP_GAME_TEXT_rhhhh 0xFF7B90AA
  168. #define SAMP_GAME_TEXT_rhhhhh 0xFFB8D8AA
  169. #define SAMP_GAME_TEXT_g 0x36682CAA
  170. #define SAMP_GAME_TEXT_gh 0x519C42AA
  171. #define SAMP_GAME_TEXT_ghh 0x79EA63AA
  172. #define SAMP_GAME_TEXT_ghhh 0xB5FF94AA
  173. #define SAMP_GAME_TEXT_ghhhh 0xFFFFDEAA
  174. #define SAMP_GAME_TEXT_b 0x323C7FAA
  175. #define SAMP_GAME_TEXT_bh 0x4B5ABEAA
  176. #define SAMP_GAME_TEXT_bhh 0x7087FFAA
  177. #define SAMP_GAME_TEXT_bhhh 0xA8CAFFAA
  178. #define SAMP_GAME_TEXT_y 0xE2C063AA
  179. #define SAMP_GAME_TEXT_yh 0xFFFF94AA
  180. #define SAMP_GAME_TEXT_yhh 0xFFFFDEAA
  181. #define SAMP_GAME_TEXT_p 0xA86EFCAA
  182. #define SAMP_GAME_TEXT_ph 0xFCA5FFAA
  183. #define SAMP_GAME_TEXT_phh 0xFFF7FFAA
  184. #define SAMP_GAME_TEXT_w 0xFFFFFFAA
  185. #define SAMP_GAME_TEXT_l 0x000000AA
  186. // Second spellings.
  187. #define SAMP_GAMETEXT_h 0xD89318AA
  188. #define SAMP_GAMETEXT_hh 0xFFFF36AA
  189. #define SAMP_GAMETEXT_x 0x906210AA
  190. #define SAMP_GAMETEXT_xh 0xD89318AA
  191. #define SAMP_GAMETEXT_xhh 0xFFFF36AA
  192. #define SAMP_GAMETEXT_r 0xB4191DAA
  193. #define SAMP_GAMETEXT_rh 0xFF252BAA
  194. #define SAMP_GAMETEXT_rhh 0xFF3740AA
  195. #define SAMP_GAMETEXT_rhhh 0xFF5260AA
  196. #define SAMP_GAMETEXT_rhhhh 0xFF7B90AA
  197. #define SAMP_GAMETEXT_rhhhhh 0xFFB8D8AA
  198. #define SAMP_GAMETEXT_g 0x36682CAA
  199. #define SAMP_GAMETEXT_gh 0x519C42AA
  200. #define SAMP_GAMETEXT_ghh 0x79EA63AA
  201. #define SAMP_GAMETEXT_ghhh 0xB5FF94AA
  202. #define SAMP_GAMETEXT_ghhhh 0xFFFFDEAA
  203. #define SAMP_GAMETEXT_b 0x323C7FAA
  204. #define SAMP_GAMETEXT_bh 0x4B5ABEAA
  205. #define SAMP_GAMETEXT_bhh 0x7087FFAA
  206. #define SAMP_GAMETEXT_bhhh 0xA8CAFFAA
  207. #define SAMP_GAMETEXT_y 0xE2C063AA
  208. #define SAMP_GAMETEXT_yh 0xFFFF94AA
  209. #define SAMP_GAMETEXT_yhh 0xFFFFDEAA
  210. #define SAMP_GAMETEXT_p 0xA86EFCAA
  211. #define SAMP_GAMETEXT_ph 0xFCA5FFAA
  212. #define SAMP_GAMETEXT_phh 0xFFF7FFAA
  213. #define SAMP_GAMETEXT_w 0xFFFFFFAA
  214. #define SAMP_GAMETEXT_l 0x000000AA
  215. // Third spellings.
  216. #define SAMP_GT_h 0xD89318AA
  217. #define SAMP_GT_hh 0xFFFF36AA
  218. #define SAMP_GT_x 0x906210AA
  219. #define SAMP_GT_xh 0xD89318AA
  220. #define SAMP_GT_xhh 0xFFFF36AA
  221. #define SAMP_GT_r 0xB4191DAA
  222. #define SAMP_GT_rh 0xFF252BAA
  223. #define SAMP_GT_rhh 0xFF3740AA
  224. #define SAMP_GT_rhhh 0xFF5260AA
  225. #define SAMP_GT_rhhhh 0xFF7B90AA
  226. #define SAMP_GT_rhhhhh 0xFFB8D8AA
  227. #define SAMP_GT_g 0x36682CAA
  228. #define SAMP_GT_gh 0x519C42AA
  229. #define SAMP_GT_ghh 0x79EA63AA
  230. #define SAMP_GT_ghhh 0xB5FF94AA
  231. #define SAMP_GT_ghhhh 0xFFFFDEAA
  232. #define SAMP_GT_b 0x323C7FAA
  233. #define SAMP_GT_bh 0x4B5ABEAA
  234. #define SAMP_GT_bhh 0x7087FFAA
  235. #define SAMP_GT_bhhh 0xA8CAFFAA
  236. #define SAMP_GT_y 0xE2C063AA
  237. #define SAMP_GT_yh 0xFFFF94AA
  238. #define SAMP_GT_yhh 0xFFFFDEAA
  239. #define SAMP_GT_p 0xA86EFCAA
  240. #define SAMP_GT_ph 0xFCA5FFAA
  241. #define SAMP_GT_phh 0xFFF7FFAA
  242. #define SAMP_GT_w 0xFFFFFFAA
  243. #define SAMP_GT_l 0x000000AA
  244. // These are the RGB values for the gametext colours (got manually using GIMP).
  245. // These need to be added in to the main system so you can type and use them.
  246. #define Y_GAME_TEXT 0x90621000
  247. #define Y_GAME_TEXT_ 0x90621000
  248. #define Y_GAME_TEXT_H 0xD8931800
  249. #define Y_GAME_TEXT_HH 0xFFFF3600
  250. #define Y_GAME_TEXT_X 0x90621000
  251. #define Y_GAME_TEXT_XH 0xD8931800
  252. #define Y_GAME_TEXT_XHH 0xFFFF3600
  253. #define Y_GAME_TEXT_R 0xB4191D00
  254. #define Y_GAME_TEXT_RH 0xFF252B00
  255. #define Y_GAME_TEXT_RHH 0xFF374000
  256. #define Y_GAME_TEXT_RHHH 0xFF526000
  257. #define Y_GAME_TEXT_RHHHH 0xFF7B9000
  258. #define Y_GAME_TEXT_RHHHHH 0xFFB8D800
  259. #define Y_GAME_TEXT_G 0x36682C00
  260. #define Y_GAME_TEXT_GH 0x519C4200
  261. #define Y_GAME_TEXT_GHH 0x79EA6300
  262. #define Y_GAME_TEXT_GHHH 0xB5FF9400
  263. #define Y_GAME_TEXT_GHHHH 0xFFFFDE00
  264. #define Y_GAME_TEXT_B 0x323C7F00
  265. #define Y_GAME_TEXT_BH 0x4B5ABE00
  266. #define Y_GAME_TEXT_BHH 0x7087FF00
  267. #define Y_GAME_TEXT_BHHH 0xA8CAFF00
  268. #define Y_GAME_TEXT_Y 0xE2C06300
  269. #define Y_GAME_TEXT_YH 0xFFFF9400
  270. #define Y_GAME_TEXT_YHH 0xFFFFDE00
  271. #define Y_GAME_TEXT_P 0xA86EFC00
  272. #define Y_GAME_TEXT_PH 0xFCA5FF00
  273. #define Y_GAME_TEXT_PHH 0xFFF7FF00
  274. #define Y_GAME_TEXT_W 0xFFFFFF00
  275. #define Y_GAME_TEXT_L 0x00000000
  276. #define Y_GAMETEXT 0x90621000
  277. #define Y_GAMETEXT_ 0x90621000
  278. #define Y_GAMETEXT_H 0xD8931800
  279. #define Y_GAMETEXT_HH 0xFFFF3600
  280. #define Y_GAMETEXT_X 0x90621000
  281. #define Y_GAMETEXT_XH 0xD8931800
  282. #define Y_GAMETEXT_XHH 0xFFFF3600
  283. #define Y_GAMETEXT_R 0xB4191D00
  284. #define Y_GAMETEXT_RH 0xFF252B00
  285. #define Y_GAMETEXT_RHH 0xFF374000
  286. #define Y_GAMETEXT_RHHH 0xFF526000
  287. #define Y_GAMETEXT_RHHHH 0xFF7B9000
  288. #define Y_GAMETEXT_RHHHHH 0xFFB8D800
  289. #define Y_GAMETEXT_G 0x36682C00
  290. #define Y_GAMETEXT_GH 0x519C4200
  291. #define Y_GAMETEXT_GHH 0x79EA6300
  292. #define Y_GAMETEXT_GHHH 0xB5FF9400
  293. #define Y_GAMETEXT_GHHHH 0xFFFFDE00
  294. #define Y_GAMETEXT_B 0x323C7F00
  295. #define Y_GAMETEXT_BH 0x4B5ABE00
  296. #define Y_GAMETEXT_BHH 0x7087FF00
  297. #define Y_GAMETEXT_BHHH 0xA8CAFF00
  298. #define Y_GAMETEXT_Y 0xE2C06300
  299. #define Y_GAMETEXT_YH 0xFFFF9400
  300. #define Y_GAMETEXT_YHH 0xFFFFDE00
  301. #define Y_GAMETEXT_P 0xA86EFC00
  302. #define Y_GAMETEXT_PH 0xFCA5FF00
  303. #define Y_GAMETEXT_PHH 0xFFF7FF00
  304. #define Y_GAMETEXT_W 0xFFFFFF00
  305. #define Y_GAMETEXT_L 0x00000000
  306. #define Y_GT 0x90621000
  307. #define Y_GT_ 0x90621000
  308. #define Y_GT_H 0xD8931800
  309. #define Y_GT_HH 0xFFFF3600
  310. #define Y_GT_X 0x90621000
  311. #define Y_GT_XH 0xD8931800
  312. #define Y_GT_XHH 0xFFFF3600
  313. #define Y_GT_R 0xB4191D00
  314. #define Y_GT_RH 0xFF252B00
  315. #define Y_GT_RHH 0xFF374000
  316. #define Y_GT_RHHH 0xFF526000
  317. #define Y_GT_RHHHH 0xFF7B9000
  318. #define Y_GT_RHHHHH 0xFFB8D800
  319. #define Y_GT_G 0x36682C00
  320. #define Y_GT_GH 0x519C4200
  321. #define Y_GT_GHH 0x79EA6300
  322. #define Y_GT_GHHH 0xB5FF9400
  323. #define Y_GT_GHHHH 0xFFFFDE00
  324. #define Y_GT_B 0x323C7F00
  325. #define Y_GT_BH 0x4B5ABE00
  326. #define Y_GT_BHH 0x7087FF00
  327. #define Y_GT_BHHH 0xA8CAFF00
  328. #define Y_GT_Y 0xE2C06300
  329. #define Y_GT_YH 0xFFFF9400
  330. #define Y_GT_YHH 0xFFFFDE00
  331. #define Y_GT_P 0xA86EFC00
  332. #define Y_GT_PH 0xFCA5FF00
  333. #define Y_GT_PHH 0xFFF7FF00
  334. #define Y_GT_W 0xFFFFFF00
  335. #define Y_GT_L 0x00000000
  336. #define Y_GAME_TEXT_h 0xD8931800
  337. #define Y_GAME_TEXT_hh 0xFFFF3600
  338. #define Y_GAME_TEXT_x 0x90621000
  339. #define Y_GAME_TEXT_xh 0xD8931800
  340. #define Y_GAME_TEXT_xhh 0xFFFF3600
  341. #define Y_GAME_TEXT_r 0xB4191D00
  342. #define Y_GAME_TEXT_rh 0xFF252B00
  343. #define Y_GAME_TEXT_rhh 0xFF374000
  344. #define Y_GAME_TEXT_rhhh 0xFF526000
  345. #define Y_GAME_TEXT_rhhhh 0xFF7B9000
  346. #define Y_GAME_TEXT_rhhhhh 0xFFB8D800
  347. #define Y_GAME_TEXT_g 0x36682C00
  348. #define Y_GAME_TEXT_gh 0x519C4200
  349. #define Y_GAME_TEXT_ghh 0x79EA6300
  350. #define Y_GAME_TEXT_ghhh 0xB5FF9400
  351. #define Y_GAME_TEXT_ghhhh 0xFFFFDE00
  352. #define Y_GAME_TEXT_b 0x323C7F00
  353. #define Y_GAME_TEXT_bh 0x4B5ABE00
  354. #define Y_GAME_TEXT_bhh 0x7087FF00
  355. #define Y_GAME_TEXT_bhhh 0xA8CAFF00
  356. #define Y_GAME_TEXT_y 0xE2C06300
  357. #define Y_GAME_TEXT_yh 0xFFFF9400
  358. #define Y_GAME_TEXT_yhh 0xFFFFDE00
  359. #define Y_GAME_TEXT_p 0xA86EFC00
  360. #define Y_GAME_TEXT_ph 0xFCA5FF00
  361. #define Y_GAME_TEXT_phh 0xFFF7FF00
  362. #define Y_GAME_TEXT_w 0xFFFFFF00
  363. #define Y_GAME_TEXT_l 0x00000000
  364. #define Y_GAMETEXT_h 0xD8931800
  365. #define Y_GAMETEXT_hh 0xFFFF3600
  366. #define Y_GAMETEXT_x 0x90621000
  367. #define Y_GAMETEXT_xh 0xD8931800
  368. #define Y_GAMETEXT_xhh 0xFFFF3600
  369. #define Y_GAMETEXT_r 0xB4191D00
  370. #define Y_GAMETEXT_rh 0xFF252B00
  371. #define Y_GAMETEXT_rhh 0xFF374000
  372. #define Y_GAMETEXT_rhhh 0xFF526000
  373. #define Y_GAMETEXT_rhhhh 0xFF7B9000
  374. #define Y_GAMETEXT_rhhhhh 0xFFB8D800
  375. #define Y_GAMETEXT_g 0x36682C00
  376. #define Y_GAMETEXT_gh 0x519C4200
  377. #define Y_GAMETEXT_ghh 0x79EA6300
  378. #define Y_GAMETEXT_ghhh 0xB5FF9400
  379. #define Y_GAMETEXT_ghhhh 0xFFFFDE00
  380. #define Y_GAMETEXT_b 0x323C7F00
  381. #define Y_GAMETEXT_bh 0x4B5ABE00
  382. #define Y_GAMETEXT_bhh 0x7087FF00
  383. #define Y_GAMETEXT_bhhh 0xA8CAFF00
  384. #define Y_GAMETEXT_y 0xE2C06300
  385. #define Y_GAMETEXT_yh 0xFFFF9400
  386. #define Y_GAMETEXT_yhh 0xFFFFDE00
  387. #define Y_GAMETEXT_p 0xA86EFC00
  388. #define Y_GAMETEXT_ph 0xFCA5FF00
  389. #define Y_GAMETEXT_phh 0xFFF7FF00
  390. #define Y_GAMETEXT_w 0xFFFFFF00
  391. #define Y_GAMETEXT_l 0x00000000
  392. #define Y_GT_h 0xD8931800
  393. #define Y_GT_hh 0xFFFF3600
  394. #define Y_GT_x 0x90621000
  395. #define Y_GT_xh 0xD8931800
  396. #define Y_GT_xhh 0xFFFF3600
  397. #define Y_GT_r 0xB4191D00
  398. #define Y_GT_rh 0xFF252B00
  399. #define Y_GT_rhh 0xFF374000
  400. #define Y_GT_rhhh 0xFF526000
  401. #define Y_GT_rhhhh 0xFF7B9000
  402. #define Y_GT_rhhhhh 0xFFB8D800
  403. #define Y_GT_g 0x36682C00
  404. #define Y_GT_gh 0x519C4200
  405. #define Y_GT_ghh 0x79EA6300
  406. #define Y_GT_ghhh 0xB5FF9400
  407. #define Y_GT_ghhhh 0xFFFFDE00
  408. #define Y_GT_b 0x323C7F00
  409. #define Y_GT_bh 0x4B5ABE00
  410. #define Y_GT_bhh 0x7087FF00
  411. #define Y_GT_bhhh 0xA8CAFF00
  412. #define Y_GT_y 0xE2C06300
  413. #define Y_GT_yh 0xFFFF9400
  414. #define Y_GT_yhh 0xFFFFDE00
  415. #define Y_GT_p 0xA86EFC00
  416. #define Y_GT_ph 0xFCA5FF00
  417. #define Y_GT_phh 0xFFF7FF00
  418. #define Y_GT_w 0xFFFFFF00
  419. #define Y_GT_l 0x00000000
  420. // String versions.
  421. #define GT__ "{906210}"
  422. #define GT_H "{D89318}"
  423. #define GT_HH "{FFFF36}"
  424. #define GT_X "{906210}"
  425. #define GT_XH "{D89318}"
  426. #define GT_XHH "{FFFF36}"
  427. #define GT_R "{B4191D}"
  428. #define GT_RH "{FF252B}"
  429. #define GT_RHH "{FF3740}"
  430. #define GT_RHHH "{FF5260}"
  431. #define GT_RHHHH "{FF7B90}"
  432. #define GT_RHHHHH "{FFB8D8}"
  433. #define GT_G "{36682C}"
  434. #define GT_GH "{519C42}"
  435. #define GT_GHH "{79EA63}"
  436. #define GT_GHHH "{B5FF94}"
  437. #define GT_GHHHH "{FFFFDE}"
  438. #define GT_B "{323C7F}"
  439. #define GT_BH "{4B5ABE}"
  440. #define GT_BHH "{7087FF}"
  441. #define GT_BHHH "{A8CAFF}"
  442. #define GT_Y "{E2C063}"
  443. #define GT_YH "{FFFF94}"
  444. #define GT_YHH "{FFFFDE}"
  445. #define GT_P "{A86EFC}"
  446. #define GT_PH "{FCA5FF}"
  447. #define GT_PHH "{FFF7FF}"
  448. #define GT_W "{FFFFFF}"
  449. #define GT_L "{000000}"
  450. #define GT_h "{D89318}"
  451. #define GT_hh "{FFFF36}"
  452. #define GT_x "{906210}"
  453. #define GT_xh "{D89318}"
  454. #define GT_xhh "{FFFF36}"
  455. #define GT_r "{B4191D}"
  456. #define GT_rh "{FF252B}"
  457. #define GT_rhh "{FF3740}"
  458. #define GT_rhhh "{FF5260}"
  459. #define GT_rhhhh "{FF7B90}"
  460. #define GT_rhhhhh "{FFB8D8}"
  461. #define GT_g "{36682C}"
  462. #define GT_gh "{519C42}"
  463. #define GT_ghh "{79EA63}"
  464. #define GT_ghhh "{B5FF94}"
  465. #define GT_ghhhh "{FFFFDE}"
  466. #define GT_b "{323C7F}"
  467. #define GT_bh "{4B5ABE}"
  468. #define GT_bhh "{7087FF}"
  469. #define GT_bhhh "{A8CAFF}"
  470. #define GT_y "{E2C063}"
  471. #define GT_yh "{FFFF94}"
  472. #define GT_yhh "{FFFFDE}"
  473. #define GT_p "{A86EFC}"
  474. #define GT_ph "{FCA5FF}"
  475. #define GT_phh "{FFF7FF}"
  476. #define GT_w "{FFFFFF}"
  477. #define GT_l "{000000}"
  478. #define GAMETEXT_ "{906210}"
  479. #define GAMETEXT_H "{D89318}"
  480. #define GAMETEXT_HH "{FFFF36}"
  481. #define GAMETEXT_X "{906210}"
  482. #define GAMETEXT_XH "{D89318}"
  483. #define GAMETEXT_XHH "{FFFF36}"
  484. #define GAMETEXT_R "{B4191D}"
  485. #define GAMETEXT_RH "{FF252B}"
  486. #define GAMETEXT_RHH "{FF3740}"
  487. #define GAMETEXT_RHHH "{FF5260}"
  488. #define GAMETEXT_RHHHH "{FF7B90}"
  489. #define GAMETEXT_RHHHHH "{FFB8D8}"
  490. #define GAMETEXT_G "{36682C}"
  491. #define GAMETEXT_GH "{519C42}"
  492. #define GAMETEXT_GHH "{79EA63}"
  493. #define GAMETEXT_GHHH "{B5FF94}"
  494. #define GAMETEXT_GHHHH "{FFFFDE}"
  495. #define GAMETEXT_B "{323C7F}"
  496. #define GAMETEXT_BH "{4B5ABE}"
  497. #define GAMETEXT_BHH "{7087FF}"
  498. #define GAMETEXT_BHHH "{A8CAFF}"
  499. #define GAMETEXT_Y "{E2C063}"
  500. #define GAMETEXT_YH "{FFFF94}"
  501. #define GAMETEXT_YHH "{FFFFDE}"
  502. #define GAMETEXT_P "{A86EFC}"
  503. #define GAMETEXT_PH "{FCA5FF}"
  504. #define GAMETEXT_PHH "{FFF7FF}"
  505. #define GAMETEXT_W "{FFFFFF}"
  506. #define GAMETEXT_L "{000000}"
  507. #define GAMETEXT_h "{D89318}"
  508. #define GAMETEXT_hh "{FFFF36}"
  509. #define GAMETEXT_x "{906210}"
  510. #define GAMETEXT_xh "{D89318}"
  511. #define GAMETEXT_xhh "{FFFF36}"
  512. #define GAMETEXT_r "{B4191D}"
  513. #define GAMETEXT_rh "{FF252B}"
  514. #define GAMETEXT_rhh "{FF3740}"
  515. #define GAMETEXT_rhhh "{FF5260}"
  516. #define GAMETEXT_rhhhh "{FF7B90}"
  517. #define GAMETEXT_rhhhhh "{FFB8D8}"
  518. #define GAMETEXT_g "{36682C}"
  519. #define GAMETEXT_gh "{519C42}"
  520. #define GAMETEXT_ghh "{79EA63}"
  521. #define GAMETEXT_ghhh "{B5FF94}"
  522. #define GAMETEXT_ghhhh "{FFFFDE}"
  523. #define GAMETEXT_b "{323C7F}"
  524. #define GAMETEXT_bh "{4B5ABE}"
  525. #define GAMETEXT_bhh "{7087FF}"
  526. #define GAMETEXT_bhhh "{A8CAFF}"
  527. #define GAMETEXT_y "{E2C063}"
  528. #define GAMETEXT_yh "{FFFF94}"
  529. #define GAMETEXT_yhh "{FFFFDE}"
  530. #define GAMETEXT_p "{A86EFC}"
  531. #define GAMETEXT_ph "{FCA5FF}"
  532. #define GAMETEXT_phh "{FFF7FF}"
  533. #define GAMETEXT_w "{FFFFFF}"
  534. #define GAMETEXT_l "{000000}"
  535. #define GAME_TEXT_ "{906210}"
  536. #define GAME_TEXT_H "{D89318}"
  537. #define GAME_TEXT_HH "{FFFF36}"
  538. #define GAME_TEXT_X "{906210}"
  539. #define GAME_TEXT_XH "{D89318}"
  540. #define GAME_TEXT_XHH "{FFFF36}"
  541. #define GAME_TEXT_R "{B4191D}"
  542. #define GAME_TEXT_RH "{FF252B}"
  543. #define GAME_TEXT_RHH "{FF3740}"
  544. #define GAME_TEXT_RHHH "{FF5260}"
  545. #define GAME_TEXT_RHHHH "{FF7B90}"
  546. #define GAME_TEXT_RHHHHH "{FFB8D8}"
  547. #define GAME_TEXT_G "{36682C}"
  548. #define GAME_TEXT_GH "{519C42}"
  549. #define GAME_TEXT_GHH "{79EA63}"
  550. #define GAME_TEXT_GHHH "{B5FF94}"
  551. #define GAME_TEXT_GHHHH "{FFFFDE}"
  552. #define GAME_TEXT_B "{323C7F}"
  553. #define GAME_TEXT_BH "{4B5ABE}"
  554. #define GAME_TEXT_BHH "{7087FF}"
  555. #define GAME_TEXT_BHHH "{A8CAFF}"
  556. #define GAME_TEXT_Y "{E2C063}"
  557. #define GAME_TEXT_YH "{FFFF94}"
  558. #define GAME_TEXT_YHH "{FFFFDE}"
  559. #define GAME_TEXT_P "{A86EFC}"
  560. #define GAME_TEXT_PH "{FCA5FF}"
  561. #define GAME_TEXT_PHH "{FFF7FF}"
  562. #define GAME_TEXT_W "{FFFFFF}"
  563. #define GAME_TEXT_L "{000000}"
  564. #define GAME_TEXT_h "{D89318}"
  565. #define GAME_TEXT_hh "{FFFF36}"
  566. #define GAME_TEXT_x "{906210}"
  567. #define GAME_TEXT_xh "{D89318}"
  568. #define GAME_TEXT_xhh "{FFFF36}"
  569. #define GAME_TEXT_r "{B4191D}"
  570. #define GAME_TEXT_rh "{FF252B}"
  571. #define GAME_TEXT_rhh "{FF3740}"
  572. #define GAME_TEXT_rhhh "{FF5260}"
  573. #define GAME_TEXT_rhhhh "{FF7B90}"
  574. #define GAME_TEXT_rhhhhh "{FFB8D8}"
  575. #define GAME_TEXT_g "{36682C}"
  576. #define GAME_TEXT_gh "{519C42}"
  577. #define GAME_TEXT_ghh "{79EA63}"
  578. #define GAME_TEXT_ghhh "{B5FF94}"
  579. #define GAME_TEXT_ghhhh "{FFFFDE}"
  580. #define GAME_TEXT_b "{323C7F}"
  581. #define GAME_TEXT_bh "{4B5ABE}"
  582. #define GAME_TEXT_bhh "{7087FF}"
  583. #define GAME_TEXT_bhhh "{A8CAFF}"
  584. #define GAME_TEXT_y "{E2C063}"
  585. #define GAME_TEXT_yh "{FFFF94}"
  586. #define GAME_TEXT_yhh "{FFFFDE}"
  587. #define GAME_TEXT_p "{A86EFC}"
  588. #define GAME_TEXT_ph "{FCA5FF}"
  589. #define GAME_TEXT_phh "{FFF7FF}"
  590. #define GAME_TEXT_w "{FFFFFF}"
  591. #define GAME_TEXT_l "{000000}"
  592. // Clever versions.
  593. #define _GT_ 906210
  594. #define _GT_h D89318
  595. #define _GT_hh FFFF36
  596. #define _GT_x 906210
  597. #define _GT_xh D89318
  598. #define _GT_xhh FFFF36
  599. #define _GT_r B4191D
  600. #define _GT_rh FF252B
  601. #define _GT_rhh FF3740
  602. #define _GT_rhhh FF5260
  603. #define _GT_rhhhh FF7B90
  604. #define _GT_rhhhhh FFB8D8
  605. #define _GT_g 36682C
  606. #define _GT_gh 519C42
  607. #define _GT_ghh 79EA63
  608. #define _GT_ghhh B5FF94
  609. #define _GT_ghhhh FFFFDE
  610. #define _GT_b 323C7F
  611. #define _GT_bh 4B5ABE
  612. #define _GT_bhh 7087FF
  613. #define _GT_bhhh A8CAFF
  614. #define _GT_y E2C063
  615. #define _GT_yh FFFF94
  616. #define _GT_yhh FFFFDE
  617. #define _GT_p A86EFC
  618. #define _GT_ph FCA5FF
  619. #define _GT_phh FFF7FF
  620. #define _GT_w FFFFFF
  621. #define _GT_l 000000