47615b8422
fix backgroun textures optimization for alpha transparency
2023-07-16 22:29:40 -04:00
3e73d3fa50
Merge branch 'nil_check_hudbar_state' of fluxionary for hudbar state checks
...
* another fix for https://codeberg.org/Wuzzy/minetest_hudbars/issues/4
based on separate callbacks, when we have several mods that rely on
* this solves and close https://codeberg.org/Wuzzy/minetest_hudbars/issues/4
but will need https://codeberg.org/Wuzzy/minetest_hudbars/pulls/7 also.
* this must be use in join with commit 20843d95cec0fb18516bc3c3ee456254a381ad5b
of this repository that is a backport of my own fork at @mckaygerhard
2023-06-21 12:45:36 -04:00
flux
881564d441
get_hudbar_state: return nil if not initialized
2023-06-20 12:42:50 -07:00
facc2cffb8
agressive optimizations for textures
...
* adapt fork changes from Niklp/minetest_hudbars
* backported ce8239ba09 (diff-748679858024f66ba27ffe19be82b13c951ef82f)
2023-06-20 00:36:21 -04:00
737bc5ae0f
update information for engines any version, adde complete good readme
2023-06-20 00:20:30 -04:00
29c1a3c31c
backguard compatibility for 0.4.16+ engines and 5.2+ and beyond
...
* boilerplace the minetest translation and only use format
when is available to translate it
* uses Use MT native support for "background icons" only
when available and if valid
2023-06-20 00:02:42 -04:00
20843d95ce
workaround in rare cases for get_properties when join players
...
* sometimes `player:get_properties().something` returns `nil`
if you called inside `minetest.register_on_joinplayer()`, so
it triggers an "attempt to index a nil value" error when called
* considering the following reports:
the second bug is pretty super common, still in 5.5 version of
engine minetest, of course its mod update issue but still valid
* https://github.com/minetest/minetest/issues/12350
* https://github.com/minetest/minetest/issues/13343
* https://codeberg.org/Wuzzy/minetest_hudbars/issues/4
* this is a merge of https://codeberg.org/Wuzzy/minetest_hudbars/pulls/5
2023-06-19 23:45:12 -04:00
Wuzzy
965a67a9c1
Version 2.3.4
2.3.4
2023-03-09 12:53:17 +01:00
Wuzzy
4876bbbb00
Fix error message when reducing max. player hp
2023-03-09 12:52:18 +01:00
Wuzzy
dd2a9a008d
Add mailmap for Wuzzy
2022-08-01 13:57:41 +02:00
Wuzzy
812b2538ff
Version 2.3.3
2.3.3
2021-07-08 15:43:14 +02:00
Wuzzy
906f7876f7
Version 2.3.2
2.3.2
2021-07-08 15:42:11 +02:00
Wuzzy
a44de6230b
Fix massive hud_change spam (hide/unhide)
2021-07-08 15:34:50 +02:00
Wuzzy
0684bac45b
Version 2.3.1
2.3.1
2020-07-11 03:41:09 +02:00
Wuzzy
183d727635
Revert "12×12 textures, compress textures"
...
This reverts commit 746945dd0f00903614e24dc916a832ec4cb9ea19.
2020-07-11 03:38:16 +02:00
Wuzzy
f1001432eb
Revert "Tweak breath icons"
...
This reverts commit 5d65623d90f45049da07964c1cdd01412a9f1fdc.
2020-07-11 03:38:14 +02:00
Wuzzy
a41453964a
Version 2.3.0
2.3.0
2020-07-11 03:28:39 +02:00
Wuzzy
5d65623d90
Tweak breath icons
2020-07-11 03:28:01 +02:00
Wuzzy
f6d539249e
More bg icon cleanup
2020-07-11 03:25:35 +02:00
Wuzzy
746945dd0f
12×12 textures, compress textures
2020-07-11 03:09:14 +02:00
Wuzzy
37eff8b2d2
Fix breath bar that was broken by MT 5.3.0
2020-07-11 02:59:12 +02:00
Wuzzy
844fff43de
Use MT native support for "background icons"
2020-07-11 02:57:23 +02:00
Wuzzy
a250d2a350
Add z-index to HUD elements
2020-04-07 01:06:49 +02:00
Wuzzy
7993feac07
Version 2.2.2
2.2.2
2020-03-13 18:11:13 +01:00
Wuzzy
b19b5f090a
Fix another crash
2020-03-13 18:10:52 +01:00
Wuzzy
9a8a3f0f8c
Version 2.2.1
2.2.1
2020-03-13 07:55:01 +01:00
Wuzzy
2eb2df946b
Add nil check in hb.change_hudbar
2020-03-13 07:53:24 +01:00
Wuzzy
2ffcd94dd6
Version 2.2.0
2.2.0
2020-02-04 22:11:43 +01:00
Wuzzy
8d3fa950f8
Update translation credits
2020-02-04 22:10:41 +01:00
wuniversales
332aa18452
Add Spanish translation
2020-02-04 22:07:34 +01:00
Wuzzy
99ebd71da7
Update credits
2019-09-17 11:21:19 +02:00
Wuzzy
699e356609
Add Russian locale by lmk
2019-09-17 11:20:12 +02:00
Wuzzy
8c80745ecb
Version 2.1.0
2.1.0
2019-09-13 19:57:04 +02:00
Wuzzy
1e3def3cfa
Set bar_size to nil in progress_bar again
...
See the lengthy comment to learn why
2019-09-13 19:56:22 +02:00
Wuzzy
48d9fd6a12
Allow to specify number format strings explicitly
...
Also, the default number format string is now "%d"
2019-09-13 19:50:23 +02:00
Wuzzy
085a2aa901
Version 2.0.0
2.0.0
2019-04-01 12:55:40 +02:00
Wuzzy
14a535de0d
Update API documentation
2019-04-01 12:38:07 +02:00
Wuzzy
afb0242b3b
Restructure format_string_config
2019-04-01 12:23:54 +02:00
Wuzzy
915fab08e2
Always send update when changing hide state
...
This fixes a problem in hbarmor not getting the correct hide state initially.
2019-04-01 12:17:21 +02:00
Wuzzy
895fcae716
Better support for translatable format string
2019-04-01 11:49:30 +02:00
Wuzzy
07b9f766d2
Make format string params changable
2019-03-30 14:57:39 +01:00
Wuzzy
a3fede159b
Support custom hp_max/breath_max
2019-03-30 13:56:17 +01:00
Wuzzy
5710667766
Fix translation of format string
2019-03-20 13:38:31 +01:00
Wuzzy
1568d1f418
Add explicit progress bar size
2019-03-20 13:35:36 +01:00
Wuzzy
8b577c7424
Move description into mod.conf
2019-03-20 13:31:27 +01:00
Wuzzy
8d2d2d6070
Remove old changelog
2019-03-20 13:31:00 +01:00
Wuzzy
94b9c545da
Move away from intllib in favor of MT 5.0.0
2019-03-20 13:30:28 +01:00
Wuzzy
ba21f47489
Version 1.11.0
1.11.0
2018-02-05 21:24:53 +01:00
Wuzzy
90688e4d45
Add Malay locale by muhdnurhidayat
2018-02-05 21:23:31 +01:00
Wuzzy
bec8afed8b
Version 1.10.0, update credits
2017-09-18 17:49:48 +02:00