![]() |
City Generator 1.0.1
Procedural city generation for C++23
|
City generator library — procedural city generation for C++23. More...
#include "random.hpp"#include <algorithm>#include <array>#include <cstddef>#include <cstdint>#include <filesystem>#include <fstream>#include <ostream>#include <random>#include <ranges>#include <stdexcept>#include <string>#include <unordered_map>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | dasmig::city |
| Return type for city generation, holding all GeoNames fields. More... | |
| class | dasmig::cg |
| City generator that produces random cities from GeoNames data. More... | |
Macros | |
| #define | DASMIG_DATASET_DEFINED |
| Dataset size tier for resource loading. | |
Enumerations | |
| enum class | dasmig::dataset : std::uint8_t { lite , full } |
City generator library — procedural city generation for C++23.
Definition in file citygen.hpp.
| #define DASMIG_DATASET_DEFINED |
Dataset size tier for resource loading.
Definition at line 30 of file citygen.hpp.
|
strong |
| Enumerator | |
|---|---|
| lite | ~25k major cities (population >= 15,000). |
| full | ~200k cities (population >= 500). |
Definition at line 31 of file citygen.hpp.