aboutsummaryrefslogtreecommitdiffstats
path: root/src/aup.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 17:55:14 +0100
committereunhhu <[email protected]>2026-09-26 17:55:14 +0100
commitde0818ad89434b63ed82d49b57723e41ee4466ff (patch)
treea658a1981979a69e1ea0ffdd5af17f0feb54587d /src/aup.h
parent2a050e1b9842eda4cf89f4af6fe797560c9caad6 (diff)
downloadaup-de0818ad89434b63ed82d49b57723e41ee4466ff.tar.gz
aup-de0818ad89434b63ed82d49b57723e41ee4466ff.zip
Add time: now, every timers, floor and %
now is the time of the event a handler runs for (milliseconds since 1970, UTC), which a host gives and a script can replay; views cannot read it. input tick = every 1 second declares a timer (ms, second, minute or hour; 1 ms to a day). floor(x) and x % y, taking the divisor's sign as Python does, take times apart. Checked against a Python model over 3,600 random steps; nine diagnostics.
Diffstat (limited to 'src/aup.h')
0 files changed, 0 insertions, 0 deletions