Commit Graph

125 Commits

Author SHA1 Message Date
Dirk
8852716563
REPOSITORY WAS MOVED! UPDATE YOUR LOCAL REPO
New location: https://git.0x7be.net/dirk/mtimer
New head: `main` instead of `master`
2023-07-16 16:15:05 +02:00
Dirk Sohler
c1a2ed6cb8
add 5.6 human readable title 2022-08-12 08:28:53 +02:00
Dirk Sohler
49b485af34
use correct option in documentation 2022-01-30 21:53:28 +01:00
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
7188f890c7
use math.floor for processing the ingame timestamp
fixes https://gitlab.com/4w/mtimer/-/issues/23
2021-10-20 18:58:24 +02:00
Dirk Sohler
e9ddeff9d1
fix i18n typo
fixes https://gitlab.com/4w/mtimer/-/issues/22
2021-10-20 18:51:43 +02:00
Dirk Sohler
dcbb11641b
update screenshot to show new meridiem indicator 2021-10-16 22:12:10 +02:00
Dirk Sohler
91c967cf4f
implement meridiem indicator
implements https://gitlab.com/4w/mtimer/-/issues/20
2021-10-16 22:07:33 +02:00
Dirk Sohler
f90cba8852
update screenshots to show the new style dialogs
addresses https://gitlab.com/4w/mtimer/-/issues/19
2021-10-09 06:03:00 +02:00
Dirk Sohler
16119cf22c
work on user-facing documentation
addresses https://gitlab.com/4w/mtimer/-/issues/19
2021-10-09 05:46:15 +02:00
Dirk Sohler
7e367a7509
work on code documentation and i18n ordering 2021-10-09 05:25:41 +02: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
26fd002866
adapt HUD element offset dialog to new style
addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-10-06 04:20:32 +02:00
Dirk Sohler
77ff151591
adapt timezone offset to new style 2021-10-06 01:43:53 +02:00
Dirk Sohler
a11cda6475
adapt timer format to new style 2021-05-15 17:29:58 +02:00
Dirk Sohler
77b594f765
adapt session duration format to new style
Addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-05-15 17:19:04 +02:00
Dirk Sohler
e58cd1741d
adapt ingame time format to new style
Addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-05-15 17:13:38 +02:00
Dirk Sohler
917de32cfd
make table line function a formspec helper 2021-05-15 17:06:41 +02:00
Dirk Sohler
57a9284bca
move helper function out of fs creation function 2021-05-15 01:03:59 +02:00
Dirk Sohler
1218243a2d
put larger formspec generations in own files 2021-05-15 00:51:41 +02:00
Dirk Sohler
c6f9afc831
adapt real_time_universal to new style
addresses https://gitlab.com/4w/mtimer/-/issues/16
2021-05-08 22:48:14 +02:00
Dirk Sohler
06b370280f
remove debug leftover 2021-05-08 21:35:30 +02:00
Dirk Sohler
1444a4d8f5
implement icon colorization for icon buttons 2021-05-08 21:32:02 +02:00
Dirk Sohler
c2d1d1019e
validate if fields sender is an actual player
fixes https://gitlab.com/4w/mtimer/-/issues/18
2021-05-08 20:56:14 +02:00
Dirk Sohler
90d005dcd6
make visibility formspec update after change
fixes https://gitlab.com/4w/mtimer/-/issues/17
2021-05-08 20:53:37 +02:00
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
70760fc37f
adapt timer format to new style 2021-04-04 13:04:49 +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
fd7c3f67d3
use better icon for visibility 2021-04-04 12:35:28 +02:00
Dirk Sohler
c0559c6a9d
use better icon for exit button 2021-04-04 12:30:24 +02:00
Dirk Sohler
120336493b
remove debug leftovers 2021-04-03 15:34:11 +02:00
Dirk Sohler
b179c6f8c1
use formspec checkbox for timer type
Unfortunately the formspec seems not to be properly updated when
unchecking a checkbox, even if fields are sent and thus the formspec
action should be triggered. This causes unselecting the currently
selected timer type to be unselected when uinselecting it – instead of
updating the formspec and show the selected option again.

This is just a “visual glitch” and does not affect the timer
functionality. When re-opening the timer window the type is selected
correctly again.

addresses https://gitlab.com/4w/mtimer/-/issues/11
2021-04-03 15:25:52 +02:00
Dirk Sohler
50e44e2e32
split off custom timer from other formspecs
Since the custom timer formspec is fairly complex (and will be a bit
more complex in the future) the best thing is splitting it off from the
other formspec definitions.
2021-04-03 15:10:05 +02:00
Dirk Sohler
dc0b0dc03d
make title dynamic and adapt to new style 2021-04-03 15:06:17 +02:00
Dirk Sohler
18efcb0307
update icons and button images readme 2021-04-02 11:04:37 +02:00
Dirk Sohler
8640ba95c5
make all timer standard values configurable 2021-04-02 10:54:49 +02:00
Dirk Sohler
caecb410e8
refactor init and automate formspec files loading 2021-04-02 09:16:47 +02:00
Dirk Sohler
91c7ddd0b8
optipng exit button icon 2021-04-02 08:58:43 +02:00
Dirk Sohler
4c1640773b
remove unused image file 2021-04-02 08:57:44 +02:00
Dirk Sohler
b3b23e8860
unify formspec cration files 2021-04-02 08:57:00 +02:00
Dirk Sohler
7e0713a67a
make all dialogs use the new style buttons 2021-04-02 08:52:29 +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
a62fc8bbc8
optipng all textures (icons, buttons, etc.) 2021-02-12 20:27:12 +01:00
Dirk Sohler
7700d9e35b
optipng all screenshots 2021-02-12 20:25:11 +01: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