1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Use constexpr on openrct2/*

This commit is contained in:
Tulio Leao
2019-10-23 22:37:34 -03:00
parent e9bcad193a
commit 9123b597a9
9 changed files with 60 additions and 67 deletions

View File

@@ -82,8 +82,6 @@ static constexpr const char* SnowTrees[] = {
// Randomly chosen base terrains. We rarely want a whole map made out of chequerboard or rock.
static constexpr const uint8_t BaseTerrain[] = { TERRAIN_GRASS, TERRAIN_SAND, TERRAIN_SAND_LIGHT, TERRAIN_DIRT, TERRAIN_ICE };
#define BLOB_HEIGHT 255
static void mapgen_place_trees();
static void mapgen_set_water_level(int32_t waterLevel);
static void mapgen_smooth_height(int32_t iterations);