FGFX.C 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. struct {
  2. int page,x,y,n,off;
  3. BYTE wid,hgt;
  4. BYTE prp[43];
  5. } font_data[]=
  6. {
  7. {
  8. 0,168,171,11,0,
  9. 8,5,
  10. {
  11. 5,5,5,5,5,5,5,5,5,5,2,4,5,5,5,2,
  12. 1,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
  13. 5,5,5,5,5,5,5,5,5,5,5,
  14. }
  15. },
  16. {
  17. 0,96,143,9,0,
  18. 8,7,
  19. {
  20. 7,6,7,7,7,7,7,7,7,7,3,4,6,7,6,4,
  21. 3,7,7,7,7,7,7,7,7,6,7,7,7,7,7,7,
  22. 7,7,7,7,6,7,7,7,7,7,7,
  23. }
  24. },
  25. {
  26. 0,96,191,10,7,
  27. 16,13,
  28. {
  29. 11,8,11,11,11,10,11,11,11,11,5,9,11,11,11,7,
  30. 5,14,11,12,12,9,9,14,12,5,8,13,9,16,13,14,
  31. 11,14,12,10,11,12,13,16,14,11,13
  32. }
  33. },
  34. };
  35. // Sprite 0 is variable, don't use
  36. struct {
  37. int page,x,y,wid,hgt;
  38. } spr_data[]=
  39. {
  40. {0,0,0,16,16},
  41. {1,0,192,48,240},
  42. {0,0,180,24,24},
  43. {0,24,180,24,24},
  44. {0,48,180,24,24},
  45. {0,72,180,24,24},
  46. {0,0,204,24,24},
  47. {0,24,204,24,24},
  48. {0,48,204,24,24},
  49. {0,72,204,24,24},
  50. {0,0,228,24,24},
  51. {0,24,228,24,24},
  52. {0,48,228,24,24},
  53. {0,72,228,24,24},
  54. {0,96,180,24,24},
  55. {0,120,180,24,24},
  56. {0,144,180,24,24},
  57. {0,0,49,39,12},
  58. {0,168,192,39,12},
  59. {1,0,0,69,79},
  60. {1,69,0,69,79},
  61. {1,138,0,21,22},
  62. {1,191,0,32,9},
  63. {1,171,0,9,32},
  64. {1,91,81,165,30},
  65. {1,0,81,91,30},
  66. {1,170,35,57,30},
  67. {1,181,0,9,18},
  68. {1,159,0,12,18},
  69. {1,76,111,52,53},
  70. {1,220,111,35,40},
  71. {1,220,151,35,40},
  72. {1,227,29,11,11},
  73. {1,138,23,32,5},
  74. {1,250,35,5,32},
  75. {1,167,65,83,15},
  76. {1,181,19,46,15},
  77. {1,137,65,29,15},
  78. {1,197,9,4,9},
  79. {1,191,9,5,9},
  80. {1,228,1,27,27},
  81. {1,37,111,39,48},
  82. {1,170,34,39,47},
  83. {1,210,40,39,41},
  84. {1,122,173,70,83},
  85. {1,52,173,70,83},
  86. {1,176,111,44,77},
  87. {1,134,111,21,26},
  88. {1,155,133,21,27},
  89. {1,155,111,21,22},
  90. {1,16,170,36,43},
  91. {1,16,213,36,43},
  92. {1,15,111,22,41},
  93. {0,0,62,23,27},
  94. {0,23,62,23,27},
  95. {0,46,62,23,27},
  96. {0,69,62,23,27},
  97. {0,92,62,23,27},
  98. {0,115,62,23,27},
  99. {0,138,62,23,27},
  100. {0,161,62,23,27},
  101. {0,184,62,23,27},
  102. {0,207,62,23,27},
  103. {0,230,62,23,27},
  104. {0,69,116,23,27},
  105. {0,92,116,23,27},
  106. {0,115,116,23,27},
  107. {0,138,116,23,27},
  108. {0,0,89,23,27},
  109. {0,23,89,23,27},
  110. {0,46,89,23,27},
  111. {0,69,89,23,27},
  112. {0,92,89,23,27},
  113. {0,115,89,23,27},
  114. {0,138,89,23,27},
  115. {0,161,89,23,27},
  116. {0,184,89,23,27},
  117. {0,207,89,23,27},
  118. {0,230,89,23,27},
  119. {0,161,116,23,27},
  120. {0,184,116,23,27},
  121. {0,207,116,23,27},
  122. {0,230,116,23,27},
  123. {1,250,35,5,16},
  124. {1,0,111,14,16},
  125. {1,0,127,14,16},
  126. {1,38,111,18,20},
  127. {1,56,111,18,20},
  128. {1,129,112,34,46},
  129. {1,129,158,4,4},
  130. {1,133,158,7,7},
  131. {1,140,158,4,4},
  132. {1,144,158,7,7},
  133. {1,192,192,64,63}, // 93
  134. {1,192,192,32,63}, // 94
  135. {1,192,192,16,63}, // 95
  136. {1,192,192,8 ,63}, // 96
  137. {1,192,192,4 ,63}, // 97
  138. {1,192,192,2 ,63}, // 98
  139. {1,192,192,64,32}, // 99
  140. {1,192,192,32,32}, // 100
  141. {1,192,192,16,32}, // 101
  142. {1,192,192,8 ,32}, // 102
  143. {1,192,192,4 ,32}, // 103
  144. {1,192,192,2 ,32}, // 104
  145. {1,192,192,64,16}, // 105
  146. {1,192,192,32,16}, // 106
  147. {1,192,192,16,16}, // 107
  148. {1,192,192,8 ,16}, // 108
  149. {1,192,192,4 ,16}, // 109
  150. {1,192,192,2 ,16}, // 110
  151. {1,192,192,64,8 }, // 111
  152. {1,192,192,32,8 }, // 112
  153. {1,192,192,16,8 }, // 113
  154. {1,192,192,8 ,8 }, // 114
  155. {1,192,192,4 ,8 }, // 115
  156. {1,192,192,2 ,8 }, // 116
  157. {1,192,192,64,4 }, // 117
  158. {1,192,192,32,4 }, // 118
  159. {1,192,192,16,4 }, // 119
  160. {1,192,192,8 ,4 }, // 120
  161. {1,192,192,4 ,4 }, // 121
  162. {1,192,192,2 ,4 }, // 122
  163. {1,192,192,64,2 }, // 123
  164. {1,192,192,32,2 }, // 124
  165. {1,192,192,16,2 }, // 125
  166. {1,192,192,8 ,2 }, // 126
  167. {1,192,192,4 ,2 }, // 127
  168. {1,192,192,2 ,2 }, // 128
  169. };
  170.