by Spike » Mon Jan 28, 2019 9:14 pm
static works at both global scope and local scope, equivalent to C.
(static locals are also visible to nested functions where regular locals are not)
r = (a?b:c)
is equivalent to
if (a) r=b; else r=c;
recovering lost precision requires rebasing the float timer back to 0. double(float)s have more than enough precision, but (single)floats do not, hence why the engine is okay, but qc will have issues before that.
join some unpopular nq server some time. one that has a map uptime of 4+ days. you'll see how it can't even hold time differences of 0.1. You need much more precision than that for smooth animations.
.