author | KUDr |
Thu, 16 Nov 2006 13:59:26 +0000 | |
changeset 5097 | c9ebf6608b16 |
parent 2989 | 916f9443345f |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
1784
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
3 |
#ifndef TREE_LAND_H |
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
4 |
#define TREE_LAND_H |
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
5 |
|
2989 | 6 |
static const SpriteID _tree_sprites_1[] = { |
7 |
SPR_FLAT_1_QUART_SNOWY_TILE, |
|
8 |
SPR_FLAT_2_QUART_SNOWY_TILE, |
|
9 |
SPR_FLAT_3_QUART_SNOWY_TILE, |
|
10 |
SPR_FLAT_SNOWY_TILE |
|
0 | 11 |
}; |
12 |
||
1784
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
13 |
static const byte _tree_base_by_landscape[4] = {0, 12, 20, 32}; |
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
14 |
static const byte _tree_count_by_landscape[4] = {12, 8, 12, 9}; |
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
15 |
|
2654
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
16 |
typedef struct TreePos { |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
17 |
uint8 x; |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
18 |
uint8 y; |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
19 |
} TreePos; |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
20 |
|
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
21 |
static const TreePos _tree_layout_xy[][4] = { |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
22 |
{ { 9, 3 }, { 1, 8 }, { 0, 0 }, { 8, 9 } }, |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
23 |
{ { 4, 4 }, { 9, 1 }, { 6, 9 }, { 0, 9 } }, |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
24 |
{ { 9, 1 }, { 0, 9 }, { 6, 6 }, { 3, 0 } }, |
1370de8783d3
(svn r3196) Use structs instead of magic offsets into arrays
tron
parents:
2548
diff
changeset
|
25 |
{ { 3, 9 }, { 8, 2 }, { 9, 9 }, { 1, 5 } } |
0 | 26 |
}; |
27 |
||
28 |
static const PalSpriteID _tree_layout_sprite[164+(79-48+1)][4] = { |
|
29 |
{ 0x652, 0x659, 0x660, 0x667}, /* 0 */ |
|
30 |
{ 0x652, 0x667, 0x66e, 0x675}, /* 1 */ |
|
31 |
{ 0x652, 0x66e, 0x659, 0x675}, /* 2 */ |
|
32 |
{ 0x652, 0x652, 0x660, 0x66e}, /* 3 */ |
|
33 |
{ 0x660, 0x667, 0x659, 0x652}, /* 4 */ |
|
34 |
{ 0x660, 0x675, 0x660, 0x660}, /* 5 */ |
|
35 |
{ 0x660, 0x652, 0x652, 0x66e}, /* 6 */ |
|
36 |
{ 0x660, 0x675, 0x667, 0x659}, /* 7 */ |
|
37 |
{ 0x675, 0x660, 0x675, 0x675}, /* 8 */ |
|
38 |
{ 0x675, 0x659, 0x652, 0x652}, /* 9 */ |
|
39 |
{ 0x675, 0x66e, 0x652, 0x652}, /* 10 */ |
|
40 |
{ 0x675, 0x667, 0x659, 0x667}, /* 11 */ |
|
41 |
{ 0x628, 0x652, 0x660, 0x62f}, /* 12 */ |
|
42 |
{ 0x628, 0x636, 0x675, 0x644}, /* 13 */ |
|
43 |
{ 0x628, 0x652, 0x63d, 0x66e}, /* 14 */ |
|
44 |
{ 0x628, 0x667, 0x644, 0x652}, /* 15 */ |
|
45 |
{ 0x644, 0x659, 0x660, 0x628}, /* 16 */ |
|
46 |
{ 0x644, 0x64b, 0x659, 0x636}, /* 17 */ |
|
47 |
{ 0x644, 0x675, 0x652, 0x63d}, /* 18 */ |
|
48 |
{ 0x644, 0x63d, 0x66e, 0x652}, /* 19 */ |
|
49 |
{ 0x636, 0x636, 0x628, 0x636}, /* 20 */ |
|
50 |
{ 0x636, 0x63d, 0x636, 0x636}, /* 21 */ |
|
51 |
{ 0x636, 0x64b, 0x636, 0x636}, /* 22 */ |
|
52 |
{ 0x636, 0x636, 0x636, 0x636}, /* 23 */ |
|
53 |
{ 0x64b, 0x628, 0x62f, 0x636}, /* 24 */ |
|
54 |
{ 0x64b, 0x63d, 0x644, 0x636}, /* 25 */ |
|
55 |
{ 0x64b, 0x636, 0x63d, 0x628}, /* 26 */ |
|
56 |
{ 0x64b, 0x64b, 0x636, 0x63d}, /* 27 */ |
|
57 |
{ 0x62f, 0x644, 0x644, 0x636}, /* 28 */ |
|
58 |
{ 0x62f, 0x62f, 0x636, 0x628}, /* 29 */ |
|
59 |
{ 0x62f, 0x64b, 0x636, 0x636}, /* 30 */ |
|
60 |
{ 0x62f, 0x636, 0x62f, 0x636}, /* 31 */ |
|
61 |
{ 0x67c, 0x675, 0x683, 0x67c}, /* 32 */ |
|
62 |
{ 0x67c, 0x69f, 0x67c, 0x659}, /* 33 */ |
|
63 |
{ 0x67c, 0x67c, 0x67c, 0x6a6}, /* 34 */ |
|
64 |
{ 0x67c, 0x691, 0x66e, 0x68a}, /* 35 */ |
|
65 |
{ 0x68a, 0x68a, 0x698, 0x68a}, /* 36 */ |
|
66 |
{ 0x68a, 0x698, 0x683, 0x68a}, /* 37 */ |
|
67 |
{ 0x68a, 0x67c, 0x691, 0x68a}, /* 38 */ |
|
68 |
{ 0x68a, 0x683, 0x6a6, 0x69f}, /* 39 */ |
|
69 |
{ 0x698, 0x68a, 0x698, 0x652}, /* 40 */ |
|
70 |
{ 0x698, 0x698, 0x660, 0x667}, /* 41 */ |
|
71 |
{ 0x698, 0x67c, 0x6a6, 0x698}, /* 42 */ |
|
72 |
{ 0x698, 0x698, 0x698, 0x691}, /* 43 */ |
|
73 |
{ 0x6a6, 0x6a6, 0x67c, 0x660}, /* 44 */ |
|
74 |
{ 0x6a6, 0x69f, 0x6a6, 0x652}, /* 45 */ |
|
75 |
{ 0x6a6, 0x67c, 0x6a6, 0x691}, /* 46 */ |
|
76 |
{ 0x6a6, 0x691, 0x69f, 0x6a6}, /* 47 */ |
|
77 |
{ 0x6ad, 0x6ad, 0x6ad, 0x6ad}, /* 48 */ |
|
78 |
{ 0x6ad, 0x6ad, 0x6c2, 0x6d0}, /* 49 */ |
|
79 |
{ 0x6ad, 0x6d7, 0x6ad, 0x6ad}, /* 50 */ |
|
80 |
{ 0x6ad, 0x6d0, 0x6c9, 0x6ad}, /* 51 */ |
|
81 |
{ 0x6d0, 0x6d0, 0x6d0, 0x6ad}, /* 52 */ |
|
82 |
{ 0x6d0, 0x6ad, 0x6d7, 0x6c9}, /* 53 */ |
|
83 |
{ 0x6d0, 0x6d7, 0x6d0, 0x6c2}, /* 54 */ |
|
84 |
{ 0x6d0, 0x6d0, 0x6d0, 0x6ad}, /* 55 */ |
|
85 |
{ 0x6d7, 0x6d7, 0x6d7, 0x6d7}, /* 56 */ |
|
86 |
{ 0x6d7, 0x6d7, 0x6ad, 0x6ad}, /* 57 */ |
|
87 |
{ 0x6d7, 0x6d0, 0x6d7, 0x6ad}, /* 58 */ |
|
88 |
{ 0x6d7, 0x6d7, 0x6d0, 0x6ad}, /* 59 */ |
|
89 |
{ 0x6c2, 0x6d0, 0x6c9, 0x6c2}, /* 60 */ |
|
90 |
{ 0x6c2, 0x6c9, 0x6c2, 0x6ad}, /* 61 */ |
|
91 |
{ 0x6c2, 0x6c2, 0x6c2, 0x6ad}, /* 62 */ |
|
92 |
{ 0x6c2, 0x6c2, 0x6c2, 0x6c9}, /* 63 */ |
|
93 |
{ 0x6c9, 0x6d0, 0x6b4, 0x6c2}, /* 64 */ |
|
94 |
{ 0x6c9, 0x6bb, 0x6de, 0x6d7}, /* 65 */ |
|
95 |
{ 0x6c9, 0x6c2, 0x6bb, 0x6b4}, /* 66 */ |
|
96 |
{ 0x6c9, 0x6bb, 0x6c2, 0x6de}, /* 67 */ |
|
97 |
{ 0x6b4, 0x6b4, 0x6de, 0x6c9}, /* 68 */ |
|
98 |
{ 0x6b4, 0x6bb, 0x6bb, 0x6ad}, /* 69 */ |
|
99 |
{ 0x6b4, 0x6de, 0x6bb, 0x6b4}, /* 70 */ |
|
100 |
{ 0x6b4, 0x6ad, 0x6c2, 0x6de}, /* 71 */ |
|
101 |
{ 0x6bb, 0x6d0, 0x6de, 0x6c2}, /* 72 */ |
|
102 |
{ 0x6bb, 0x6b4, 0x6bb, 0x6d7}, /* 73 */ |
|
103 |
{ 0x6bb, 0x6de, 0x6bb, 0x6b4}, /* 74 */ |
|
104 |
{ 0x6bb, 0x6c9, 0x6c2, 0x6de}, /* 75 */ |
|
105 |
{ 0x6de, 0x6d7, 0x6de, 0x6c2}, /* 76 */ |
|
106 |
{ 0x6de, 0x6bb, 0x6de, 0x6d0}, /* 77 */ |
|
107 |
{ 0x6de, 0x6de, 0x6bb, 0x6b4}, /* 78 */ |
|
108 |
{ 0x6de, 0x6c9, 0x6c2, 0x6de}, /* 79 */ |
|
109 |
{ 0x72b, 0x732, 0x72b, 0x739}, /* 80 */ |
|
110 |
{ 0x72b, 0x747, 0x755, 0x72b}, /* 81 */ |
|
111 |
{ 0x72b, 0x72b, 0x76a, 0x786}, /* 82 */ |
|
112 |
{ 0x72b, 0x74e, 0x72b, 0x72b}, /* 83 */ |
|
113 |
{ 0x732, 0x732, 0x72b, 0x739}, /* 84 */ |
|
114 |
{ 0x732, 0x747, 0x732, 0x732}, /* 85 */ |
|
115 |
{ 0x732, 0x732, 0x755, 0x794}, /* 86 */ |
|
116 |
{ 0x732, 0x74e, 0x732, 0x78d}, /* 87 */ |
|
117 |
{ 0x747, 0x732, 0x747, 0x740}, /* 88 */ |
|
118 |
{ 0x747, 0x747, 0x732, 0x76a}, /* 89 */ |
|
119 |
{ 0x747, 0x72b, 0x755, 0x747}, /* 90 */ |
|
120 |
{ 0x747, 0x786, 0x732, 0x747}, /* 91 */ |
|
121 |
{ 0x74e, 0x74e, 0x72b, 0x794}, /* 92 */ |
|
122 |
{ 0x74e, 0x755, 0x732, 0x74e}, /* 93 */ |
|
123 |
{ 0x74e, 0x72b, 0x786, 0x747}, /* 94 */ |
|
124 |
{ 0x74e, 0x74e, 0x732, 0x794}, /* 95 */ |
|
125 |
{ 0x76a, 0x76a, 0x74e, 0x74e}, /* 96 */ |
|
126 |
{ 0x76a, 0x794, 0x732, 0x76a}, /* 97 */ |
|
127 |
{ 0x76a, 0x732, 0x786, 0x76a}, /* 98 */ |
|
128 |
{ 0x76a, 0x786, 0x732, 0x78d}, /* 99 */ |
|
129 |
{ 0x78d, 0x78d, 0x74e, 0x794}, /* 100 */ |
|
130 |
{ 0x78d, 0x732, 0x739, 0x747}, /* 101 */ |
|
131 |
{ 0x78d, 0x732, 0x786, 0x76a}, /* 102 */ |
|
132 |
{ 0x78d, 0x786, 0x78d, 0x794}, /* 103 */ |
|
133 |
{ 0x786, 0x786, 0x740, 0x732}, /* 104 */ |
|
134 |
{ 0x786, 0x786, 0x72b, 0x732}, /* 105 */ |
|
135 |
{ 0x786, 0x732, 0x786, 0x786}, /* 106 */ |
|
136 |
{ 0x786, 0x786, 0x78d, 0x794}, /* 107 */ |
|
137 |
{ 0x778, 0x778, 0x77f, 0x778}, /* 108 */ |
|
138 |
{ 0x778, 0x77f, 0x778, 0x77f}, /* 109 */ |
|
139 |
{ 0x778, 0x77f, 0x77f, 0x778}, /* 110 */ |
|
140 |
{ 0x778, 0x778, 0x778, 0x77f}, /* 111 */ |
|
141 |
{ 0x75c, 0x71d, 0x75c, 0x724}, /* 112 */ |
|
142 |
{ 0x75c, 0x72b, 0x75c, 0x763}, /* 113 */ |
|
143 |
{ 0x75c, 0x75c, 0x771, 0x71d}, /* 114 */ |
|
144 |
{ 0x75c, 0x771, 0x75c, 0x75c}, /* 115 */ |
|
145 |
{ 0x771, 0x771, 0x75c, 0x71d}, /* 116 */ |
|
146 |
{ 0x771, 0x747, 0x75c, 0x771}, /* 117 */ |
|
147 |
{ 0x771, 0x75c, 0x771, 0x724}, /* 118 */ |
|
148 |
{ 0x771, 0x771, 0x75c, 0x763}, /* 119 */ |
|
149 |
{ 0x71d, 0x71d, 0x771, 0x724}, /* 120 */ |
|
150 |
{ 0x71d, 0x74e, 0x763, 0x71d}, /* 121 */ |
|
151 |
{ 0x71d, 0x724, 0x794, 0x71d}, /* 122 */ |
|
152 |
{ 0x71d, 0x71d, 0x75c, 0x78d}, /* 123 */ |
|
153 |
{ 0x794, 0x724, 0x75c, 0x794}, /* 124 */ |
|
154 |
{ 0x794, 0x794, 0x75c, 0x71d}, /* 125 */ |
|
155 |
{ 0x794, 0x724, 0x794, 0x71d}, /* 126 */ |
|
156 |
{ 0x794, 0x794, 0x771, 0x78d}, /* 127 */ |
|
2187
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
157 |
{ 0x79b | PALETTE_TO_RED, 0x79b | PALETTE_TO_PALE_GREEN, 0x79b | PALETTE_TO_MAUVE, 0x79b | PALETTE_TO_PURPLE}, /* 128 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
158 |
{ 0x79b, 0x79b | PALETTE_TO_GREY, 0x79b | PALETTE_TO_GREEN, 0x79b | PALETTE_TO_WHITE}, /* 129 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
159 |
{ 0x79b | PALETTE_TO_GREEN, 0x79b | PALETTE_TO_ORANGE, 0x79b | PALETTE_TO_PINK, 0x79b}, /* 130 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
160 |
{ 0x79b | PALETTE_TO_YELLOW, 0x79b | PALETTE_TO_RED, 0x79b | PALETTE_TO_CREAM, 0x79b | PALETTE_TO_RED}, /* 131 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
161 |
{ 0x7a2, 0x7a2 | PALETTE_TO_RED, 0x7a2 | PALETTE_TO_PINK, 0x7a2 | PALETTE_TO_PURPLE}, /* 132 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
162 |
{ 0x7a2 | PALETTE_TO_MAUVE, 0x7a2 | PALETTE_TO_GREEN, 0x7a2 | PALETTE_TO_PINK, 0x7a2 | PALETTE_TO_GREY}, /* 133 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
163 |
{ 0x7a2 | PALETTE_TO_RED, 0x7a2 | PALETTE_TO_PALE_GREEN, 0x7a2 | PALETTE_TO_YELLOW, 0x7a2 | PALETTE_TO_WHITE}, /* 134 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
164 |
{ 0x7a2 | PALETTE_TO_ORANGE, 0x7a2 | PALETTE_TO_MAUVE, 0x7a2 | PALETTE_TO_CREAM, 0x7a2 | PALETTE_TO_BROWN}, /* 135 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
165 |
{ 0x7a9 | PALETTE_TO_RED, 0x7a9, 0x7a9 | PALETTE_TO_ORANGE, 0x7a9 | PALETTE_TO_GREY}, /* 136 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
166 |
{ 0x7a9 | PALETTE_TO_ORANGE, 0x7a9 | PALETTE_TO_GREEN, 0x7a9 | PALETTE_TO_PALE_GREEN, 0x7a9 | PALETTE_TO_MAUVE}, /* 137 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
167 |
{ 0x7a9 | PALETTE_TO_PINK, 0x7a9 | PALETTE_TO_RED, 0x7a9 | PALETTE_TO_GREEN, 0x7a9 | PALETTE_TO_BROWN}, /* 138 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
168 |
{ 0x7a9 | PALETTE_TO_GREEN, 0x7a9, 0x7a9 | PALETTE_TO_RED, 0x7a9 | PALETTE_TO_CREAM}, /* 139 */ |
0 | 169 |
{ 0x7b0, 0x7b0, 0x7b0, 0x7b0}, /* 140 */ |
170 |
{ 0x7b0, 0x7b0, 0x7b0, 0x7b0}, /* 141 */ |
|
171 |
{ 0x7b0, 0x7b0, 0x7b0, 0x7b0}, /* 142 */ |
|
172 |
{ 0x7b0, 0x7b0, 0x7b0, 0x7b0}, /* 143 */ |
|
2187
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
173 |
{ 0x7b7 | PALETTE_TO_PINK, 0x7b7 | PALETTE_TO_RED, 0x7b7 | PALETTE_TO_ORANGE, 0x7b7 | PALETTE_TO_MAUVE}, /* 144 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
174 |
{ 0x7b7 | PALETTE_TO_RED, 0x7b7, 0x7b7 | PALETTE_TO_GREY, 0x7b7 | PALETTE_TO_CREAM}, /* 145 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
175 |
{ 0x7b7 | PALETTE_TO_GREEN, 0x7b7 | PALETTE_TO_BROWN, 0x7b7 | PALETTE_TO_PINK, 0x7b7 | PALETTE_TO_RED}, /* 146 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
176 |
{ 0x7b7, 0x7b7 | PALETTE_TO_PALE_GREEN, 0x7b7 | PALETTE_TO_ORANGE, 0x7b7 | PALETTE_TO_RED}, /* 147 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
177 |
{ 0x7be | PALETTE_TO_RED, 0x7be | PALETTE_TO_PINK, 0x7be | PALETTE_TO_GREEN, 0x7be}, /* 148 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
178 |
{ 0x7be | PALETTE_TO_GREEN, 0x7be | PALETTE_TO_BROWN, 0x7be | PALETTE_TO_PURPLE, 0x7be | PALETTE_TO_GREY}, /* 149 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
179 |
{ 0x7be | PALETTE_TO_MAUVE, 0x7be | PALETTE_TO_CREAM, 0x7be | PALETTE_TO_ORANGE, 0x7be | PALETTE_TO_RED}, /* 150 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
180 |
{ 0x7be, 0x7be | PALETTE_TO_RED, 0x7be | PALETTE_TO_PALE_GREEN, 0x7be | PALETTE_TO_PINK}, /* 151 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
181 |
{ 0x7c5 | PALETTE_TO_YELLOW, 0x7c5 | PALETTE_TO_RED, 0x7c5 | PALETTE_TO_WHITE, 0x7c5 | PALETTE_TO_CREAM}, /* 152 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
182 |
{ 0x7c5 | PALETTE_TO_RED, 0x7c5 | PALETTE_TO_PALE_GREEN, 0x7c5 | PALETTE_TO_BROWN, 0x7c5 | PALETTE_TO_YELLOW}, /* 153 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
183 |
{ 0x7c5, 0x7c5 | PALETTE_TO_PURPLE, 0x7c5 | PALETTE_TO_GREEN, 0x7c5 | PALETTE_TO_YELLOW}, /* 154 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
184 |
{ 0x7c5 | PALETTE_TO_PINK, 0x7c5 | PALETTE_TO_CREAM, 0x7c5, 0x7c5 | PALETTE_TO_GREY}, /* 155 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
185 |
{ 0x7cc | PALETTE_TO_YELLOW, 0x7cc | PALETTE_TO_GREY, 0x7cc | PALETTE_TO_PURPLE, 0x7cc | PALETTE_TO_BROWN}, /* 156 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
186 |
{ 0x7cc | PALETTE_TO_GREEN, 0x7cc, 0x7cc | PALETTE_TO_CREAM, 0x7cc | PALETTE_TO_WHITE}, /* 157 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
187 |
{ 0x7cc | PALETTE_TO_RED, 0x7cc | PALETTE_TO_PALE_GREEN, 0x7cc | PALETTE_TO_MAUVE, 0x7cc | PALETTE_TO_RED}, /* 158 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
188 |
{ 0x7cc | PALETTE_TO_PINK, 0x7cc | PALETTE_TO_ORANGE, 0x7cc | PALETTE_TO_GREEN, 0x7cc | PALETTE_TO_YELLOW}, /* 159 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
189 |
{ 0x7d3 | PALETTE_TO_RED, 0x7d3 | PALETTE_TO_PINK, 0x7d3 | PALETTE_TO_BROWN, 0x7d3 | PALETTE_TO_WHITE}, /* 160 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
190 |
{ 0x7d3 | PALETTE_TO_GREEN, 0x7d3 | PALETTE_TO_ORANGE, 0x7d3 | PALETTE_TO_GREY, 0x7d3 | PALETTE_TO_MAUVE}, /* 161 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
191 |
{ 0x7d3 | PALETTE_TO_YELLOW, 0x7d3 | PALETTE_TO_PALE_GREEN, 0x7d3, 0x7d3 | PALETTE_TO_CREAM}, /* 162 */ |
a0e206ce9fbf
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
celestar
parents:
2186
diff
changeset
|
192 |
{ 0x7d3 | PALETTE_TO_GREY, 0x7d3 | PALETTE_TO_RED, 0x7d3 | PALETTE_TO_WHITE, 0x7d3}, /* 163 */ |
0 | 193 |
/* the extra things follow */ |
194 |
{ 0x6e5, 0x6e5, 0x6e5, 0x6e5}, /* 0 */ |
|
195 |
{ 0x6e5, 0x6e5, 0x6fa, 0x708}, /* 1 */ |
|
196 |
{ 0x6e5, 0x70f, 0x6e5, 0x6e5}, /* 2 */ |
|
197 |
{ 0x6e5, 0x708, 0x701, 0x6e5}, /* 3 */ |
|
198 |
{ 0x708, 0x708, 0x708, 0x6e5}, /* 4 */ |
|
199 |
{ 0x708, 0x6e5, 0x70f, 0x701}, /* 5 */ |
|
200 |
{ 0x708, 0x70f, 0x708, 0x6fa}, /* 6 */ |
|
201 |
{ 0x708, 0x708, 0x708, 0x6e5}, /* 7 */ |
|
202 |
{ 0x70f, 0x70f, 0x70f, 0x70f}, /* 8 */ |
|
203 |
{ 0x70f, 0x70f, 0x6e5, 0x6e5}, /* 9 */ |
|
204 |
{ 0x70f, 0x708, 0x70f, 0x6e5}, /* 10 */ |
|
205 |
{ 0x70f, 0x70f, 0x708, 0x6e5}, /* 11 */ |
|
206 |
{ 0x6fa, 0x708, 0x701, 0x6fa}, /* 12 */ |
|
207 |
{ 0x6fa, 0x701, 0x6fa, 0x6e5}, /* 13 */ |
|
208 |
{ 0x6fa, 0x6fa, 0x6fa, 0x6e5}, /* 14 */ |
|
209 |
{ 0x6fa, 0x6fa, 0x6fa, 0x701}, /* 15 */ |
|
210 |
{ 0x701, 0x708, 0x6ec, 0x6fa}, /* 16 */ |
|
211 |
{ 0x701, 0x6f3, 0x716, 0x70f}, /* 17 */ |
|
212 |
{ 0x701, 0x6fa, 0x6f3, 0x6ec}, /* 18 */ |
|
213 |
{ 0x701, 0x6f3, 0x6fa, 0x716}, /* 19 */ |
|
214 |
{ 0x6ec, 0x6ec, 0x716, 0x701}, /* 20 */ |
|
215 |
{ 0x6ec, 0x6f3, 0x6f3, 0x6e5}, /* 21 */ |
|
216 |
{ 0x6ec, 0x716, 0x6f3, 0x6ec}, /* 22 */ |
|
217 |
{ 0x6ec, 0x6e5, 0x6fa, 0x716}, /* 23 */ |
|
218 |
{ 0x6f3, 0x708, 0x716, 0x6fa}, /* 24 */ |
|
219 |
{ 0x6f3, 0x6ec, 0x6f3, 0x70f}, /* 25 */ |
|
220 |
{ 0x6f3, 0x716, 0x6f3, 0x6ec}, /* 26 */ |
|
221 |
{ 0x6f3, 0x701, 0x6fa, 0x716}, /* 27 */ |
|
222 |
{ 0x716, 0x70f, 0x716, 0x6fa}, /* 28 */ |
|
223 |
{ 0x716, 0x6f3, 0x716, 0x708}, /* 29 */ |
|
224 |
{ 0x716, 0x716, 0x6f3, 0x6ec}, /* 30 */ |
|
225 |
{ 0x716, 0x701, 0x6fa, 0x716}, /* 31 */ |
|
226 |
}; |
|
1784
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
227 |
|
d0698aac0c2e
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater
parents:
0
diff
changeset
|
228 |
#endif /* TREE_LAND_H */ |