OpenTTD Source 20241224-master-gee860a5c8e
|
Variables that are cached to improve performance and such. More...
#include <aircraft.h>
Data Fields | |
uint32_t | cached_max_range_sqr |
Cached squared maximum range. | |
uint16_t | cached_max_range |
Cached maximum range. | |
Variables that are cached to improve performance and such.
Definition at line 64 of file aircraft.h.
uint16_t AircraftCache::cached_max_range |
Cached maximum range.
Definition at line 66 of file aircraft.h.
Referenced by CheckAircraftOrderDistance(), Aircraft::GetRange(), and UpdateAircraftCache().
uint32_t AircraftCache::cached_max_range_sqr |
Cached squared maximum range.
Definition at line 65 of file aircraft.h.
Referenced by CheckAircraftOrderDistance(), FindNearestHangar(), and UpdateAircraftCache().