Its the weekend again, and that means I get to play with my hobby project.
I've gotten tired of creating test levels by hand, so I thought I'd take a break from engine development and work on a level editor:
I'd like to implement a flood fill algorithm in the editor, which would work just like in a paint program. Does anyone have any pointers on what technique would work good for me here?
The level is just a 2d array, so it could be considered the same as a bitmap really.