2012-01-24 13:16:20 +00:00
|
|
|
#include "auto.h"
|
|
|
|
|
2011-12-10 13:25:22 +00:00
|
|
|
#include <math.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
2012-01-29 17:39:56 +00:00
|
|
|
#include "render.h"
|
2012-01-23 23:45:33 +00:00
|
|
|
#include "scenery.h"
|
2012-01-29 17:39:56 +00:00
|
|
|
#include "system.h"
|
|
|
|
#include "zone.h"
|
2011-12-10 13:25:22 +00:00
|
|
|
|
|
|
|
void autoGenRealisticLandscape(int seed)
|
|
|
|
{
|
|
|
|
if (!seed)
|
|
|
|
{
|
|
|
|
seed = time(NULL);
|
|
|
|
}
|
|
|
|
srand(seed);
|
|
|
|
|
2013-01-30 14:30:06 +00:00
|
|
|
sceneryAutoPreset();
|
2011-12-10 13:25:22 +00:00
|
|
|
}
|