gtdef.inc 28 KB

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