Floodfills an enclosed area. allegro game programming library.
#include <allegro.h>
void floodfill(BITMAP *bmp, int x, int y, int color);
Floodfills an enclosed area, starting at point (x, y), with the specified color.
drawing_mode(3alleg4), makecol(3alleg4)