12 #ifndef GROUND_VEHICLE_HPP
13 #define GROUND_VEHICLE_HPP
80 template <
class T, VehicleType Type>
105 for (T *v = T::From(
this); v != NULL; v = v->Next()) {
120 for (
const T *u = T::From(
this); u != NULL; u = u->Next()) {
122 incl += u->gcache.cached_slope_resistance;
124 incl -= u->gcache.cached_slope_resistance;
143 if (T::From(
this)->TileMayHaveSlopedTrack()) {
150 if (middle_z != this->
z_pos) {
203 if (T::From(
this)->HasToUseGetSlopePixelZ()) {
236 int old_z = this->
z_pos;
372 int tempmax = max_speed;