fonts.inc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. static stock const
  65. /*YSI_g_scAlphabet[10][26 + 1 + 10 + 1 char] =
  66. {
  67. // A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ~ ' -
  68. {0x30, 0xFC, 0x3C, 0xF8, 0xFE, 0xFE, 0x3C, 0xCC, 0x78, 0x1E, 0xE6, 0xF0, 0xC6, 0xC6, 0x38, 0xFC, 0x38, 0xFC, 0x78, 0xFC, 0xCC, 0xCC, 0xC6, 0xCC, 0xCC, 0xFE, 0x00, 0x7C, 0x10, 0x78, 0x78, 0x0C, 0xFC, 0x38, 0xFE, 0x78, 0x78, 0x73, 0x30, 0x00},
  69. {0x78, 0x66, 0x66, 0x6C, 0x62, 0x66, 0x66, 0xCC, 0x30, 0x0C, 0x66, 0x60, 0xEE, 0xC6, 0x6C, 0x66, 0x6C, 0x66, 0xCC, 0xB4, 0xCC, 0xCC, 0xC6, 0xCC, 0xCC, 0xCE, 0x00, 0xC6, 0x30, 0xCC, 0xCC, 0x1C, 0xC0, 0x60, 0xC6, 0xCC, 0xCC, 0xDA, 0x30, 0x00},
  70. {0xCC, 0x66, 0xC6, 0x66, 0x60, 0x62, 0xC6, 0xCC, 0x30, 0x0C, 0x6C, 0x60, 0xFE, 0xE6, 0xC6, 0x66, 0xC6, 0x66, 0xCC, 0x30, 0xCC, 0xCC, 0xC6, 0xCC, 0xCC, 0x98, 0x00, 0xCE, 0xF0, 0xCC, 0x0C, 0x3C, 0xC0, 0xC0, 0xC6, 0xCC, 0xCC, 0xCE, 0x30, 0x00},
  71. {0xCC, 0x66, 0xC0, 0x66, 0x64, 0x64, 0xC0, 0xCC, 0x30, 0x0C, 0x6C, 0x60, 0xFE, 0xF6, 0xC6, 0x66, 0xC6, 0x66, 0xC0, 0x30, 0xCC, 0xCC, 0xC6, 0x78, 0xCC, 0x18, 0x00, 0xDE, 0x30, 0x0C, 0x0C, 0x6C, 0xC0, 0xC0, 0x06, 0xCC, 0xCC, 0x00, 0x60, 0x00},
  72. {0xCC, 0x7C, 0xC0, 0x66, 0x7C, 0x7C, 0xC0, 0xFC, 0x30, 0x0C, 0x78, 0x60, 0xD6, 0xFE, 0xC6, 0x7C, 0xC6, 0x7C, 0x70, 0x30, 0xCC, 0xCC, 0xD6, 0x30, 0x78, 0x30, 0x00, 0xD6, 0x30, 0x18, 0x38, 0xCC, 0xF8, 0xF8, 0x0C, 0x78, 0x7C, 0x00, 0x00, 0xFE},
  73. {0xFC, 0x66, 0xC0, 0x66, 0x64, 0x64, 0xCE, 0xCC, 0x30, 0xCC, 0x6C, 0x62, 0xC6, 0xDE, 0xC6, 0x60, 0xCE, 0x6C, 0x18, 0x30, 0xCC, 0xCC, 0xD6, 0x78, 0x30, 0x60, 0x00, 0xF6, 0x30, 0x30, 0x0C, 0xFE, 0x0C, 0xCC, 0x18, 0xCC, 0x18, 0x00, 0x00, 0x00},
  74. {0xCC, 0x66, 0xC6, 0x66, 0x60, 0x60, 0xC6, 0xCC, 0x30, 0xCC, 0x6C, 0x66, 0xC6, 0xCE, 0xC6, 0x60, 0xDE, 0x66, 0xCC, 0x30, 0xCC, 0xCC, 0x6C, 0xCC, 0x30, 0x62, 0x00, 0xE6, 0x30, 0x60, 0x0C, 0x0C, 0x0C, 0xCC, 0x30, 0xCC, 0x18, 0x00, 0x00, 0x00},
  75. {0xCC, 0x66, 0x66, 0x6C, 0x62, 0x60, 0x66, 0xCC, 0x30, 0xCC, 0x66, 0x66, 0xC6, 0xC6, 0x6C, 0x60, 0x7C, 0x66, 0xCC, 0x30, 0xCC, 0x78, 0x6C, 0xCC, 0x30, 0xC6, 0x00, 0xC6, 0x30, 0xCC, 0xCC, 0x0C, 0xCC, 0xCC, 0x30, 0xCC, 0x30, 0x00, 0x00, 0x00},
  76. {0xCC, 0xFC, 0x3C, 0xF8, 0xFE, 0xF0, 0x3E, 0xCC, 0x78, 0x78, 0xE6, 0xFE, 0xC6, 0xC6, 0x38, 0xF0, 0x0C, 0xE6, 0x78, 0x78, 0x78, 0x30, 0x6C, 0xCC, 0x78, 0xFE, 0x00, 0x7C, 0xFC, 0xFC, 0x78, 0x1E, 0x78, 0x78, 0x30, 0x78, 0x70, 0x00, 0x00, 0x00},
  77. {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
  78. };*/
  79. // This data is stored bottom to top, so the last character (the implicit
  80. // NULL is the top row of the character). This is as the NULL is required
  81. // to not be written and the top row is the only one that is always empty.
  82. YSI_g_scAlphabet[128][12 char] =
  83. {
  84. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x00
  85. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x01
  86. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x02
  87. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x03
  88. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x04
  89. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x05
  90. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x06
  91. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x07
  92. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x08
  93. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x09
  94. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0A
  95. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0B
  96. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0C
  97. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0D
  98. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0E
  99. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x0F
  100. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x10
  101. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x11
  102. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x12
  103. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x13
  104. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x14
  105. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x15
  106. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x16
  107. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x17
  108. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x18
  109. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x19
  110. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1A
  111. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1B
  112. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1C
  113. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1D
  114. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1E
  115. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // 0x1F
  116. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", //
  117. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // !
  118. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // "
  119. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // #
  120. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // $
  121. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // %
  122. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // &
  123. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x60;\x30;\x30;\x30;", // '
  124. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // (
  125. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // )
  126. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // *
  127. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // +
  128. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // ,
  129. !"\x00;\x00;\x00;\x00;\x00;\x00;\xFE;\x00;\x00;\x00;\x00;", // -
  130. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // .
  131. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // /
  132. !"\x00;\x00;\x7C;\xC6;\xE6;\xF6;\xD6;\xDE;\xCE;\xC6;\x7C;", // 0
  133. !"\x00;\x00;\xFC;\x30;\x30;\x30;\x30;\x30;\xF0;\x30;\x10;", // 1
  134. !"\x00;\x00;\xFC;\xCC;\x60;\x30;\x18;\x0C;\xCC;\xCC;\x78;", // 2
  135. !"\x00;\x00;\x78;\xCC;\x0C;\x0C;\x38;\x0C;\x0C;\xCC;\x78;", // 3
  136. !"\x00;\x00;\x1E;\x0C;\x0C;\xFE;\xCC;\x6C;\x3C;\x1C;\x0C;", // 4
  137. !"\x00;\x00;\x78;\xCC;\x0C;\x0C;\xF8;\xC0;\xC0;\xC0;\xFC;", // 5
  138. !"\x00;\x00;\x78;\xCC;\xCC;\xCC;\xF8;\xC0;\xC0;\x60;\x38;", // 6
  139. !"\x00;\x00;\x30;\x30;\x30;\x18;\x0C;\x06;\xC6;\xC6;\xFE;", // 7
  140. !"\x00;\x00;\x78;\xCC;\xCC;\xCC;\x78;\xCC;\xCC;\xCC;\x78;", // 8
  141. !"\x00;\x00;\x70;\x30;\x18;\x18;\x7C;\xCC;\xCC;\xCC;\x78;", // 9
  142. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // :
  143. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // ;
  144. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // <
  145. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // =
  146. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // >
  147. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // ?
  148. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // @
  149. !"\x00;\x00;\xCC;\xCC;\xCC;\xFC;\xCC;\xCC;\xCC;\x78;\x30;", // A
  150. !"\x00;\x00;\xFC;\x66;\x66;\x66;\x7C;\x66;\x66;\x66;\xFC;", // B
  151. !"\x00;\x00;\x3C;\x66;\xC6;\xC0;\xC0;\xC0;\xC6;\x66;\x3C;", // C
  152. !"\x00;\x00;\xF8;\x6C;\x66;\x66;\x66;\x66;\x66;\x6C;\xF8;", // D
  153. !"\x00;\x00;\xFE;\x62;\x60;\x64;\x7C;\x64;\x60;\x62;\xFE;", // E
  154. !"\x00;\x00;\xF0;\x60;\x60;\x64;\x7C;\x64;\x62;\x66;\xFE;", // F
  155. !"\x00;\x00;\x3E;\x66;\xC6;\xCE;\xC0;\xC0;\xC6;\x66;\x3C;", // G
  156. !"\x00;\x00;\xCC;\xCC;\xCC;\xCC;\xFC;\xCC;\xCC;\xCC;\xCC;", // H
  157. !"\x00;\x00;\x78;\x30;\x30;\x30;\x30;\x30;\x30;\x30;\x78;", // I
  158. !"\x00;\x00;\x78;\xCC;\xCC;\xCC;\x0C;\x0C;\x0C;\x0C;\x1E;", // J
  159. !"\x00;\x00;\xE6;\x66;\x6C;\x6C;\x78;\x6C;\x6C;\x66;\xE6;", // K
  160. !"\x00;\x00;\xFE;\x66;\x66;\x62;\x60;\x60;\x60;\x60;\xF0;", // L
  161. !"\x00;\x00;\xC6;\xC6;\xC6;\xC6;\xD6;\xFE;\xFE;\xEE;\xC6;", // M
  162. !"\x00;\x00;\xC6;\xC6;\xCE;\xDE;\xFE;\xF6;\xE6;\xC6;\xC6;", // N
  163. !"\x00;\x00;\x38;\x6C;\xC6;\xC6;\xC6;\xC6;\xC6;\x6C;\x38;", // O
  164. !"\x00;\x00;\xF0;\x60;\x60;\x60;\x7C;\x66;\x66;\x66;\xFC;", // P
  165. !"\x00;\x1E;\x0C;\x7C;\xDE;\xCE;\xC6;\xC6;\xC6;\x6C;\x38;", // Q
  166. !"\x00;\x00;\xE6;\x66;\x66;\x6C;\x7C;\x66;\x66;\x66;\xFC;", // R
  167. !"\x00;\x00;\x78;\xCC;\xCC;\x18;\x70;\xC0;\xCC;\xCC;\x78;", // S
  168. !"\x00;\x00;\x78;\x30;\x30;\x30;\x30;\x30;\x30;\xB4;\xFC;", // T
  169. !"\x00;\x00;\x78;\xCC;\xCC;\xCC;\xCC;\xCC;\xCC;\xCC;\xCC;", // U
  170. !"\x00;\x00;\x30;\x78;\xCC;\xCC;\xCC;\xCC;\xCC;\xCC;\xCC;", // V
  171. !"\x00;\x00;\x6C;\x6C;\x6C;\xD6;\xD6;\xC6;\xC6;\xC6;\xC6;", // W
  172. !"\x00;\x00;\xCC;\xCC;\xCC;\x78;\x30;\x78;\xCC;\xCC;\xCC;", // X
  173. !"\x00;\x00;\x78;\x30;\x30;\x30;\x78;\xCC;\xCC;\xCC;\xCC;", // Y
  174. !"\x00;\x00;\xFE;\xC6;\x62;\x60;\x30;\x18;\x98;\xCE;\xFE;", // Z
  175. !"\x00;\x00;\x3C;\x30;\x30;\x30;\x30;\x30;\x30;\x30;\x3C;", // [
  176. !"\x00;\x00;\x02;\x06;\x0C;\x18;\x30;\x60;\xC0;\x80;\x00;", // <backslash>
  177. !"\x00;\x00;\x3C;\x0C;\x0C;\x0C;\x0C;\x0C;\x0C;\x0C;\x3C;", // ]
  178. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\xC6;\x6C;\x38;\x10;", // ^
  179. !"\x00;\xFF;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;", // _
  180. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x18;\x30;\x30;", // `
  181. !"\x00;\x00;\x76;\xCC;\xCC;\x7C;\x0C;\x78;\x00;\x00;\x00;", // a
  182. !"\x00;\x00;\xDC;\x66;\x66;\x66;\x66;\x7C;\x60;\x60;\xE0;", // b
  183. !"\x00;\x00;\x78;\xCC;\xC0;\xC0;\xCC;\x78;\x00;\x00;\x00;", // c
  184. !"\x00;\x00;\x76;\xCC;\xCC;\xCC;\xCC;\x7C;\x0C;\x0C;\x1C;", // d
  185. !"\x00;\x00;\x78;\xCC;\xC0;\xFC;\xCC;\x78;\x00;\x00;\x00;", // e
  186. !"\x00;\x00;\xF0;\x60;\x60;\x60;\xF8;\x60;\x60;\x6C;\x38;", // f
  187. !"\x78;\xCC;\x0C;\x7C;\xCC;\xCC;\xCC;\x76;\x00;\x00;\x00;", // g
  188. !"\x00;\x00;\xE6;\x66;\x66;\x66;\x76;\x6C;\x60;\x60;\xE0;", // h
  189. !"\x00;\x00;\x7E;\x18;\x18;\x18;\x18;\x78;\x00;\x18;\x18;", // i
  190. !"\x78;\xCC;\xCC;\x0C;\x0C;\x0C;\x0C;\x3C;\x00;\x0C;\x0C;", // j
  191. !"\x00;\x00;\xE6;\x66;\x6C;\x78;\x6C;\x66;\x60;\x60;\xE0;", // k
  192. !"\x00;\x00;\x7E;\x18;\x18;\x18;\x18;\x18;\x18;\x18;\x78;", // l
  193. !"\x00;\x00;\xC6;\xD6;\xD6;\xD6;\xD6;\xFC;\x00;\x00;\x00;", // m
  194. !"\x00;\x00;\xCC;\xCC;\xCC;\xCC;\xCC;\xF8;\x00;\x00;\x00;", // n
  195. !"\x00;\x00;\x78;\xCC;\xCC;\xCC;\xCC;\x78;\x00;\x00;\x00;", // o
  196. !"\xF0;\x60;\x7C;\x66;\x66;\x66;\x66;\xDC;\x00;\x00;\x00;", // p
  197. !"\x1E;\x0C;\x7C;\xCC;\xCC;\xCC;\xCC;\x76;\x00;\x00;\x00;", // q
  198. !"\x00;\x00;\xF0;\x60;\x60;\x76;\x6E;\xE6;\x00;\x00;\x00;", // r
  199. !"\x00;\x00;\x78;\xCC;\x18;\x60;\xCC;\x78;\x00;\x00;\x00;", // s
  200. !"\x00;\x00;\x38;\x6C;\x60;\x60;\x60;\xFC;\x60;\x20;\x00;", // t
  201. !"\x00;\x00;\x76;\xCC;\xCC;\xCC;\xCC;\xCC;\x00;\x00;\x00;", // u
  202. !"\x00;\x00;\x30;\x78;\xCC;\xCC;\xCC;\xCC;\x00;\x00;\x00;", // v
  203. !"\x00;\x00;\x6C;\x6C;\xD6;\xD6;\xC6;\xC6;\x00;\x00;\x00;", // w
  204. !"\x00;\x00;\xC6;\x6C;\x38;\x38;\x6C;\xC6;\x00;\x00;\x00;", // x
  205. !"\xF0;\x18;\x0C;\x7C;\x66;\x66;\x66;\x66;\x00;\x00;\x00;", // y
  206. !"\x00;\x00;\xFC;\xC4;\x60;\x18;\x8C;\xFC;\x00;\x00;\x00;", // z
  207. !"\x00;\x00;\x1C;\x30;\x30;\x60;\xC0;\x60;\x30;\x30;\x1C;", // {
  208. !"\x00;\x00;\x18;\x18;\x18;\x18;\x00;\x18;\x18;\x18;\x18;", // |
  209. !"\x00;\x00;\xE0;\x30;\x30;\x18;\x0C;\x18;\x30;\x30;\xE0;", // }
  210. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\xCE;\xDA;\x73;", // ~
  211. !"\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;\x00;" // 0x7F
  212. };
  213. stock Bitmap_AddSimpleLetter(Bitmap:ctx, colour, letter, &x, &y)
  214. {
  215. letter &= 0x7F;
  216. y += 12;
  217. for (new j = 0; j != 12; ++j)
  218. {
  219. --y;
  220. new
  221. c = YSI_g_scAlphabet[letter]{j};
  222. for (new i = 0, k = 0x80; i != 8; ++i, k >>= 1)
  223. {
  224. if (c & k) Bitmap_WritePixel(ctx, x, y, colour);
  225. ++x;
  226. }
  227. x -= 8;
  228. }
  229. x += 8;
  230. }
  231. stock Bitmap_AddSimpleString(Bitmap:ctx, colour, str[], &x, &y)
  232. {
  233. for (new i = 0, ch; (ch = str[i]); ++i)
  234. {
  235. Bitmap_AddSimpleLetter(ctx, colour, ch, x, y);
  236. }
  237. }