Home
last modified time | relevance | path

Searched refs:shorten_factor (Results 1 – 6 of 6) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dengine_type.h58 byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor member
125 byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor member
H A Droadveh_cmd.cpp201 if (veh_len == CALLBACK_FAILED) veh_len = e->u.road.shorten_factor; in GetRoadVehLength()
H A Dtrain_cmd.cpp215 if (veh_len == CALLBACK_FAILED) veh_len = rvi_u->shorten_factor; in ConsistChanged()
H A Dnewgrf.cpp1258 rvi->shorten_factor = buf->ReadByte(); in RailVehicleChangeInfo()
1514 rvi->shorten_factor = buf->ReadByte(); in RoadVehicleChangeInfo()
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dcollision.h142 void Collision_ShortenTrace(trace_t *trace, float shorten_factor, const vec3_t end);
H A Dcollision.c1606 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); …