MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / formatPerformanceIndex

Function formatPerformanceIndex

src/OpenLoco/src/World/Company.cpp:258–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 void formatPerformanceIndex(const int16_t performanceIndex, FormatArguments& args)
259 {
260 args.push(performanceIndex);
261 args.push(getCorporateRatingAsStringId(performanceToRating(performanceIndex)));
262 }
263
264 // 0x004F9462
265 constexpr uint8_t kEmotionDurations[] = {

Callers 5

playerMouseDownFunction · 0.85
performanceIndexTooltipFunction · 0.85
drawScrollFunction · 0.85
drawFunction · 0.85
formatChallengeArgumentsFunction · 0.85

Calls 3

performanceToRatingFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected