Commit Graph

6 Commits

Author SHA1 Message Date
Dirk Sohler
dc8729c0f5
add HUD element scaling using HUD's size parameter 2020-08-07 05:15:47 +02:00
Dirk Sohler
5a0f2904fa
write code documentation 2019-02-22 20:33:42 +01:00
Dirk Sohler
574a962371
implement automatic update via globalstep 2019-02-22 15:50:32 +01:00
Dirk Sohler
2e3cc57297
implement timer update function 2019-02-22 15:29:08 +01:00
Dirk Sohler
89cd1f6212
implement ingame time format setting
Convert ingame time to millihours and calculate the timestamp from this.
It results in a default timestampo that is parsed by default date and
time functions.

Replacement variables:

{24h} = 24 hours time
{12h} = 12 hours time
{min} = minutes
{its} = ingame timestamp

For some reason I was not able to get the am/pm indicator (`%p`) so 12
hours format is only the time and no optional indicator.
2019-02-21 16:16:10 +01:00
Dirk Sohler
028cdbf99e
establish formspec system 2019-02-16 16:45:32 +01:00