I've been working on a Boulder Dash based game for my kids to play when I came across some references to the BDCFF. After reading through that, I recoded my protoype to import and use caves in this format (0.32 by Tim Stridmann). This works pretty well, and so far I'm happy with the progress.
However, there's one area where it falls over flat which is the RandomFill option to randomly fill a map with various contents. My implementation of this is pretty dreadful and while it gave me pleasing results for what I wanted prior to working from the BDCFF spec, its very very wrong at producing levels imported from it. Line, Raster, etc all fine. RandomFill... horrible
Checking another post on this forum about RandomFill (BDCFF - RandSeed and RandomFill), I checked the references to a random number generator and also a random fill implementation in Pascal.
The only problem is I can't program in C or Pascal - nor can I read German
Has anyone tried writing the random number generator and fill function in C# and if so can any one offer any advice?
I have downloaded the GDash source to poke about it, but this is written in C and I don't have the foggiest where to even look for the random functionality, let alone how to convert it.
Any help or advice would be greatfully received!
Thanks;
Richard Moss