Commit 59c8ecea by Jonathan Thomas

Integrating green / red chat buttons for best friend and worst enemy status (when chat is HIDDEN)

parent 49b03f7c
Pipeline #12023 passed with stage
in 21 seconds
......@@ -438,7 +438,16 @@ public class BubbleRenderer {
drawEntityName(entity, matrix, immediate, fullBright, 24F + DISPLAY_PADDING);
// Draw 'resume chat' button
drawIcon("button-chat", matrices, -16, textHeaderHeight, 32, 17);
if (chatData.friendship == 3) {
// Friend chat bubble
drawIcon("button-chat-friend", matrices, -16, textHeaderHeight, 32, 17);
} else if (chatData.friendship == -3) {
// Enemy chat bubble
drawIcon("button-chat-enemy", matrices, -16, textHeaderHeight, 32, 17);
} else {
// Normal chat bubble
drawIcon("button-chat", matrices, -16, textHeaderHeight, 32, 17);
}
} else if (chatData.sender == ChatDataManager.ChatSender.USER && chatData.status == ChatDataManager.ChatStatus.DISPLAY) {
// Draw Player Name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment