OpenTTD Source
20241108-master-g80f628063a
|
Check caches. More...
#include "stdafx.h"
#include "aircraft.h"
#include "company_base.h"
#include "debug.h"
#include "industry.h"
#include "roadstop_base.h"
#include "roadveh.h"
#include "ship.h"
#include "station_base.h"
#include "station_map.h"
#include "subsidy_func.h"
#include "town.h"
#include "train.h"
#include "vehicle_base.h"
#include "safeguards.h"
Go to the source code of this file.
Functions | |
void | AfterLoadCompanyStats () |
Rebuilding of company statistics after loading a savegame. | |
void | RebuildTownCaches () |
Rebuild all the cached variables of towns. | |
void | CheckCaches () |
Check the validity of some of the caches. More... | |
Check caches.
Definition in file cachecheck.cpp.
void CheckCaches | ( | ) |
Check the validity of some of the caches.
Especially in the sense of desyncs between the cached value and what the value would be when calculated from the 'base' data.
Definition at line 36 of file cachecheck.cpp.