Michaël Lemaire
bf87e72a4a
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@544 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
21 lines
298 B
C
21 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();
|
|
}
|