1
0
mirror of https://repo.or.cz/minetest_hudbars.git synced 2024-11-13 03:50:18 +01:00
Commit Graph

89 Commits

Author SHA1 Message Date
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
Wuzzy
8c17e9373b Fix start_hidden parameter 2015-02-12 03:15:00 +01:00
Wuzzy
20a13045f7 Make breath and health use API instead 2015-02-12 03:00:58 +01:00
Wuzzy
7912e6b4ec Rename “start_hide” to “start_hidden” 2015-02-11 20:55:22 +01:00
Wuzzy
1016828877 Optimize hb.change_hudbar to change hud_change less times 2015-02-11 20:40:19 +01:00
Wuzzy
652da11a1f hud.conf → hudbars.conf 2015-02-09 23:42:56 +01:00
Wuzzy
041e76692b Rename main table from “hud” to “hb” 2015-02-09 23:41:52 +01:00
Wuzzy
79997659d9 Allow hud.change_hudbar to change only one or no value of both 2015-02-09 23:13:33 +01:00
Wuzzy
71f15d3763 Add proper function to initialize HUD bar 2015-02-09 22:51:35 +01:00
Wuzzy
55dc460d42 Use identifier instead of table in API functions 2015-02-09 22:45:08 +01:00
Wuzzy
fdc13e92bd Change color of breath bar 2015-02-05 01:35:38 +01:00
Wuzzy
023902341f Fix division by zero in hud.value_to_barlength 2015-02-04 21:45:27 +01:00