77 else if (num >= (
double)(
Duration - 1f))
138 float y = Main.screenHeight - 150;
148 if (text.Split(
'\n').Length > 2)
163 text =
string.Concat(
Main.
rand.Next(999999999));
164 for (
int i = 0; i < 14; i++)
static float SmoothStep(float value1, float value2, float amount)
void Add(TKey key, TValue value)
static Asset< DynamicSpriteFont > MouseText
GameTip(string textKey, double spawnTime)
readonly double SpawnTime
void Update(double currentTime)
const float DISAPPEAR_TIME
bool IsExpired(double currentTime)
bool IsExpiring(double currentTime)
void AddNewTip(double currentTime)
LocalizedText[] _tipsDefault
LocalizedText[] _tipsGamepad
readonly List< GameTip > _currentTips
LocalizedText[] _tipsKeyboard
static object CreateDialogSubstitutionObject(NPC npc=null)
static LanguageSearchFilter CreateDialogFilter(string startsWith, object substitutions)
static string SupportGlyphs(string tooltip)
static LocalizedText[] FindAll(Regex regex)
static GameCulture ActiveCulture
static LocalizedText GetText(string key)
static bool Exists(string key)
string FormatWith(object obj)
static readonly LocalizedText Empty
static GameTime gameTimeCache
static SpriteBatch spriteBatch
static UnifiedRandom rand
static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f)
static float GetLerpValue(float from, float to, float t, bool clamped=false)
static bool remixWorldGen
static bool tenthAnniversaryWorldGen
static bool drunkWorldGenText
static bool getGoodWorldGen