bidgift.blogg.se

Openttd autoreplace
Openttd autoreplace






openttd autoreplace

Get the EngineID of the replacement for a vehicle. GetNewEngineType (const Vehicle *v, const Company *c, bool always_replace, EngineID &e) GetNewCargoTypeForReplace ( Vehicle *v, EngineID engine_type, bool part_of_chain)įunction to find what type of cargo to refit to when autoreplacing. Gets the index of the first refit order that is incompatible with the requested engine type. GetIncompatibleRefitOrderIdForAutoreplace (const Vehicle *v, EngineID engine_type) Tests whether refit orders that applied to v will also apply to the new vehicle type. VerifyAutoreplaceRefitForOrders (const Vehicle *v, EngineID engine_type) Transfer cargo from a single (articulated )old vehicle to the new vehicle chain. TransferCargo ( Vehicle *old_veh, Vehicle *new_head, bool part_of_chain) More.Ĭheck the capacity of all vehicles in a chain and spread cargo if needed. More.ĮnginesHaveCargoInCommon ( EngineID engine_a, EngineID engine_b)įigure out if two engines got at least one type of cargo in common (refitting if needed) More.ĬheckAutoreplaceValidity ( EngineID from, EngineID to, CompanyID company)Ĭhecks some basic properties whether autoreplace is allowed. Report a change in vehicle IDs (due to autoreplace) to affected vehicle windows. More.ĬhangeVehicleViewWindow ( VehicleID from_index, VehicleID to_index) Report a change in vehicle IDs (due to autoreplace) to affected vehicle news. More.ĬhangeVehicleNews ( VehicleID from_index, VehicleID to_index) Switches viewports following vehicles, which get autoreplaced.

#Openttd autoreplace free#

There are also the free alternatives: OpenGFX (graphics), OpenSFX (sound) and OpenMSX (music).ChangeVehicleViewports ( VehicleID from_index, VehicleID to_index) Fix: Draw correct overlay sprites for path reservations on bridges and tunnels (r27208)įor OpenTTD you can use the original Transport Tycoon Deluxe data files (you need to own a Transport Tycoon Deluxe CD). Fix: Draw path reservation on the whole bridge, not only on the bridge heads (r27209) Fix: Multi-value keys in the desktop entry shall end with a trailing separator (r27221) for all vehicle types alike when considering increased smoke emissions of vehicles (r27222) Fix: Use the current maximum speed as limited by bridges, orders etc. Fix: Compilation on DragonflyBSD (r27224, r27223) Fix: Crash when no AIs were installed due to improper handling of non-ASCII characters by the string pointer lexer (r27233) Fix: Duplicate frees due to pool item classes not having copy constructors (r27243) Fix: Removing a rail waypoint used the remove-rail-station cost (r27245) Fix: Town labels on smallmap and zoomed-out viewports were not centered (r27248) Fix: In some cases town growth failure was considered as success (r27249, r27247) Fix: Broken error message in configure (r27250) Fix: Invalid infrastructure counting when crossing tram tracks with railroads (r27252) Fix: When crossing tram tracks with railroads, cost of extra roads was not being counted (r27253)

openttd autoreplace

Fix: When building a lock on DC_AUTO-removable water-based objects, the water class was always set to canal (r27254) Fix: Combined button+dropdown widgets in order and autoreplace GUI had incorrect hitbox when using GUI zoom (r27255) Fix: ScriptList::RemoveList failed to remove a list from itself (r27258) Fix: Do not consider road junctions with trivial dead ends as branch points during town growth (r27260, r27259, r27244)








Openttd autoreplace