TextBackgrounds.pp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. unit TextBackgrounds;
  2. interface
  3. uses
  4. ctypes;
  5. //======================================================================
  6. //
  7. // Layer128x128, 128x128@8,
  8. // + regular map (flat), not compressed, 16x16
  9. // Total size: 512 = 512
  10. //
  11. // Time-stamp: 2007-12-05, 16:39:14
  12. // Exported by Cearn's GBA Image Transmogrifier
  13. // ( http://www.coranac.com )
  14. //
  15. //======================================================================
  16. const
  17. Layer128x128MapLen = 512;
  18. var
  19. Layer128x128Map: array [0..255] of cushort; cvar; external;
  20. //======================================================================
  21. //
  22. // Layer256x256, 256x256@8,
  23. // + regular map (flat), not compressed, 32x32
  24. // Total size: 2048 = 2048
  25. //
  26. // Time-stamp: 2007-12-05, 16:39:14
  27. // Exported by Cearn's GBA Image Transmogrifier
  28. // ( http://www.coranac.com )
  29. //
  30. //======================================================================
  31. const
  32. Layer256x256MapLen = 2048;
  33. var
  34. Layer256x256Map: array [0..1023] of cushort; cvar; external;
  35. //======================================================================
  36. //
  37. // Layer_512x512, 512x512@8,
  38. // + regular map (flat), not compressed, 64x64
  39. // Total size: 8192 = 8192
  40. //
  41. // Time-stamp: 2007-12-05, 16:39:14
  42. // Exported by Cearn's GBA Image Transmogrifier
  43. // ( http://www.coranac.com )
  44. //
  45. //======================================================================
  46. const
  47. Layer512x512MapLen = 8192;
  48. var
  49. Layer512x512Map: array [0..4095] of cushort; cvar; external;
  50. //======================================================================
  51. //
  52. // Layer1024x1024, 1024x1024@8,
  53. // + regular map (flat), not compressed, 128x128
  54. // Total size: 32768 = 32768
  55. //
  56. // Time-stamp: 2007-12-05, 16:39:14
  57. // Exported by Cearn's GBA Image Transmogrifier
  58. // ( http://www.coranac.com )
  59. //
  60. //======================================================================
  61. const
  62. Layer1024x1024MapLen = 32768;
  63. var
  64. Layer1024x1024Map: array [0..16383] of cushort; cvar; external;
  65. //======================================================================
  66. //
  67. // Layer256x512, 256x512@8,
  68. // + regular map (flat), not compressed, 32x64
  69. // Total size: 4096 = 4096
  70. //
  71. // Time-stamp: 2007-12-05, 16:39:14
  72. // Exported by Cearn's GBA Image Transmogrifier
  73. // ( http://www.coranac.com )
  74. //
  75. //======================================================================
  76. const
  77. Layer256x512MapLen = 4096;
  78. var
  79. Layer256x512Map: array [0..2047] of cushort; cvar; external;
  80. //======================================================================
  81. //
  82. // Layer512x256, 512x256@8,
  83. // + regular map (flat), not compressed, 64x32
  84. // Total size: 4096 = 4096
  85. //
  86. // Time-stamp: 2007-12-05, 16:39:14
  87. // Exported by Cearn's GBA Image Transmogrifier
  88. // ( http://www.coranac.com )
  89. //
  90. //======================================================================
  91. const
  92. Layer512x256MapLen = 4096;
  93. var
  94. Layer512x256Map: array [0..2047] of cushort; cvar; external;
  95. //======================================================================
  96. //
  97. // TextBackgrounds, 8x6512@8,
  98. // + palette 256 entries, not compressed
  99. // + 814 tiles not compressed
  100. // Total size: 512 + 52096 = 52608
  101. //
  102. // Time-stamp: 2007-12-05, 16:39:14
  103. // Exported by Cearn's GBA Image Transmogrifier
  104. // ( http://www.coranac.com )
  105. //
  106. //======================================================================
  107. const
  108. TextBackgroundsPalLen = 512;
  109. TextBackgroundsTilesLen = 52096;
  110. var
  111. TextBackgroundsPal: array [0..255] of cushort; cvar; external;
  112. TextBackgroundsTiles: array [0..13023] of cuint; cvar; external;
  113. implementation
  114. end.