Mashinky

Jan Zelený · Simulation

Mashinky patch notes · Feb 6, 2022

Experiment

Performance update & Quality of life

What's new in Performance update & Quality of life: 38 changes to Mashinky, released Feb 6, 2022.

Content · 1

  • New faces added for the company director, including women.

    director face

Controls · 1

  • Circle icons in walking mode can now be hidden via the realistic mode transparency window.

    walking mode icons visibility

System · 19

  • FPS limiter allows other threads to process while the loading screen is present.

    fps limiter during loading screen
  • Server skips sending all events after an unconfirmed map save.

    server event sending after unconfirmed map save
  • Track spline computation optimized.

    track spline computation
  • Far geometry LOD baking now processes only the dirty area instead of checking all map chunks.

    far geometry lod baking
  • Multiplayer events and vehicle synchronization optimized.

    mp events and vehicle sync
  • Stop cargo destinations optimized.

    stop cargo destination
  • A maximum of 1000 events is sent per network tick to avoid overwhelming the client.

    events per network tick
  • Loading times reduced by better map preparation, asset streaming, and an FPS limiter that behaves differently during the loading screen.

    loading time
  • Client skips event processing while the loadscreen is present.

    client event processing during loadscreen
  • Precaching of stop and vehicle bonuses optimized.

    stop and vehicle bonuses precache
  • Spatial data structure for vehicle-to-vehicle collision made faster when searching for nearby vehicles.

    vehicle-to-vehicle collision spatial search
  • Huge improvement of general engine and game performance, including loading times.

    engine and game performance
  • CPU performance improved, especially at higher game speed, by optimizing hot spots found with a profiler.

    cpu game performance at higher game speed
  • Arc-tangent replaced by a fast approximation with about 0.01 rad precision.

    arc-tangent computation
  • Reduced lags and freezes by optimizing code with highly variable processing time, moving some tasks to another thread or splitting them across frames.

    lags and freeze
  • Station cargo add/remove when choosing destination optimized.

    station cargo add/remove when choosing destination
  • Sin/cos values are precomputed and approximated at runtime.

    sin/cos computation
  • Passenger destination AI network update optimized.

    passenger destination ai network update
  • Updates 0-N towns per tick instead of all towns at once.

    town update scheduling

UI · 2

  • A favourite vehicles list (including route lists) lets players save any vehicle, even one running out of depot, and buy duplicates with a single click.

    favourite vehicles list
  • A list of crashed vehicles, including route lists, is available in each depot to help re-create lost vehicles.

    crashed vehicles list

Fix · 15

  • Fixed an assert triggered by a wrong track ending.

    assert about wrong track ending
  • Fixed adding vehicles to favourites in the road vehicle depot UI.

    adding vehicles to favourites in road vehicle depot ui
  • Fixed glitches on some new faces and changed the background.

    new faces glitch
  • Removed a duplicate wall parameter in the building types XML.

    duplicate wall parameter in building types xml
  • Fixed transparent tokens.

    transparent token
  • Walking mode icon visibility now properly reacts to the transparency setting.

    walking mode icons visibility with transparency setting
  • Fixed an assert in the depot window.

    assert in depot window
  • Fixed overlapping graphics on stop window upgrade buttons.

    overlapping graphics on stop window upgrade button
  • When a missing era quest is detected on load, one is added.

    missing era quest on load
  • Fixed broken faces in quests.

    broken faces in quest
  • Autorouting now ignores stations where cargo acceptance is disabled.

    autorouting to stations with cargo acceptance disabled
  • Industry no longer stops producing cargo when rating drops to 0; the state is now visible and colored red.

    industry cargo production stopped by zero rating
  • Fixed wrong positioning of road vehicle wheels on curved road.

    road vehicle wheel positioning on curve
  • Fixed wrong electricity distribution computation.

    electricity distribution computation
  • Fixed a crash that occurred when a city grows.

    crash when city grow