paysages3d/lib_paysages/auto.c
2013-03-31 20:27:21 +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();
}