p2_assets.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. #define ADELAIDE_HANSCOM1_HANDLE 0
  2. #define ADELAIDE_HANSCOM1_WIDTH 25
  3. #define ADELAIDE_HANSCOM1_HEIGHT 25
  4. #define ADELAIDE_HANSCOM1_CELLS 1
  5. #define ALESSANDRO_ALLORI1_HANDLE 1
  6. #define ALESSANDRO_ALLORI1_WIDTH 25
  7. #define ALESSANDRO_ALLORI1_HEIGHT 25
  8. #define ALESSANDRO_ALLORI1_CELLS 1
  9. #define ALESSANDRO_ALLORI2_HANDLE 2
  10. #define ALESSANDRO_ALLORI2_WIDTH 25
  11. #define ALESSANDRO_ALLORI2_HEIGHT 25
  12. #define ALESSANDRO_ALLORI2_CELLS 1
  13. #define ALEXANDRE_CABANEL1_HANDLE 3
  14. #define ALEXANDRE_CABANEL1_WIDTH 25
  15. #define ALEXANDRE_CABANEL1_HEIGHT 25
  16. #define ALEXANDRE_CABANEL1_CELLS 1
  17. #define ALEXEI_HARLAMOV1_HANDLE 4
  18. #define ALEXEI_HARLAMOV1_WIDTH 25
  19. #define ALEXEI_HARLAMOV1_HEIGHT 25
  20. #define ALEXEI_HARLAMOV1_CELLS 1
  21. #define ALEXEY_PETROVICH_ANTROPOV1_HANDLE 5
  22. #define ALEXEY_PETROVICH_ANTROPOV1_WIDTH 25
  23. #define ALEXEY_PETROVICH_ANTROPOV1_HEIGHT 25
  24. #define ALEXEY_PETROVICH_ANTROPOV1_CELLS 1
  25. #define ALICE_PIKE_BARNEY1_HANDLE 6
  26. #define ALICE_PIKE_BARNEY1_WIDTH 25
  27. #define ALICE_PIKE_BARNEY1_HEIGHT 25
  28. #define ALICE_PIKE_BARNEY1_CELLS 1
  29. #define AMAN_THEODOR1_HANDLE 7
  30. #define AMAN_THEODOR1_WIDTH 25
  31. #define AMAN_THEODOR1_HEIGHT 25
  32. #define AMAN_THEODOR1_CELLS 1
  33. #define ANTONELLO_MESSINA1_HANDLE 8
  34. #define ANTONELLO_MESSINA1_WIDTH 25
  35. #define ANTONELLO_MESSINA1_HEIGHT 25
  36. #define ANTONELLO_MESSINA1_CELLS 1
  37. #define ANTONIO_HERRERA_TORO1_HANDLE 9
  38. #define ANTONIO_HERRERA_TORO1_WIDTH 25
  39. #define ANTONIO_HERRERA_TORO1_HEIGHT 25
  40. #define ANTONIO_HERRERA_TORO1_CELLS 1
  41. #define BENJAMIN_CONSTANT1_HANDLE 10
  42. #define BENJAMIN_CONSTANT1_WIDTH 25
  43. #define BENJAMIN_CONSTANT1_HEIGHT 25
  44. #define BENJAMIN_CONSTANT1_CELLS 1
  45. #define BENOIST_MARIE_GUILLEMINE1_HANDLE 11
  46. #define BENOIST_MARIE_GUILLEMINE1_WIDTH 25
  47. #define BENOIST_MARIE_GUILLEMINE1_HEIGHT 25
  48. #define BENOIST_MARIE_GUILLEMINE1_CELLS 1
  49. #define BOUGUEREAU_WILLIAM_ADOLPHE1_HANDLE 12
  50. #define BOUGUEREAU_WILLIAM_ADOLPHE1_WIDTH 25
  51. #define BOUGUEREAU_WILLIAM_ADOLPHE1_HEIGHT 25
  52. #define BOUGUEREAU_WILLIAM_ADOLPHE1_CELLS 1
  53. #define BYRON1_HANDLE 13
  54. #define BYRON1_WIDTH 25
  55. #define BYRON1_HEIGHT 25
  56. #define BYRON1_CELLS 1
  57. #define CARL_FREDRIC_BREDA1_HANDLE 14
  58. #define CARL_FREDRIC_BREDA1_WIDTH 25
  59. #define CARL_FREDRIC_BREDA1_HEIGHT 25
  60. #define CARL_FREDRIC_BREDA1_CELLS 1
  61. #define CARL_FREDRIC_BREDA2_HANDLE 15
  62. #define CARL_FREDRIC_BREDA2_WIDTH 25
  63. #define CARL_FREDRIC_BREDA2_HEIGHT 25
  64. #define CARL_FREDRIC_BREDA2_CELLS 1
  65. #define CRAMACJ_LUCAS1_HANDLE 16
  66. #define CRAMACJ_LUCAS1_WIDTH 25
  67. #define CRAMACJ_LUCAS1_HEIGHT 25
  68. #define CRAMACJ_LUCAS1_CELLS 1
  69. #define CRANACH_LUCAS2_HANDLE 17
  70. #define CRANACH_LUCAS2_WIDTH 25
  71. #define CRANACH_LUCAS2_HEIGHT 25
  72. #define CRANACH_LUCAS2_CELLS 1
  73. #define CRISTOBAL_ROJAS1_HANDLE 18
  74. #define CRISTOBAL_ROJAS1_WIDTH 25
  75. #define CRISTOBAL_ROJAS1_HEIGHT 25
  76. #define CRISTOBAL_ROJAS1_CELLS 1
  77. #define DELACROIX_EUGENE_FERDINAND_VICTOR1_HANDLE 19
  78. #define DELACROIX_EUGENE_FERDINAND_VICTOR1_WIDTH 25
  79. #define DELACROIX_EUGENE_FERDINAND_VICTOR1_HEIGHT 25
  80. #define DELACROIX_EUGENE_FERDINAND_VICTOR1_CELLS 1
  81. #define DOMENIKOS_THEOTOKOPOULOS1_HANDLE 20
  82. #define DOMENIKOS_THEOTOKOPOULOS1_WIDTH 25
  83. #define DOMENIKOS_THEOTOKOPOULOS1_HEIGHT 25
  84. #define DOMENIKOS_THEOTOKOPOULOS1_CELLS 1
  85. #define EDMUND_BLAIR_LEIGHTON1_HANDLE 21
  86. #define EDMUND_BLAIR_LEIGHTON1_WIDTH 25
  87. #define EDMUND_BLAIR_LEIGHTON1_HEIGHT 25
  88. #define EDMUND_BLAIR_LEIGHTON1_CELLS 1
  89. #define EDMUND_BLAIR_LEIGHTON2_HANDLE 22
  90. #define EDMUND_BLAIR_LEIGHTON2_WIDTH 25
  91. #define EDMUND_BLAIR_LEIGHTON2_HEIGHT 25
  92. #define EDMUND_BLAIR_LEIGHTON2_CELLS 1
  93. #define EDWIN_LONGSDEN_LONG1_HANDLE 23
  94. #define EDWIN_LONGSDEN_LONG1_WIDTH 25
  95. #define EDWIN_LONGSDEN_LONG1_HEIGHT 25
  96. #define EDWIN_LONGSDEN_LONG1_CELLS 1
  97. #define FALERO_LUIS_RICARDO1_HANDLE 24
  98. #define FALERO_LUIS_RICARDO1_WIDTH 25
  99. #define FALERO_LUIS_RICARDO1_HEIGHT 25
  100. #define FALERO_LUIS_RICARDO1_CELLS 1
  101. #define FELIX_BONFILS1_HANDLE 25
  102. #define FELIX_BONFILS1_WIDTH 25
  103. #define FELIX_BONFILS1_HEIGHT 25
  104. #define FELIX_BONFILS1_CELLS 1
  105. #define FRANCESCO_HAYEZ1_HANDLE 26
  106. #define FRANCESCO_HAYEZ1_WIDTH 25
  107. #define FRANCESCO_HAYEZ1_HEIGHT 25
  108. #define FRANCESCO_HAYEZ1_CELLS 1
  109. #define FRANCISCO_GOYA_LUCIENTES1_HANDLE 27
  110. #define FRANCISCO_GOYA_LUCIENTES1_WIDTH 25
  111. #define FRANCISCO_GOYA_LUCIENTES1_HEIGHT 25
  112. #define FRANCISCO_GOYA_LUCIENTES1_CELLS 1
  113. #define FRANCISCO_GOYA_LUCIENTES2_HANDLE 28
  114. #define FRANCISCO_GOYA_LUCIENTES2_WIDTH 25
  115. #define FRANCISCO_GOYA_LUCIENTES2_HEIGHT 25
  116. #define FRANCISCO_GOYA_LUCIENTES2_CELLS 1
  117. #define FRANCISCO_ZURBARAN1_HANDLE 29
  118. #define FRANCISCO_ZURBARAN1_WIDTH 25
  119. #define FRANCISCO_ZURBARAN1_HEIGHT 25
  120. #define FRANCISCO_ZURBARAN1_CELLS 1
  121. #define FRANZ_VON_DEFREGGER1_HANDLE 30
  122. #define FRANZ_VON_DEFREGGER1_WIDTH 25
  123. #define FRANZ_VON_DEFREGGER1_HEIGHT 25
  124. #define FRANZ_VON_DEFREGGER1_CELLS 1
  125. #define FRANZ_VON_DEFREGGER2_HANDLE 31
  126. #define FRANZ_VON_DEFREGGER2_WIDTH 25
  127. #define FRANZ_VON_DEFREGGER2_HEIGHT 25
  128. #define FRANZ_VON_DEFREGGER2_CELLS 1
  129. #define ASSETS_END 40000UL
  130. #define LOAD_ASSETS() (GD.safeload("p2.gd"), GD.loadptr = ASSETS_END)
  131. static const shape_t ADELAIDE_HANSCOM1_SHAPE = {0, 25, 25, 0};
  132. static const shape_t ALESSANDRO_ALLORI1_SHAPE = {1, 25, 25, 0};
  133. static const shape_t ALESSANDRO_ALLORI2_SHAPE = {2, 25, 25, 0};
  134. static const shape_t ALEXANDRE_CABANEL1_SHAPE = {3, 25, 25, 0};
  135. static const shape_t ALEXEI_HARLAMOV1_SHAPE = {4, 25, 25, 0};
  136. static const shape_t ALEXEY_PETROVICH_ANTROPOV1_SHAPE = {5, 25, 25, 0};
  137. static const shape_t ALICE_PIKE_BARNEY1_SHAPE = {6, 25, 25, 0};
  138. static const shape_t AMAN_THEODOR1_SHAPE = {7, 25, 25, 0};
  139. static const shape_t ANTONELLO_MESSINA1_SHAPE = {8, 25, 25, 0};
  140. static const shape_t ANTONIO_HERRERA_TORO1_SHAPE = {9, 25, 25, 0};
  141. static const shape_t BENJAMIN_CONSTANT1_SHAPE = {10, 25, 25, 0};
  142. static const shape_t BENOIST_MARIE_GUILLEMINE1_SHAPE = {11, 25, 25, 0};
  143. static const shape_t BOUGUEREAU_WILLIAM_ADOLPHE1_SHAPE = {12, 25, 25, 0};
  144. static const shape_t BYRON1_SHAPE = {13, 25, 25, 0};
  145. static const shape_t CARL_FREDRIC_BREDA1_SHAPE = {14, 25, 25, 0};
  146. static const shape_t CARL_FREDRIC_BREDA2_SHAPE = {15, 25, 25, 0};
  147. static const shape_t CRAMACJ_LUCAS1_SHAPE = {16, 25, 25, 0};
  148. static const shape_t CRANACH_LUCAS2_SHAPE = {17, 25, 25, 0};
  149. static const shape_t CRISTOBAL_ROJAS1_SHAPE = {18, 25, 25, 0};
  150. static const shape_t DELACROIX_EUGENE_FERDINAND_VICTOR1_SHAPE = {19, 25, 25, 0};
  151. static const shape_t DOMENIKOS_THEOTOKOPOULOS1_SHAPE = {20, 25, 25, 0};
  152. static const shape_t EDMUND_BLAIR_LEIGHTON1_SHAPE = {21, 25, 25, 0};
  153. static const shape_t EDMUND_BLAIR_LEIGHTON2_SHAPE = {22, 25, 25, 0};
  154. static const shape_t EDWIN_LONGSDEN_LONG1_SHAPE = {23, 25, 25, 0};
  155. static const shape_t FALERO_LUIS_RICARDO1_SHAPE = {24, 25, 25, 0};
  156. static const shape_t FELIX_BONFILS1_SHAPE = {25, 25, 25, 0};
  157. static const shape_t FRANCESCO_HAYEZ1_SHAPE = {26, 25, 25, 0};
  158. static const shape_t FRANCISCO_GOYA_LUCIENTES1_SHAPE = {27, 25, 25, 0};
  159. static const shape_t FRANCISCO_GOYA_LUCIENTES2_SHAPE = {28, 25, 25, 0};
  160. static const shape_t FRANCISCO_ZURBARAN1_SHAPE = {29, 25, 25, 0};
  161. static const shape_t FRANZ_VON_DEFREGGER1_SHAPE = {30, 25, 25, 0};
  162. static const shape_t FRANZ_VON_DEFREGGER2_SHAPE = {31, 25, 25, 0};
  163. struct {
  164. Bitmap adelaide_hanscom1;
  165. Bitmap alessandro_allori1;
  166. Bitmap alessandro_allori2;
  167. Bitmap alexandre_cabanel1;
  168. Bitmap alexei_harlamov1;
  169. Bitmap alexey_petrovich_antropov1;
  170. Bitmap alice_pike_barney1;
  171. Bitmap aman_theodor1;
  172. Bitmap antonello_messina1;
  173. Bitmap antonio_herrera_toro1;
  174. Bitmap benjamin_constant1;
  175. Bitmap benoist_marie_guillemine1;
  176. Bitmap bouguereau_william_adolphe1;
  177. Bitmap byron1;
  178. Bitmap carl_fredric_breda1;
  179. Bitmap carl_fredric_breda2;
  180. Bitmap cramacj_lucas1;
  181. Bitmap cranach_lucas2;
  182. Bitmap cristobal_rojas1;
  183. Bitmap delacroix_eugene_ferdinand_victor1;
  184. Bitmap domenikos_theotokopoulos1;
  185. Bitmap edmund_blair_leighton1;
  186. Bitmap edmund_blair_leighton2;
  187. Bitmap edwin_longsden_long1;
  188. Bitmap falero_luis_ricardo1;
  189. Bitmap felix_bonfils1;
  190. Bitmap francesco_hayez1;
  191. Bitmap francisco_goya_lucientes1;
  192. Bitmap francisco_goya_lucientes2;
  193. Bitmap francisco_zurbaran1;
  194. Bitmap franz_von_defregger1;
  195. Bitmap franz_von_defregger2;
  196. } bitmaps = {
  197. /* adelaide_hanscom1 */ {{ 25, 25}, { 12, 12}, 0x0UL, 6, 0},
  198. /* alessandro_allori1 */ {{ 25, 25}, { 12, 12}, 0x4e2UL, 6, 1},
  199. /* alessandro_allori2 */ {{ 25, 25}, { 12, 12}, 0x9c4UL, 6, 2},
  200. /* alexandre_cabanel1 */ {{ 25, 25}, { 12, 12}, 0xea6UL, 6, 3},
  201. /* alexei_harlamov1 */ {{ 25, 25}, { 12, 12}, 0x1388UL, 6, 4},
  202. /* alexey_petrovich_antropov1 */ {{ 25, 25}, { 12, 12}, 0x186aUL, 6, 5},
  203. /* alice_pike_barney1 */ {{ 25, 25}, { 12, 12}, 0x1d4cUL, 6, 6},
  204. /* aman_theodor1 */ {{ 25, 25}, { 12, 12}, 0x222eUL, 6, 7},
  205. /* antonello_messina1 */ {{ 25, 25}, { 12, 12}, 0x2710UL, 6, 8},
  206. /* antonio_herrera_toro1 */ {{ 25, 25}, { 12, 12}, 0x2bf2UL, 6, 9},
  207. /* benjamin_constant1 */ {{ 25, 25}, { 12, 12}, 0x30d4UL, 6, 10},
  208. /* benoist_marie_guillemine1 */ {{ 25, 25}, { 12, 12}, 0x35b6UL, 6, 11},
  209. /* bouguereau_william_adolphe1 */ {{ 25, 25}, { 12, 12}, 0x3a98UL, 6, 12},
  210. /* byron1 */ {{ 25, 25}, { 12, 12}, 0x3f7aUL, 6, 13},
  211. /* carl_fredric_breda1 */ {{ 25, 25}, { 12, 12}, 0x445cUL, 6, 14},
  212. /* carl_fredric_breda2 */ {{ 25, 25}, { 12, 12}, 0x493eUL, 6, 15},
  213. /* cramacj_lucas1 */ {{ 25, 25}, { 12, 12}, 0x4e20UL, 6, 16},
  214. /* cranach_lucas2 */ {{ 25, 25}, { 12, 12}, 0x5302UL, 6, 17},
  215. /* cristobal_rojas1 */ {{ 25, 25}, { 12, 12}, 0x57e4UL, 6, 18},
  216. /* delacroix_eugene_ferdinand_victor1 */ {{ 25, 25}, { 12, 12}, 0x5cc6UL, 6, 19},
  217. /* domenikos_theotokopoulos1 */ {{ 25, 25}, { 12, 12}, 0x61a8UL, 6, 20},
  218. /* edmund_blair_leighton1 */ {{ 25, 25}, { 12, 12}, 0x668aUL, 6, 21},
  219. /* edmund_blair_leighton2 */ {{ 25, 25}, { 12, 12}, 0x6b6cUL, 6, 22},
  220. /* edwin_longsden_long1 */ {{ 25, 25}, { 12, 12}, 0x704eUL, 6, 23},
  221. /* falero_luis_ricardo1 */ {{ 25, 25}, { 12, 12}, 0x7530UL, 6, 24},
  222. /* felix_bonfils1 */ {{ 25, 25}, { 12, 12}, 0x7a12UL, 6, 25},
  223. /* francesco_hayez1 */ {{ 25, 25}, { 12, 12}, 0x7ef4UL, 6, 26},
  224. /* francisco_goya_lucientes1 */ {{ 25, 25}, { 12, 12}, 0x83d6UL, 6, 27},
  225. /* francisco_goya_lucientes2 */ {{ 25, 25}, { 12, 12}, 0x88b8UL, 6, 28},
  226. /* francisco_zurbaran1 */ {{ 25, 25}, { 12, 12}, 0x8d9aUL, 6, 29},
  227. /* franz_von_defregger1 */ {{ 25, 25}, { 12, 12}, 0x927cUL, 6, 30},
  228. /* franz_von_defregger2 */ {{ 25, 25}, { 12, 12}, 0x975eUL, 6, 31}
  229. };