paysages3d/lib_paysages/auto.c

22 lines
298 B
C
Raw Normal View History

#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();
}