MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetRandomBits

Method GetRandomBits

src/newgrf_spritegroup.cpp:83–86  ·  view source on GitHub ↗

* Get a few random bits. Default implementation has no random bits. * @return Random bits. */ virtual */

Source from the content-addressed store, hash-verified

81 * @return Random bits.
82 */
83/* virtual */ uint32_t ScopeResolver::GetRandomBits() const
84{
85 return 0;
86}
87
88/**
89 * Get the triggers. Base class returns \c 0 to prevent trouble.

Callers 2

GetVariableFunction · 0.45
ResolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected