2011-12-10 13:25:22 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "IL/il.h"
|
|
|
|
#include "IL/ilu.h"
|
|
|
|
|
|
|
|
#include "shared/types.h"
|
|
|
|
#include "shared/constants.h"
|
|
|
|
#include "shared/functions.h"
|
|
|
|
#include "shared/globals.h"
|
|
|
|
|
2011-12-23 22:39:13 +00:00
|
|
|
void paysagesInit()
|
2011-12-10 13:25:22 +00:00
|
|
|
{
|
|
|
|
ilInit();
|
|
|
|
iluInit();
|
|
|
|
|
2011-12-18 21:59:33 +00:00
|
|
|
cameraSetLocation(-12.0, 5.0, 2.0);
|
2011-12-10 13:25:22 +00:00
|
|
|
cameraSetTarget(0.0, 5.0, 0.0);
|
2011-12-18 21:59:33 +00:00
|
|
|
|
2011-12-10 13:25:22 +00:00
|
|
|
autoInit();
|
2011-12-18 21:59:33 +00:00
|
|
|
|
2011-12-10 13:25:22 +00:00
|
|
|
autoSetRenderQuality(5);
|
|
|
|
autoGenRealisticLandscape(0);
|
|
|
|
autoSetDaytime(8, 30);
|
|
|
|
}
|