Commit Graph

15 Commits

Author SHA1 Message Date
Dirk Sohler
59f973d480
implement hard reset of configuration
closes https://gitlab.com/4w/mtimer/-/issues/21
2021-12-10 08:35:12 +01:00
Dirk Sohler
0e281498a3
adapt HUD element size to new style
option was renamed to `scale` instead of `size` because `scale`
describes the technical fact better than `size`.

Please also see DEVELOPERS message in `hud_element_scale.lua` file if
you’re interested in contributing to this project.

Addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-10-09 04:36:43 +02:00
Dirk Sohler
f7d6025557
adapt custom timer to new style
Also implement control buttons

closes https://gitlab.com/4w/mtimer/-/issues/12
2021-04-04 14:23:35 +02:00
Dirk Sohler
55dd5b1d9a
fully implement custom timer logic
Addresses https://gitlab.com/4w/mtimer/-/issues/10
2021-02-12 20:23:40 +01:00
Dirk Sohler
5085711f6b
prepare implementation of custom timer
Addresses https://gitlab.com/4w/mtimer/-/issues/10
2021-02-10 21:21:24 +01:00
Dirk Sohler
93771fbbaf
implement offset dialogs+i18n and setting logic
Formspec, menu entry, and logic are done. Logic for setting the timer
offsets on receiving formspec fields needs to be done.
2020-08-11 21:02:26 +02:00
Dirk Sohler
dc8729c0f5
add HUD element scaling using HUD's size parameter 2020-08-07 05:15:47 +02:00
Dirk Sohler
3d0d58fe64
add host time format setting 2019-04-12 21:56:06 +02:00
Dirk Sohler
06b4bfa77e
use dialog instead of set_formspec
Addresses https://gitlab.com/4w/mtimer/issues/5
2019-03-06 18:22:50 +01:00
Dirk Sohler
5a0f2904fa
write code documentation 2019-02-22 20:33:42 +01:00
Dirk Sohler
3aeae84356
implement timer format setting 2019-02-22 14:08:44 +01:00
Dirk Sohler
1817f4b046
unification and configuration additions 2019-02-21 21:07:35 +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
613ebf046d
extend chat command 2019-02-16 17:33:16 +01:00
Dirk Sohler
028cdbf99e
establish formspec system 2019-02-16 16:45:32 +01:00