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

Method MarkDirty

src/ship_cmd.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void Ship::MarkDirty()
305{
306 this->colourmap = PAL_NONE;
307 this->UpdateViewport(true, false);
308 this->UpdateCache();
309}
310
311void Ship::PlayLeaveStationSound(bool force) const
312{

Callers 9

CmdRenameSignFunction · 0.45
ResetMethod · 0.45
texteff.cppFile · 0.45
RunEconomyVehicleDayProcFunction · 0.45
VehicleEnterDepotFunction · 0.45
CmdRefitVehicleFunction · 0.45
CmdStartStopVehicleFunction · 0.45
LoadUnloadVehicleFunction · 0.45
~BaseStationMethod · 0.45

Calls 2

UpdateCacheMethod · 0.95
UpdateViewportMethod · 0.45

Tested by

no test coverage detected