
The code used is here:
FloodFill_R(10,30,0xFFFF,fillBuffer,GrayGetPlane(LIGHT_PLANE));FloodFill_R(54,20,0xFFFF,fillBuffer,GrayGetPlane(LIGHT_PLANE));FloodFill_R(98,10,0xFFFF,fillBuffer,GrayGetPlane(LIGHT_PLANE));FloodFill_R(98,29,0xFFFF,fillBuffer,GrayGetPlane(DARK_PLANE));FloodFill_R(54,39,0xFFFF,fillBuffer,GrayGetPlane(DARK_PLANE));
where fillBuffer is created with:
if ((fillBuffer=malloc(LCD_SIZE))==NULL){ ST_helpMsg(mem_error); goto NO_MEM_ERROR; }Yes, I know that I don't have to use floodfill here, that I could just use two sprites, but there will be a point later in the making of this game that I will have to use floodfill, so I might as well get this straightened out now.
