paysages3d/src/rendering/auto.c
2013-04-17 12:29:51 +00:00

22 lines
298 B
C

#include "auto.h"
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include "render.h"
#include "scenery.h"
#include "system.h"
#include "zone.h"
void autoGenRealisticLandscape(int seed)
{
if (!seed)
{
seed = time(NULL);
}
srand(seed);
sceneryAutoPreset();
}