mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Improve array formatting
For most of these cases, adding a trailing comma to the array block makes clang-format put each item on a new line, and clang-format exception blocks could be reduced where clang-format does not handle them properly.
This commit is contained in:
@@ -85,8 +85,9 @@ static constexpr const char* SnowTrees[] = {
|
||||
#pragma endregion
|
||||
|
||||
// Randomly chosen base terrains. We rarely want a whole map made out of chequerboard or rock.
|
||||
static constexpr const std::string_view BaseTerrain[] = { "rct2.surface.grass", "rct2.surface.sand", "rct2.surface.sandbrown",
|
||||
"rct2.surface.dirt", "rct2.surface.ice" };
|
||||
static constexpr const std::string_view BaseTerrain[] = {
|
||||
"rct2.surface.grass", "rct2.surface.sand", "rct2.surface.sandbrown", "rct2.surface.dirt", "rct2.surface.ice",
|
||||
};
|
||||
|
||||
static void mapgen_place_trees();
|
||||
static void mapgen_set_water_level(int32_t waterLevel);
|
||||
|
||||
Reference in New Issue
Block a user