Consistent HP and damage types (#8167)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Sun, 10 Feb 2019 23:03:26 +0000 (00:03 +0100)
committerParamat <paramat@users.noreply.github.com>
Sun, 10 Feb 2019 23:03:26 +0000 (23:03 +0000)
commitffb17f1c9a203fea6de70159b461f52d104e05b9
treeca2c9f26515b8c6dad2a42b7e09f5d2a91d6f398
parentba5a9f2b361a2fa01d1a3396999a5833983c0f4a
Consistent HP and damage types (#8167)

Remove deprecated HUDs and chat message handling.
Remove unused m_damage variable (compat break).
HP: s32 for setter/calculations, u16 for getter.
25 files changed:
src/client/client.cpp
src/client/client.h
src/client/clientenvironment.cpp
src/client/clientenvironment.h
src/client/content_cao.cpp
src/client/content_cao.h
src/client/hud.cpp
src/content_sao.cpp
src/content_sao.h
src/database/database-files.cpp
src/database/database-postgresql.cpp
src/database/database-sqlite3.cpp
src/genericobject.cpp
src/genericobject.h
src/network/serverpackethandler.cpp
src/object_properties.cpp
src/object_properties.h
src/remoteplayer.cpp
src/script/common/c_content.cpp
src/script/cpp_api/s_entity.cpp
src/script/cpp_api/s_player.cpp
src/script/cpp_api/s_player.h
src/script/lua_api/l_object.cpp
src/server.cpp
src/serverobject.h