Commit Graph

33 Commits

Author SHA1 Message Date
Dirk Sohler
062c01e535
adapt color dialog to new style
This also adds a palette to the color dialog so players can pick a color
without typing in the hexadecimal number of it.

Addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-04-05 09:29:44 +02:00
Dirk Sohler
75365e2f1c
use new style for position dialog
addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-04-04 17:15:32 +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
69dd2386c0
adapt visibility dialog to new style
Also button image locations are slightly adapted
2021-04-04 12:59:41 +02:00
Dirk Sohler
f1214ba398
update main menu to use icons
This commit also implements a button getting function to automatically
create icon buttons.
2021-04-02 04:07:40 +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
8b1664111f
implement custom timer setting logic
Addresses https://gitlab.com/4w/mtimer/-/issues/10
2021-02-12 12:02:23 +01:00
Dirk Sohler
a28f97b135
build custom timer formspec with options parsing
No functionality yet and the fields are just dumped. Translation to
German is done and the meta data is loaded properly.

Addresses https://gitlab.com/4w/mtimer/-/issues/10
2021-02-11 21:49:26 +01:00
Dirk Sohler
60e55dc36a
fully implement custom timer into logic
Nothing is done right now but the custoim timer is fully implemented
into mTimer’s logic and is processed regularly. Next step is to write
the custom timer formspec and logic.
2021-02-10 21:34:11 +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
471f3aac80
add HUD element size description 2020-08-07 05:28:52 +02:00
Dirk Sohler
dc8729c0f5
add HUD element scaling using HUD's size parameter 2020-08-07 05:15:47 +02:00
Dirk Sohler
249de53f70
18n update 2019-04-12 21:58:01 +02:00
Dirk Sohler
3d0d58fe64
add host time format setting 2019-04-12 21:56:06 +02:00
Dirk Sohler
e4dd32cd44
reorder Italian translation 2019-03-21 18:52:21 +01:00
Dirk
db99767984 Merge branch 'italian' into 'master'
Added Italian locale file

See merge request 4w/mtimer!2
2019-03-21 17:42:10 +00:00
Dirk Sohler
f498c39d06
Go through translation strings
See https://gitlab.com/4w/mtimer/issues/8
2019-03-16 23:41:27 +01:00
H4mlet
5c2abf3e16
Added Italian locale file 2019-03-13 12:08:28 +01:00
Dirk Sohler
c74dcf708a
add mission translation strings
fixes https://gitlab.com/4w/mtimer/issues/6
2019-03-11 21:37:41 +01:00
Dirk Sohler
9f47f58e64
update main menu design 2019-02-22 18:49:00 +01:00
Dirk Sohler
0c04bb9f50
make timer default format translatable 2019-02-22 16:00:18 +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
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
91c3ec5332
i18n update 2019-02-21 16:25:07 +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
fbca7a64fa
implement timezone offset configuration 2019-02-19 13:40:19 +01:00
Dirk Sohler
34c78e20af
add color configuration 2019-02-17 03:10:41 +01:00
Dirk Sohler
970bf47ec0
implement position selection 2019-02-17 01:31: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