]> git.lizzy.rs Git - dragonfireclient.git/commit
Add support for statbar “off state” icons (#9462)
authorWuzzy <wuzzy2@mail.ru>
Mon, 11 May 2020 19:40:45 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Mon, 11 May 2020 19:40:45 +0000 (21:40 +0200)
commit6e1372bd894d955300c40d69e5c882e9cc7d7523
tree6273a8c2ddfec5efbc5b69fa49b088368dd78c15
parent88bb8e57e6780130df1877e7a89bb56c9561ea6a
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>
15 files changed:
builtin/game/statbars.lua
doc/lua_api.txt
doc/texture_packs.txt
src/client/clientevent.h
src/client/game.cpp
src/client/hud.cpp
src/client/hud.h
src/hud.cpp
src/hud.h
src/network/clientpackethandler.cpp
src/network/networkprotocol.h
src/script/common/c_content.cpp
src/server.cpp
textures/base/pack/bubble_gone.png [new file with mode: 0644]
textures/base/pack/heart_gone.png [new file with mode: 0644]