78994 {
78995
78996
78997
78998
78999
79000
79001
79002
79003
79004
79005
79006
79007
79008
79009
79010
79011
79012
79013
79014
79015
79016
79017
79018
79019
79020
79021
79022
79023
79024
79025
79026
79027
79028
79029
79030
79031
79032
79033
79034
79035
79036
79037
79038
79039
79040
79041
79042
79043
79044
79045
79046
79047
79048
79049
79050
79051
79052
79053
79054
79055
79056
79057
79058
79059
79060
79061
79062
79063
79064
79065
79066 Vector2 origin = default(Vector2);
79067 Color color = default(Color);
79068 Vector2
vector2 =
default(Vector2);
79069 for (int i = 0; i < 20; i++)
79070 {
79073 {
79074 continue;
79075 }
79078 {
79079 text = text + " (" + popupText.stack + ")";
79080 }
79089 num6 *=
num * popupText.alpha * 0.3f;
79090 num8 *=
num * popupText.alpha * 0.3f;
79091 num7 *=
num * popupText.alpha * 0.3f;
79094 Color
color2 = Color.Black;
79098 {
79099 case PopupTextContext.ItemPickupToVoidContainer:
79102 break;
79103 case PopupTextContext.SonarAlert:
79104 color2 = Color.Blue * 0.4f;
79106 {
79107 color2 = Color.Red * 0.4f;
79108 }
79110 break;
79111 }
79113 for (
int j = 0;
j < 5;
j++)
79114 {
79119 {
79120 case 0:
79122 break;
79123 case 1:
79125 break;
79126 case 2:
79128 break;
79129 case 3:
79131 break;
79132 default:
79133 color = popupText.color *
num * popupText.alpha *
num10;
79134 break;
79135 }
79137 {
79140 }
79141 if (
color2 != Color.Black &&
j < 4)
79142 {
79145 }
79146 float num3 = popupText.position.Y - screenPosition.Y +
num2;
79148 {
79150 }
79151 if (
color2 != Color.Black &&
j < 4)
79152 {
79155 spriteBatch.DrawString(
FontAssets.
MouseText.Value, text,
new Vector2(
popupText.position.X -
screenPosition.X +
num12 + origin.X,
num3 + origin.Y), Color.Lerp(color,
color3, 0.5f),
popupText.rotation, origin,
popupText.scale, (SpriteEffects)0, 0
f);
79157 }
79158 else
79159 {
79161 }
79163 {
79168 {
79169 color4 = Color.White * 0.6f;
79170 }
79175 }
79176 }
79177 }
79178 }
static Asset< DynamicSpriteFont > MouseText
static SpriteBatch spriteBatch
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
static Vector2 screenPosition
The position of the top left corner of the screen in world coordinates. Modify in M:Terraria....
static PopupText[] popupText