Searched refs:shorten_factor (Results 1 – 6 of 6) sorted by relevance
58 byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor member125 byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor member
201 if (veh_len == CALLBACK_FAILED) veh_len = e->u.road.shorten_factor; in GetRoadVehLength()
215 if (veh_len == CALLBACK_FAILED) veh_len = rvi_u->shorten_factor; in ConsistChanged()
1258 rvi->shorten_factor = buf->ReadByte(); in RailVehicleChangeInfo()1514 rvi->shorten_factor = buf->ReadByte(); in RoadVehicleChangeInfo()
142 void Collision_ShortenTrace(trace_t *trace, float shorten_factor, const vec3_t end);
1606 void Collision_ShortenTrace(trace_t *trace, float shorten_factor, const vec3_t end)1609 …trace->fraction = bound(trace->fraction, trace->fraction / shorten_factor - 1e-6, 1); // we subtra…1610 …trace->realfraction = bound(trace->realfraction, trace->realfraction / shorten_factor - 1e-6, 1); …