Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mkterr.c File Reference

#include "conq.h"
#include "kernel.h"

Include dependency graph for mkterr.c:

Include dependency graph

Defines

#define MAXALT   4000

Enumerations

enum  el_ttypes {
  el_sea, el_desert, el_plains, el_forest,
  el_ice, numeltypes
}

Functions

int any_borders_in_dir (int x, int y, int dir)
int make_fractal_terrain (int calls, int runs)
int make_random_terrain (int calls, int runs)
int make_earthlike_terrain (int calls, int runs)
int make_maze_terrain (int calls, int runs)
int name_geographical_features (int calls, int runs)
void add_edge_terrain (void)
void set_edge_terrain (int doterr)

Variables

TRegionlandsea_region_list
TRegionterrain_region_list
int * histo
int * alts
int * wets
int stepsize = 20
int partdone
int seatype = NONTTYPE
int landtype = NONTTYPE
int deserttype = NONTTYPE
int foresttype = NONTTYPE
int icetype = NONTTYPE
int coast_distance = 0
int el_alt_blob_size = 400
int el_alt_blob_density = 10000
int el_alt_blob_height = 500
int el_alt_smoothing = 2
int el_wet_blob_size = 1000
int el_wet_blob_density = 200
int el_wet_blob_height = 100
int el_wet_smoothing = 10
int * el_alt_min
int * el_alt_max
int * el_wet_min
int * el_wet_max
int numsolidtypes = 0
int numroomtypes = 0
int numpassagetypes = 0
int sumsolidoccur = 0
int sumroomoccur = 0
int sumpassageoccur = 0
int solidtype = NONTTYPE
int roomtype = NONTTYPE
int passagetype = NONTTYPE
int numpassagecells = 0

Define Documentation

#define MAXALT   4000
 


Enumeration Type Documentation

enum el_ttypes
 

Enumeration values:
el_sea 
el_desert 
el_plains 
el_forest 
el_ice 
numeltypes 


Function Documentation

void add_edge_terrain void   ) 
 

int any_borders_in_dir int  x,
int  y,
int  dir
 

int make_earthlike_terrain int  calls,
int  runs
 

int make_fractal_terrain int  calls,
int  runs
 

int make_maze_terrain int  calls,
int  runs
 

int make_random_terrain int  calls,
int  runs
 

int name_geographical_features int  calls,
int  runs
 

void set_edge_terrain int  doterr  ) 
 


Variable Documentation

int* alts
 

int coast_distance = 0
 

int deserttype = NONTTYPE
 

int el_alt_blob_density = 10000
 

int el_alt_blob_height = 500
 

int el_alt_blob_size = 400
 

int* el_alt_max
 

int* el_alt_min
 

int el_alt_smoothing = 2
 

int el_wet_blob_density = 200
 

int el_wet_blob_height = 100
 

int el_wet_blob_size = 1000
 

int* el_wet_max
 

int* el_wet_min
 

int el_wet_smoothing = 10
 

int foresttype = NONTTYPE
 

int* histo
 

int icetype = NONTTYPE
 

TRegion* landsea_region_list
 

int landtype = NONTTYPE
 

int numpassagecells = 0
 

int numpassagetypes = 0
 

int numroomtypes = 0
 

int numsolidtypes = 0
 

int partdone
 

int passagetype = NONTTYPE
 

int roomtype = NONTTYPE
 

int seatype = NONTTYPE
 

int solidtype = NONTTYPE
 

int stepsize = 20
 

int sumpassageoccur = 0
 

int sumroomoccur = 0
 

int sumsolidoccur = 0
 

TRegion* terrain_region_list
 

int* wets
 


Generated on Sat Sep 17 10:29:21 2005 for XconqKernel by doxygen 1.3.6