#include <acknex.h>
#include <default.c>
BMAP* map;
BMAP* plain_tile_a = "plain.tga";
var plaincount = 0;
PANEL* viewer =
{
layer = 1;
alpha = 100;
flags = SHOW | TRANSLUCENT;
}
PANEL* infos =
{
pos_x = 1024;
pos_y = 50;
layer = 99999;
digits(0, 0, "Bitmapcount = %.0f", *, 1, plaincount);
flags = SHOW | TRANSLUCENT;
}
void main()
{
video_mode = 9;
level_load(NULL);
wait(3);
map = bmap_createblack(2048, 2048, 32);
bmap_fill(map, vector(1,1,1), 100);
viewer.bmap = map;
viewer.scale_x = 0.35;
viewer.scale_y = 0.35;
plaincount = 0;
while(plaincount < 500)
{
bmap_blit(map, plain_tile_a, vector(random(2048), random(2048), 0), vector(random(512), random(512), 0));
plaincount += 1;
wait(1);
}
}