Definition at line 70 of file tile2x2.h.
70 {
71 for (u16
x = 0;
x < 2; ++
x) {
72 for (u16
y = 0;
y < 2; ++
y) {
74 if (value > 0) {
77 if (
xymap.has(xx, yy)) {
78
79 u16 ux = static_cast<u16>(xx);
80 u16 uy = static_cast<u16>(yy);
81 int index =
xymap.mapToIndex(ux, uy);
82 if (index >= 0) {
83 u32 uindex = static_cast<u32>(index);
84 vec2<u16> pt(ux, uy);
85 visitor.draw(pt, uindex, value);
86 } else {
87
88
89 }
90 }
91 }
92 }
93 }
94 }
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
References at(), mOrigin, x, xymap, and y.