dgn-height.h File Reference

#include "env.h"
#include "fixedarray.h"
#include <vector>

Include dependency graph for dgn-height.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dgn_island_plan

Typedefs

typedef FixedArray< bool, GXM,
GYM > 
grid_bool
typedef FixedArray< short, GXM,
GYM > 
grid_short
typedef std::pair< int, int > int_range

Functions

int resolve_range (int_range range, int nrolls=1)
void dgn_initialise_heightmap (int initial_height=0)
void dgn_smooth_height_at (coord_def c, int radius=1, int max_height=DGN_UNDEFINED_HEIGHT)
void dgn_smooth_heights (int radius=1, int npasses=1)
void dgn_island_centred_at (const coord_def &c, int n_points, int radius, int_range height_delta_range, int border_margin=6, bool make_atoll=false)

Variables

const int DGN_UNDEFINED_HEIGHT = -10000


Typedef Documentation

typedef FixedArray<bool, GXM, GYM> grid_bool

typedef FixedArray<short, GXM, GYM> grid_short

typedef std::pair<int, int> int_range


Function Documentation

void dgn_initialise_heightmap ( int  initial_height = 0  ) 

void dgn_island_centred_at ( const coord_def c,
int  n_points,
int  radius,
int_range  height_delta_range,
int  border_margin = 6,
bool  make_atoll = false 
)

Here is the call graph for this function:

void dgn_smooth_height_at ( coord_def  c,
int  radius = 1,
int  max_height = DGN_UNDEFINED_HEIGHT 
)

Here is the call graph for this function:

void dgn_smooth_heights ( int  radius = 1,
int  npasses = 1 
)

Here is the call graph for this function:

int resolve_range ( int_range  range,
int  nrolls = 1 
)

Here is the call graph for this function:


Variable Documentation

const int DGN_UNDEFINED_HEIGHT = -10000


Generated on Thu Jan 13 13:04:19 2011 by  doxygen 1.5.6