Commit Graph

7 Commits

Author SHA1 Message Date
MrStonedOne
c91c592f04 MC: tweaks, midnight rollover fix, and some 510 work
Fixes the mc getting all fucked up during midnight rollover

Mc now tracks the tick_usage of every subsystem, and will skip running an expensive subsystem if we are too close to overrunning in a tick, waiting until next tick, unless that subsystem is excessively past due (because we kept skipping it).

It now assumes that 20% of a tick should be saved for byond to do it's things, and stops running all subsystems once we get to 80% tick usage.

Dynamic wait will only smooth out wait changes over 8 fires if the new wait is lower than the old wait, before it would smooth out wait increases as well as decreases.

The fps throttle system is now 509 only.

The mc will now run every 1ds, no GCD bullshit, as we want to spread things out more.

Offline subsystems will still show their stat message

DS is now rounded to 2 digits, not 3, to make room for the tick percentage bit, and because the 3rd digit was useless and all MoE
2016-02-07 18:03:19 -08:00
Kyle Spier-Swenson
b38d9301e6 sigh 2015-12-17 23:53:44 -08:00
Kyle Spier-Swenson
cd7511b100 Fixes subsystem on varedit typos 2015-12-17 15:33:45 -08:00
Kyle Spier-Swenson
3eb7466152 forgot to finish my comment 2015-12-17 07:17:51 -08:00
Kyle Spier-Swenson
a4c1ddc5c8 You can now safely start a subsystem by vv'ing can_fire to 1 2015-12-17 07:16:43 -08:00
Bjorn Neergaard
531e4b947f Subsystem display tweaks 2015-12-05 10:13:59 -06:00
Bjorn Neergaard
815ac7d2f9 Defcon improvements, renames, etc 2015-12-04 23:24:50 -06:00