summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/libndsfpc/examples/graphics/Backgrounds/all_in_one/Multilayer.pp
blob: 4d172bfa57e7a3a26776c09580be6dccbd3a9efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
unit Multilayer;

interface

uses
  ctypes;
  
//======================================================================
//
//	Layer_1, 256x256@8, 
//	+ regular map (flat), not compressed, 32x32 
//	Total size: 2048 = 2048
//
//	Time-stamp: 2007-12-07, 18:17:34
//	Exported by Cearn's GBA Image Transmogrifier
//	( http://www.coranac.com )
//
//======================================================================
const
  Layer_1MapLen = 2048;
var
  Layer_1Map: array [0..1023] of cushort; cvar; external;

//======================================================================
//
//	Layer_2, 256x256@8, 
//	+ regular map (flat), not compressed, 32x32 
//	Total size: 2048 = 2048
//
//	Time-stamp: 2007-12-07, 18:17:34
//	Exported by Cearn's GBA Image Transmogrifier
//	( http://www.coranac.com )
//
//======================================================================
const
  Layer_2MapLen = 2048;
var
  Layer_2Map: array [0..1023] of cushort; cvar; external;

//======================================================================
//
//	Layer_3, 256x256@8, 
//	+ regular map (flat), not compressed, 32x32 
//	Total size: 2048 = 2048
//
//	Time-stamp: 2007-12-07, 18:17:34
//	Exported by Cearn's GBA Image Transmogrifier
//	( http://www.coranac.com )
//
//======================================================================
const
  Layer_3MapLen = 2048;
var
  Layer_3Map: array [0..1023] of cushort; cvar; external;

//======================================================================
//
//	Multilayer, 8x2504@8, 
//	+ palette 256 entries, not compressed
//	+ 313 tiles not compressed
//	Total size: 512 + 20032 = 20544
//
//	Time-stamp: 2007-12-07, 18:17:35
//	Exported by Cearn's GBA Image Transmogrifier
//	( http://www.coranac.com )
//
//======================================================================
const
  MultilayerPalLen = 512;
  MultilayerTilesLen = 20032;
var
  MultilayerPal: array [0..255] of cushort; cvar; external;
  MultilayerTiles: array [0..5007] of cuint; cvar; external;

implementation
end.