Commit Graph

118 Commits

Author SHA1 Message Date
Wuzzy
2691a4e320 Increment version and update changelog 2015-03-04 04:41:00 +01:00
Wuzzy
e5d1e21a41 Adjust default HUD bars position for MT 0.4.12 2015-03-04 04:40:07 +01:00
Wuzzy
c5654808ca Version 1.0.2 2015-02-23 01:41:17 +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
5c5b516834 Set version to 1.0.1 2015-02-21 17:24:01 +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
05b9c3b882 Declare release 1.0.0 2015-02-12 21:58:34 +01:00
Wuzzy
0a5b735a89 Update changelog 2015-02-12 21:55:32 +01:00
Wuzzy
457edba35e Copy-editing of README.txt 2015-02-12 21:52:07 +01:00
Wuzzy
7cd27de925 Final fixes to API documentation 2015-02-12 21:51:01 +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
98bc7a0bb5 Update changelog 2015-02-12 05:59:27 +01:00
Wuzzy
1912c5fb57 Increment minor version number 2015-02-12 05:51:09 +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
c2e2a377e6 Mention the keywords “health” and “breath” 2015-02-12 03:31:27 +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
4b1c38fdcf Fix documentation on hb.register_hudbar 2015-02-11 20:54:13 +01:00
Wuzzy
6ff02d4db8 Update documentation about internal stuff about changing and hiding 2015-02-11 20:47:29 +01:00
Wuzzy
1016828877 Optimize hb.change_hudbar to change hud_change less times 2015-02-11 20:40:19 +01:00
Wuzzy
8cdd144d15 Update changelog 2015-02-09 23:47:46 +01:00
Wuzzy
7ac9dad551 Remove .gitignore and .gitignore
Nothing of this was project-specific; so no justification to keep them
with this repository.
2015-02-09 23:43:46 +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
b36645816f Copy-editing in API.md 2015-02-09 23:20:41 +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
28551721f4 Update API documentation and bump minor version 2015-02-09 22:57:26 +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
7d509adf5e Bump minor version number 2015-02-07 23:48:14 +01:00
Wuzzy
2691cc2300 Update changelog 2015-02-07 23:43:28 +01:00
Wuzzy
6cda5dfd4a Add initial API documentation 2015-02-07 23:42:42 +01:00
Wuzzy
75999872aa Update changelog, add comment about SemVer 2015-02-05 01:38:46 +01:00
Wuzzy
fdc13e92bd Change color of breath bar 2015-02-05 01:35:38 +01:00
Wuzzy
1c4a408d9b Update README 2015-02-05 01:35:20 +01:00
Wuzzy
023902341f Fix division by zero in hud.value_to_barlength 2015-02-04 21:45:27 +01:00
Wuzzy
6e1b5be68d Add forgotten 0/0 corner cases 2015-02-04 21:39:52 +01:00
Wuzzy
e6e8f2d688 Hide bar background when max == 0
The bars are intended to show the ratio between value and max.
For a max of 0 (which implies a value of 0), this implies a value/max
ratio of 0/0, which is undefined. Therefore, for this very special case,
we just hide the bar altogether.
2015-02-04 21:28:20 +01:00
Wuzzy
017b304396 Allow freely chosen texture names for custom bars 2015-02-04 20:36:27 +01:00