24 lines
536 B
Plaintext
24 lines
536 B
Plaintext
draw_set_color(c_white);
|
|
var i, j;
|
|
for (i=0; i<array_length(global.map); i++) {
|
|
for (j=0; j<array_length(global.map[i]); j++) {
|
|
draw_rectangle(
|
|
i*global.tilesize.x,
|
|
j*global.tilesize.y,
|
|
(i+1)*global.tilesize.x,
|
|
(j+1)*global.tilesize.y, false
|
|
);
|
|
}
|
|
}
|
|
draw_set_color(c_black);
|
|
var i, j;
|
|
for (i=0; i<array_length(global.map); i++) {
|
|
for (j=0; j<array_length(global.map[i]); j++) {
|
|
draw_rectangle(
|
|
i*global.tilesize.x,
|
|
j*global.tilesize.y,
|
|
(i+1)*global.tilesize.x-1,
|
|
(j+1)*global.tilesize.y-1, true
|
|
);
|
|
}
|
|
} |