|
Player12
An open source football management simulator
|
#include <match_stadium_3d.h>
Public Attributes | |
| Vec3 | base |
| Vec3 | top |
| float | halfWidth = 0.0f |
| ImU32 | color = 0 |
| std::uint32_t | dotBegin = 0 |
| std::uint32_t | dotEnd = 0 |
| std::byte | flags {} |
| std::uint8_t | phase = 0 |
A few neighbouring spectators (up to CLUMP_SEATS x CLUMP_ROWS) drawn as one quad when they are far away. The quad runs up the tier from the front row to the heads of the next clump's front row, so clumps tile the stand without gaps from any angle. Members are stored back row first so nearer rows overlap the ones behind them.
| Vec3 Stadium3D::CrowdClump::base |
Bottom centre on the front row.
| ImU32 Stadium3D::CrowdClump::color = 0 |
Average colour of the members (the far-away look).
| std::uint32_t Stadium3D::CrowdClump::dotBegin = 0 |
| std::uint32_t Stadium3D::CrowdClump::dotEnd = 0 |
| std::byte Stadium3D::CrowdClump::flags {} |
CHEERS_* bits held by most members (the far clump hops with them).
| float Stadium3D::CrowdClump::halfWidth = 0.0f |
| std::uint8_t Stadium3D::CrowdClump::phase = 0 |
| Vec3 Stadium3D::CrowdClump::top |
Top centre, over the row behind the clump.