Add hb.get_hudbar_identifiers()
[minetest_hudbars.git] / changelog.txt
blobe2e6b560f90a6fcc3e7be203b7aca92e3f3158f9
1 Note: This software uses semantic versioning,
2 as of version 2.0.0 of the standard <http://semver.org/>.
4 0.1.0
5 -----
6 - Initial release, forked from mod “Better HUD” [hud].
8 0.2.0
9 -----
10 - Add API documentation
12 0.3.0
13 -----
14 - Rename main table from “hud” to “hb” (affects function names!)
15 - Arguments 3-4 of hb.change_hudbar can be nil for values which should not change
16 - Add proper function hb.init_hudbar, replaces odd call to hud.hudtables[identifier].add_all
17 - Update API documentation and fix mistakes
18 - Use “hudbars.conf” instead of “hud.conf”
20 0.4.0
21 -----
22 - New function: hb.get_hudbar_state to get information about the state of an active HUD bar, such as values, whether it is hidden, etc.
23 - hb.change_hudbar has been optimized to call hud_change fewer times, which is hopefully good for networking
24 - Rename hb.register_hudbar parameter “start_hide” to “start_hidden”
25 - start_hidden parameter now finally works
26 - Do not affect other HUD flags (crosshair, wielditem, etc.) when starting mod
27 - Show error message when trying to call hb.init_hudbar or hb.change_hudbar with bad values
28 - Update documentation
29 - Lots of refactoring
30 - Health and breath bar now use API
32 1.0.0
33 -----
34 - Add new parameter start_hidden to hb.init_hudbar, specified whether HUD bar is hidden on start
35 - Copy-editing of API.md and README.txt
36 - Internal: Fix add_all weirdness
38 1.0.1
39 -----
40 - Fix race condition causing crash at start of server
42 1.0.2
43 -----
44 - Fix other HUD elements disappearing for rejoining players
45 - Remove pointless delays for initializing the HUD for new or rejoining players
47 1.0.3
48 -----
49 - Adjust default HUD bars position for Minetest 0.4.12
51 1.1.0
52 -----
53 - Add boolean minetest.conf setting support (hudbars_autohide_breathbar) to control whether the breath bar is automatically hidden when full (default: yes)
55 1.2.0
56 -----
57 - New setting: hudbars_sorting. You can now manually sort all the HUD bars. Useful if you don't like automatic order
58 - New setting: hudbars_bar_type. You now can change the appearance of the HUD bars.
59 - New HUD bar types, slightly experimental: Classic statbars and modern [hud]-style statbars
60 - New experimental/unfinished setting: hudbars_alignment_pattern: You can now make the HUD bars stack vertically instead of the current zig-zag pattern. Note you probably need to change source code to productively use this feature
61 - Various position-related HUD bar settings (see README.txt)
62 - Remove hudbars.conf support and hudbars.conf.example (was never officially supported anyways)
64 1.2.1
65 -----
66 - Fix crash when enable_damage is changed in mid-game
68 1.3.0
69 -----
70 - Make all settings avaialbe in Minetest's advanced settings menu
71 - Fix HUD bars overlap when both hudbars_tick and hudbars_vmargin were set
72 - Use Markdown syntax in readme file
73 - Fix some factual mistakes in readme file
74 - Add metadata: mod.conf, description.txt, screenshot.png
76 1.4.0
77 -----
78 - Allow to change HUD bar images and label after it has been registered
79 - Minor API.md correction
81 1.4.1
82 -----
83 - Fix bug in hb.change_hudbar being a no-op if new_value and new_max value are nil
85 1.5.0
86 -----
87 - Portuguese translation by BrunoMine
89 1.5.1
90 -----
91 - Fix critical bug: Mod does not work with both intllib and mod security enabled
92 - Update screenshot to use new 3:2 aspect ratio