|
Player12
An open source football management simulator
|
Namespaces | |
| namespace | CrowdFlags |
Classes | |
| struct | AdBoard |
| struct | Box |
| struct | CrowdClump |
| struct | CrowdDot |
| struct | CrowdFlag |
| struct | Face |
| struct | Geometry |
| struct | Goal |
| struct | GroundPolygon |
| struct | NetPanel |
| struct | PitchGrid |
| struct | Section |
| struct | SponsorStyle |
Enumerations | |
| enum class | Side : std::uint8_t { SOUTH , NORTH , WEST , EAST , NONE } |
Functions | |
| Box | makeAxisBox (Vec3 minimum, Vec3 maximum, ImU32 color) |
Variables | |
| constexpr std::size_t | CROWD_PHASES = 16 |
| constexpr std::array< SponsorStyle, 8 > | SPONSORS |
| constexpr std::array< std::array< std::uint8_t, 4 >, 6 > | BOX_FACES |
Static world-space geometry of the 3D match view: ground, markings, goals, corner flags, advertising boards, stands with crowd, and floodlights.
Everything is built once per match (the crowd needs the kit colours) and only re-projected per frame by MatchRenderer3D. No RNG is involved: all variation comes from a fixed integer hash so the stadium is identical on every frame and every run.
|
strong |
Builds an axis-aligned box from its minimum and maximum corners.
|
inlineconstexpr |
|
inlineconstexpr |
Idle-motion phases a spectator can be in (a small per-frame table).
|
inlineconstexpr |
Original, fictional advertisers shown on the boards.