Commit Graph

100 Commits

Author SHA1 Message Date
Wuzzy
9145f492e8 Move default settings into new Lua file 2017-07-02 18:50:17 +02:00
Wuzzy
5e06b35e79 Add hb.get_hudbar_identifiers() 2017-07-02 18:44:24 +02:00
Wuzzy
e09eb8ab4f Use 0.4.16 settings syntax
This breaks compability with Minetest 0.4.15, 0.4.14, 0.4.13 and 0.4.12
2017-06-20 16:38:52 +02:00
Wuzzy
cfebd5138d Explicitly set statbar size for progress bars 2017-05-29 16:14:40 +02:00
Wuzzy
ea58a71e17 Fix crash HP changed before player was registered 2017-02-25 02:04:15 +01:00
Wuzzy
7cf82b4e2f Move statbars 2 pixels up 2016-12-03 02:24:45 +01:00
Wuzzy
5c0f165ddf Event-based health bar change 2016-12-02 23:04:54 +01:00
Wuzzy
3c182884dc Fix breath and health not being updated anymore 2016-12-02 22:36:10 +01:00
Wuzzy
3d74745aec Big statbar icons, introduce new offset config 2016-12-02 21:40:46 +01:00
Wuzzy
d099ae91e2 Remove stupid testing code 2016-11-22 15:12:09 +01:00
Wuzzy
6c0c617b39 Fix possible crash after player left 2016-11-22 14:59:40 +01:00
Wuzzy
27336cee7d Fix outdated inttlib boilerplate 2016-11-09 01:49:05 +01:00
Wuzzy
9a78ce745f Fix some Luacheck warnings 2016-08-11 17:21:33 +02:00
Wuzzy
5348d26a2e Add another string for translation 2016-08-08 03:57:20 +02:00
Wuzzy
6d850edf96 Add breath background icon for statbar_modern 2016-08-05 21:14:42 +02:00
Wuzzy
3b57b2cd4a Bugfix: statbar_modern was not correctly hidden 2016-08-05 20:39:28 +02:00
Wuzzy
d64dcb83b5 Move text 1px up so it fits better into box 2016-08-05 17:59:41 +02:00
Wuzzy
1786ae2cab Add intllib support 2016-08-05 16:54:52 +02:00
Wuzzy
f06e3c362f 1.4.1: Fix bug in hb.change_hudbar being a no-op 2016-07-23 11:47:50 +02:00
Wuzzy
fff42e2a42 Allow to change HUD bar images and label later 2016-07-03 00:18:54 +02:00
Wuzzy
5bff4d453c Remove redundant commenRemove redundant comment 2016-07-02 21:14:30 +02:00
Wuzzy
21651fcbe8 Fix hudbars_tick = hudbars_vmargin 2016-07-02 21:11:03 +02:00
Wuzzy
3362152656 Forceload default HUD bars, fixing a crash when changing enable_damage in-game 2015-05-25 15:59:49 +02:00
Wuzzy
39c1fcfe2f Various settings, now only use minetest.conf instead of hudbars.conf 2015-05-20 17:42:38 +02:00
Wuzzy
9752ddedf6 Typo fixes 2015-05-20 16:06:46 +02:00
Wuzzy
fb2cf988de Bar length is now rounded towards nearest integer 2015-05-20 00:23:21 +02:00
Wuzzy
2a35745ec9 Fix stupid bug (setting_getbool instead of setting_get) 2015-05-19 23:42:07 +02:00
Wuzzy
8d2321d647 Fix typo 2015-05-19 23:39:26 +02:00
Wuzzy
9d76643388 Fix reverting to default setting value not working 2015-05-19 23:38:13 +02:00
Wuzzy
4ac3b25539 Add alternative statbar display modes
For those nostalgists. ;-)
2015-05-19 23:35:47 +02:00
Wuzzy
897d40e47b Rename display_mode to alignment_pattern 2015-05-19 22:35:24 +02:00
Wuzzy
b68af069a4 Add preliminary display mode setting
Intentionally not in README.txt yet, because the positions cannot be set in minetest.conf yet.
2015-05-19 22:28:55 +02:00
Wuzzy
fc66c4f0a5 Code cleanup 2015-05-19 21:49:25 +02:00
Wuzzy
f2efdea814 Add HUD bar sorting feature 2015-05-19 21:40:54 +02:00
Wuzzy
015e23c6f2 Add setting to configure breath bar auto-hiding 2015-03-23 18:35:19 +01:00
Wuzzy
e5d1e21a41 Adjust default HUD bars position for MT 0.4.12 2015-03-04 04:40:07 +01:00
Wuzzy
cfe8b3a60b Remove pointless delays and useless code 2015-02-23 01:39:48 +01:00
Wuzzy
25b59646c2 Fix HUD elements disappearing for reconnectors 2015-02-23 01:34:13 +01:00
Wuzzy
ef30c34609 Fix race condition-like bug 2015-02-14 09:49:13 +01:00
Wuzzy
4ebc24f2ed Add workaround for bad initial breath value 2015-02-12 22:15:19 +01:00
Wuzzy
0ac416ad49 Fix add_all 2015-02-12 19:50:23 +01:00
Wuzzy
377f194884 Move start_hidden to init_hudbar, rename start_hidden in register function to default_start_hidden 2015-02-12 18:46:05 +01:00
Wuzzy
1fb539e7d8 Minor refactoring 2015-02-12 05:49:30 +01:00
Wuzzy
197fc56145 Refactor settings 2015-02-12 05:22:08 +01:00
Wuzzy
65c8702e64 Fix bad initial breath value of 11 2015-02-12 05:07:00 +01:00
Wuzzy
b0eabd3c7a Add basic error reporting for bad value/max combinations 2015-02-12 05:04:02 +01:00
Wuzzy
357229450c Only affect health- and breathbar in hide_buildin
... and leave other HUD elements in peace.
2015-02-12 04:40:30 +01:00
Wuzzy
ea9a303e48 Do not register health/breath bar if damage is off 2015-02-12 04:39:15 +01:00
Wuzzy
eb4e72c5a4 Add new function: hb.get_hudbar_state 2015-02-12 04:26:39 +01:00
Wuzzy
1d4af7e0ee Harden code against missing icon 2015-02-12 03:18:58 +01:00