Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
59c8ecea
Commit
59c8ecea
authored
Apr 25, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
BubbleRenderer.java
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
+10
-1
No files found.
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
View file @
59c8ecea
...
...
@@ -438,7 +438,16 @@ public class BubbleRenderer {
drawEntityName
(
entity
,
matrix
,
immediate
,
fullBright
,
24
F
+
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment