mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Rename Peep::staff_gardens_watered to StaffGardensWatered
This commit is contained in:
@@ -1114,7 +1114,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
dpi, STR_STAFF_STAT_LAWNS_MOWN, static_cast<void*>(&peep->staff_lawns_mown), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast<void*>(&peep->staff_gardens_watered), COLOUR_BLACK, x, y);
|
||||
dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast<void*>(&peep->StaffGardensWatered), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast<void*>(&peep->StaffLitterSwept), COLOUR_BLACK, x, y);
|
||||
|
||||
@@ -719,7 +719,7 @@ struct Peep : SpriteBase
|
||||
union
|
||||
{
|
||||
money16 paid_on_rides;
|
||||
uint16_t staff_gardens_watered;
|
||||
uint16_t StaffGardensWatered;
|
||||
uint16_t StaffRidesInspected;
|
||||
};
|
||||
union
|
||||
|
||||
@@ -369,7 +369,7 @@ void staff_reset_stats()
|
||||
peep->time_in_park = gDateMonthsElapsed;
|
||||
peep->staff_lawns_mown = 0;
|
||||
peep->staff_rides_fixed = 0;
|
||||
peep->staff_gardens_watered = 0;
|
||||
peep->StaffGardensWatered = 0;
|
||||
peep->StaffRidesInspected = 0;
|
||||
peep->StaffLitterSwept = 0;
|
||||
peep->StaffBinsEmptied = 0;
|
||||
@@ -1291,7 +1291,7 @@ void Staff::UpdateWatering()
|
||||
|
||||
tile_element->AsSmallScenery()->SetAge(0);
|
||||
map_invalidate_tile_zoom0({ actionLoc, tile_element->GetBaseZ(), tile_element->GetClearanceZ() });
|
||||
staff_gardens_watered++;
|
||||
StaffGardensWatered++;
|
||||
window_invalidate_flags |= PEEP_INVALIDATE_STAFF_STATS;
|
||||
} while (!(tile_element++)->IsLastForTile());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user