#include "AppHdr.h"#include "branch.h"#include "cio.h"#include "colour.h"#include "coord.h"#include "coordit.h"#include "dungeon.h"#include "dgn-shoals.h"#include "dgn-height.h"#include "env.h"#include "fprop.h"#include "items.h"#include "itemprop.h"#include "libutil.h"#include "mapmark.h"#include "maps.h"#include "message.h"#include "mgen_data.h"#include "mon-iter.h"#include "mon-place.h"#include "mon-util.h"#include "random.h"#include "terrain.h"#include "view.h"#include <algorithm>#include <vector>#include <cmath>

Classes | |
| struct | weighted_region |
| struct | coord_dbl |
Typedefs | |
| typedef FixedArray< short, GXM, GYM > | grid_short |
Enumerations | |
| enum | shoals_height_thresholds { SHT_UNDEFINED = -10000, SHT_STONE = 400, SHT_ROCK = 135, SHT_FLOOR = 0, SHT_SHALLOW_WATER = -30 } |
| enum | tide_direction { TIDE_RISING, TIDE_FALLING } |
Functions | |
| void | dgn_shoals_generate_flora () |
| void | dgn_build_shoals_level (int level_number) |
| void | shoals_postprocess_level () |
| void | shoals_apply_tides (int turns_elapsed, bool force, bool incremental_tide) |
| void | shoals_release_tide (monster *mons) |
Variables | |
| const char * | PROPS_SHOALS_TIDE_KEY = "shoals-tide-height" |
| const char * | PROPS_SHOALS_TIDE_VEL = "shoals-tide-velocity" |
| const char * | PROPS_SHOALS_TIDE_UPDATE_TIME = "shoals-tide-update-time" |
| const int | SHOALS_ISLAND_COLLIDE_DIST2 = 5 * 5 |
| int | TIDE_MULTIPLIER = 30 |
| int | LOW_TIDE = -18 * TIDE_MULTIPLIER |
| int | HIGH_TIDE = 25 * TIDE_MULTIPLIER |
| const int | HIGH_CALLED_TIDE = 50 |
| const int | TIDE_DECEL_MARGIN = 8 |
| const int | PEAK_TIDE_VELOCITY = 2 |
| const int | CALL_TIDE_VELOCITY = 21 |
| const int | TIDE_CALL_RADIUS = 8 |
| const int | MAX_SHOAL_PLANTS = 180 |
| const int | _shoals_margin = 6 |
| typedef FixedArray<short, GXM, GYM> grid_short |
| enum tide_direction |
| void dgn_build_shoals_level | ( | int | level_number | ) |

| void dgn_shoals_generate_flora | ( | ) |

| void shoals_apply_tides | ( | int | turns_elapsed, | |
| bool | force, | |||
| bool | incremental_tide | |||
| ) |

| void shoals_postprocess_level | ( | ) |

| void shoals_release_tide | ( | monster * | mons | ) |

| const int _shoals_margin = 6 |
| const int CALL_TIDE_VELOCITY = 21 |
| const int HIGH_CALLED_TIDE = 50 |
| int HIGH_TIDE = 25 * TIDE_MULTIPLIER |
| int LOW_TIDE = -18 * TIDE_MULTIPLIER |
| const int MAX_SHOAL_PLANTS = 180 |
| const int PEAK_TIDE_VELOCITY = 2 |
| const char* PROPS_SHOALS_TIDE_KEY = "shoals-tide-height" |
| const char* PROPS_SHOALS_TIDE_UPDATE_TIME = "shoals-tide-update-time" |
| const char* PROPS_SHOALS_TIDE_VEL = "shoals-tide-velocity" |
| const int SHOALS_ISLAND_COLLIDE_DIST2 = 5 * 5 |
| const int TIDE_CALL_RADIUS = 8 |
| const int TIDE_DECEL_MARGIN = 8 |
| int TIDE_MULTIPLIER = 30 |
1.5.6