There is a task at hand, code wise. The perlin noise generator I use, stored in the gridArray.h. gridArray.c themes.h and themes.c needs a rewrite. Current one is adapted from TTD new terrain generator, it is slow, old, written in c and, worst of all, leaks memory like mad :>.
so I need something like this:
Code: Select all
class perlin_gen
{
double getNoise2d(x,y);
};