arx/ArxLibertatis — comment on commit 2f24fb9e6a01854c6d6dfd0348ffde084f933e12
File:  line 0
By dscharrer:

There are two concepts that are mixed up in the whole arx time mess:

- "real" time - used to update UI animations and should always be available, even if no game is loaded / when in the menu. Paused state / slowdown should not affect this. This is basically a cache of Time::getUs() so that the os function (ideally) needs to be called only once per frame.

- "game" time - used to update in-game animations, script timers, etc. This should be pauseable (for example when in the menu) and possibly slowed down by spells.

As far as I can tell the variables in arxtime fit either of those two concepts depending on whether the use_paused was true/false for the last update() call. I think those two concepts should eventually be separated.