author | truelight |
Sat, 19 May 2007 23:52:04 +0000 | |
changeset 6654 | 31d17823506f |
parent 6583 | 71d62b85d3ad |
child 9111 | 48ce04029fe4 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5669
diff
changeset
|
3 |
struct WaterDrawTileStruct { |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
4 |
byte delta_x; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
5 |
byte delta_y; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
6 |
byte delta_z; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
7 |
byte width; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
8 |
byte height; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
9 |
byte unk; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
10 |
SpriteID image; |
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5669
diff
changeset
|
11 |
}; |
222
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
12 |
|
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
13 |
#define BEGIN(image) { 0, 0, 0, 0, 0, 0, image } |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
14 |
#define END(y) { 0x80, y, 0, 0, 0, 0, 0 } |
0 | 15 |
|
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
16 |
static const WaterDrawTileStruct _shipdepot_display_seq_1[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
17 |
BEGIN(0xFDD), |
5669
631901f52707
(svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents:
5475
diff
changeset
|
18 |
{ 0, 15, 0, 16, 1, 0x14, 0xFE8 | (1 << PALETTE_MODIFIER_COLOR) }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
19 |
END(0) |
0 | 20 |
}; |
21 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
22 |
static const WaterDrawTileStruct _shipdepot_display_seq_2[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
23 |
BEGIN(0xFDD), |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
24 |
{ 0, 0, 0, 16, 1, 0x14, 0xFEA }, |
5669
631901f52707
(svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents:
5475
diff
changeset
|
25 |
{ 0, 15, 0, 16, 1, 0x14, 0xFE6 | (1 << PALETTE_MODIFIER_COLOR) }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
26 |
END(0) |
0 | 27 |
}; |
28 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
29 |
static const WaterDrawTileStruct _shipdepot_display_seq_3[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
30 |
BEGIN(0xFDD), |
5669
631901f52707
(svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents:
5475
diff
changeset
|
31 |
{ 15, 0, 0, 1, 0x10, 0x14, 0xFE9 | (1 << PALETTE_MODIFIER_COLOR) }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
32 |
END(0) |
0 | 33 |
}; |
34 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
35 |
static const WaterDrawTileStruct _shipdepot_display_seq_4[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
36 |
BEGIN(0xFDD), |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
37 |
{ 0, 0, 0, 1, 16, 0x14, 0xFEB }, |
5669
631901f52707
(svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents:
5475
diff
changeset
|
38 |
{ 15, 0, 0, 1, 16, 0x14, 0xFE7 | (1 << PALETTE_MODIFIER_COLOR) }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
39 |
END(0) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
40 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
41 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
42 |
static const WaterDrawTileStruct* const _shipdepot_display_seq[] = { |
0 | 43 |
_shipdepot_display_seq_1, |
44 |
_shipdepot_display_seq_2, |
|
45 |
_shipdepot_display_seq_3, |
|
46 |
_shipdepot_display_seq_4, |
|
47 |
}; |
|
48 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
49 |
static const WaterDrawTileStruct _shiplift_display_seq_0[] = { |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
50 |
BEGIN(1), |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
51 |
{ 0, 0, 0, 0x10, 1, 0x14, 0 + 1 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
52 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 4 + 1 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
53 |
END(0) |
0 | 54 |
}; |
55 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
56 |
static const WaterDrawTileStruct _shiplift_display_seq_1[] = { |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
57 |
BEGIN(0), |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
58 |
{ 0, 0, 0, 1, 0x10, 0x14, 0 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
59 |
{ 0xF, 0, 0, 1, 0x10, 0x14, 4 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
60 |
END(0) |
0 | 61 |
}; |
62 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
63 |
static const WaterDrawTileStruct _shiplift_display_seq_2[] = { |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
64 |
BEGIN(2), |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
65 |
{ 0, 0, 0, 0x10, 1, 0x14, 0 + 2 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
66 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 4 + 2 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
67 |
END(0) |
0 | 68 |
}; |
69 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
70 |
static const WaterDrawTileStruct _shiplift_display_seq_3[] = { |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
71 |
BEGIN(3), |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
72 |
{ 0, 0, 0, 1, 0x10, 0x14, 0 + 3 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
73 |
{ 0xF, 0, 0, 1, 0x10, 0x14, 4 + 3 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
74 |
END(0) |
0 | 75 |
}; |
76 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
77 |
static const WaterDrawTileStruct _shiplift_display_seq_0b[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
78 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
79 |
{ 0, 0, 0, 0x10, 1, 0x14, 8 + 1 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
80 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 12 + 1 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
81 |
END(0) |
0 | 82 |
}; |
83 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
84 |
static const WaterDrawTileStruct _shiplift_display_seq_1b[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
85 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
86 |
{ 0, 0, 0, 0x1, 0x10, 0x14, 8 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
87 |
{ 0xF, 0, 0, 0x1, 0x10, 0x14, 12 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
88 |
END(0) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
89 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
90 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
91 |
static const WaterDrawTileStruct _shiplift_display_seq_2b[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
92 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
93 |
{ 0, 0, 0, 0x10, 1, 0x14, 8 + 2 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
94 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 12 + 2 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
95 |
END(0) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
96 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
97 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
98 |
static const WaterDrawTileStruct _shiplift_display_seq_3b[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
99 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
100 |
{ 0, 0, 0, 1, 0x10, 0x14, 8 + 3 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
101 |
{ 0xF, 0, 0, 1, 0x10, 0x14, 12 + 3 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
102 |
END(0) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
103 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
104 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
105 |
static const WaterDrawTileStruct _shiplift_display_seq_0t[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
106 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
107 |
{ 0, 0, 0, 0x10, 1, 0x14, 16 + 1 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
108 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 20 + 1 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
109 |
END(8) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
110 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
111 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
112 |
static const WaterDrawTileStruct _shiplift_display_seq_1t[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
113 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
114 |
{ 0, 0, 0, 0x1, 0x10, 0x14, 16 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
115 |
{ 0xF, 0, 0, 0x1, 0x10, 0x14, 20 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
116 |
END(8) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
117 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
118 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
119 |
static const WaterDrawTileStruct _shiplift_display_seq_2t[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
120 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
121 |
{ 0, 0, 0, 0x10, 1, 0x14, 16 + 2 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
122 |
{ 0, 0xF, 0, 0x10, 1, 0x14, 20 + 2 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
123 |
END(8) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
124 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
125 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
126 |
static const WaterDrawTileStruct _shiplift_display_seq_3t[] = { |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
127 |
BEGIN(0xFDD), |
6583
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
128 |
{ 0, 0, 0, 1, 0x10, 0x14, 16 + 3 }, |
71d62b85d3ad
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
peter1138
parents:
6248
diff
changeset
|
129 |
{ 0xF, 0, 0, 1, 0x10, 0x14, 20 + 3 }, |
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
130 |
END(8) |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
131 |
}; |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
132 |
|
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
133 |
static const WaterDrawTileStruct* const _shiplift_display_seq[] = { |
0 | 134 |
_shiplift_display_seq_0, |
135 |
_shiplift_display_seq_1, |
|
136 |
_shiplift_display_seq_2, |
|
137 |
_shiplift_display_seq_3, |
|
138 |
||
139 |
_shiplift_display_seq_0b, |
|
140 |
_shiplift_display_seq_1b, |
|
141 |
_shiplift_display_seq_2b, |
|
142 |
_shiplift_display_seq_3b, |
|
143 |
||
144 |
_shiplift_display_seq_0t, |
|
145 |
_shiplift_display_seq_1t, |
|
146 |
_shiplift_display_seq_2t, |
|
147 |
_shiplift_display_seq_3t, |
|
148 |
}; |
|
149 |
||
1399
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
150 |
#undef BEGIN |
61e7c68e9da6
(svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
tron
parents:
222
diff
changeset
|
151 |
#undef END |