17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 08:09:14 +01:00

perf(debug): count what wakes the physics of the vehicles (brake pipe, main reservoir pipe, command, speed, acceleration, neighbour, other) in the debug panel

This commit is contained in:
2026-10-23 19:08:09 +02:00
parent f17462b186
commit 9a7ff372f7
4 changed files with 42 additions and 11 deletions

View File

@@ -94,7 +94,15 @@ public:
compressor_off,
mains,
diesel,
wake, // switch_physics( true ) of a vehicle whose physics was off
// switch_physics( true ) of a vehicle whose physics was off, by TMoverParameters::wake_cause, in its order
wake,
wake_mainpipe,
wake_scndpipe,
wake_command,
wake_speed,
wake_acceleration,
wake_neighbour,
wake_rest,
count
};
struct result {