Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add support for statbar “off state” icons (#9462)
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
- Loading branch information
Showing
with
132 additions
and 36 deletions.
- +4 −0 builtin/game/statbars.lua
- +11 −5 doc/lua_api.txt
- +4 −0 doc/texture_packs.txt
- +1 −0 src/client/clientevent.h
- +7 −0 src/client/game.cpp
- +80 −16 src/client/hud.cpp
- +3 −2 src/client/hud.h
- +1 −0 src/hud.cpp
- +2 −0 src/hud.h
- +5 −10 src/network/clientpackethandler.cpp
- +4 −2 src/network/networkprotocol.h
- +8 −0 src/script/common/c_content.cpp
- +2 −1 src/server.cpp
- BIN textures/base/pack/bubble_gone.png
- BIN textures/base/pack/heart_gone.png
Oops, something went wrong.