4055 bool flag = savePath.EndsWith(
"/");
4204 if (!hasCreditsSceneMusicBox)
4206 if (!hasCreditsSceneMusicBox)
4210 if (!hasCreditsSceneMusicBox)
4426 [
Obsolete(
"Transform is deprecated. Please use GameViewMatrix & GUIViewMatrix")]
5756 string text = savePath + text2 +
"dedServers.dat";
5828 if (
"CameraMovementMode" !=
null)
6001 if (
"AutoSaveFrequency" ==
null)
6109 string text = savePath + text2 +
"config.dat";
6148 if (1073741824 == 0)
6248 string text = text2.Replace(
"*",
"_").Replace(
"?",
"_").Replace(
"/",
"_")
6256 char c =
text[(int)num];
6259 if (
text._stringLength != 0)
6334 return (
"" +
text).Replace(
".",
"_").Replace(
"*",
"_").Replace(
"?",
"_")
6356 bool flag = worldSize ==
"0";
6399 bool flag2 =
text.ToLower() ==
"world=";
6401 bool flag3 = text2.ToLower() ==
"port=";
6402 if (
"port=" ==
null)
6407 if (
"port=" ==
null)
6411 bool flag4 =
text4.ToLower() ==
"worldrollbackstokeep=";
6412 if (
"worldrollbackstokeep=" ==
null)
6417 if (
"worldrollbackstokeep=" ==
null)
6421 bool flag5 =
text6.ToLower() ==
"maxplayers=";
6422 if (
"maxplayers=" ==
null)
6433 if (
"password=" ==
null)
6438 if (
"password=" ==
null)
6443 if (
"motd=" ==
null)
6454 if (
"seed=" ==
null)
6463 if (
"secure=" ==
null)
6470 if (
"upnp=" ==
null)
6477 if (
"upnp=" ==
null)
6482 if (
"npcstream=" ==
null)
6487 if (
"npcstream=" ==
null)
6663 while (
text ==
null)
6770 if ((
"" ==
null ||
"" !=
null) && (
"" ==
null ||
"" !=
null))
6860 long num4 = 16843009
L;
6862 long num6 = 16843009
L;
6863 825.m_value = (int)
num4;
7065 if (
"Misc.FrostMoonScore" ==
null)
7068 if (
"Misc.FrostMoonScore" ==
null)
7572 if (num == 0 || num == 0)
8268 if (discoStyle == 0)
8445 string text2 =
num5.ToString();
8446 string text3 =
"" + text2;
8590 if (
info.cursorText ==
null)
8594 byte diff =
info.diff;
8598 int hackedScreenWidth =
info.hackedScreenWidth;
8599 string buffTooltip =
info.buffTooltip;
8669 if (preFixLine ==
null || preFixLine !=
null)
8671 if (preFixLine !=
null)
8673 if (preFixLine !=
null)
8696 if (difficulty == 0)
8700 if (difficulty == 0)
8852 if (text2 ==
null || text2 !=
null)
8933 stringBuilder.AppendInt((
int)
num2);
9324 int spriteDirection =
rCurrentNPC.spriteDirection;
9399 bool flag =
rCurrentNPC.AI_120_HallowBoss_IsInPhase2();
9492 int type =
proj.type;
9496 int frame =
proj.frame;
9499 float scale =
proj.scale;
9505 float rotation =
proj.rotation;
9522 float scale =
proj.scale;
9529 float rotation =
proj.rotation;
9570 float scale =
proj.scale;
9580 float rotation =
proj.rotation;
9638 float scale =
proj.scale;
9648 float rotation =
proj.rotation;
9706 float scale =
proj.scale;
9716 float rotation =
proj.rotation;
9835 float scale =
proj.scale;
9845 float rotation =
proj.rotation;
9905 float scale =
proj.scale;
9916 float rotation =
proj.rotation;
10014 float[] oldRot =
proj.oldRot;
10033 int type =
proj.type;
10055 float x =
proj.velocity.X;
10056 float y =
proj.velocity.Y;
10063 if (
proj.getRect() ==
null)
10072 int direction =
proj.direction;
10079 private static void DrawPrettyStarSparkle(
float opacity,
SpriteEffects dir,
Microsoft.
Xna.
Framework.
Vector2 drawpos,
Microsoft.
Xna.
Framework.
Graphics.
Color drawColor,
Microsoft.
Xna.
Framework.
Graphics.
Color shineColor,
float flareCounter,
float fadeInStart,
float fadeInEnd,
float fadeOutStart,
float fadeOutEnd,
float rotation,
Microsoft.
Xna.
Framework.
Vector2 scale,
Microsoft.
Xna.
Framework.
Vector2 fatness)
10114 int width =
proj.width;
10115 int height =
proj.height;
10116 float x =
proj.position.X;
10117 float y =
proj.position.Y;
10122 int alpha =
proj.alpha;
10126 float x2 =
proj.position.X;
10138 if (
proj.type == 0)
10141 if (
proj.type == 0)
10147 int type =
proj.type;
10211 int type =
proj.type;
10214 float rotation =
proj.rotation;
10293 float rotation =
proj.rotation;
10345 float rotation =
proj.rotation;
10376 float scale =
proj.scale;
10377 float rotation =
proj.rotation;
10427 float x =
proj.velocity.
X;
10428 float y =
proj.velocity.Y;
10431 float rotation =
proj.rotation;
10453 int timeLeft =
proj.timeLeft;
10475 int type =
proj.type;
10706 int spriteDirection =
proj.spriteDirection;
10707 int frame =
proj.frame;
10708 if (spriteDirection == 0)
10721 bool isAPreviewDummy =
proj.isAPreviewDummy;
10722 if (spriteDirection == 0)
10725 float scale =
proj.scale;
10726 float rotation =
proj.rotation;
10728 float scale2 =
proj.scale;
10743 int type =
proj.type;
10763 int direction =
proj.direction;
10764 int width =
proj.width;
10765 if (direction == 0)
10774 if (
proj.direction == 0)
10783 int alpha =
proj.alpha;
10784 if (
proj.velocity ==
null)
10787 int type =
proj.type;
10789 float x =
proj.position.
X;
10790 float y =
proj.position.Y;
10792 float num = vector.
Length();
10793 if (oldPos ==
null)
10852 bool lastMouseInterface =
localPlayer.lastMouseInterface;
10887 if (disableVoidBag == 0)
10895 if (disableVoidBag == 0)
10900 if (disableVoidBag == 0)
10961 bool lastMouseInterface =
localPlayer.lastMouseInterface;
11034 string text =
string.Format(message, arguments);
11056 float x =
proj.position.X;
11057 float y =
proj.position.Y;
11070 int width =
proj.width;
11079 int height =
proj.height;
11233 int size =
list._size;
11252 if (num != 0 && num == 0)
11270 long num = -2147483647
L;
11330 if (num == 0 && num == 0)
11501 if (1073741824 == 0)
11504 if (1073741824 == 0)
11507 if (1073741824 == 0)
11510 if (1073741824 == 0)
11547 if (colors !=
null &&
num2 != 0)
11578 bool flag =
text !=
"Copper Pickaxe";
11579 if (
"Copper Pickaxe" ==
null)
11583 if (
"Copper Pickaxe" ==
null)
11588 bool flag2 = text2 !=
"Copper Axe";
11589 if (
"Copper Axe" ==
null)
11594 if (
"Copper Axe" ==
null)
11598 if (
"Copper Axe" ==
null)
11602 if (
"Copper Axe" ==
null)
11606 if (
"Copper Axe" ==
null)
11610 if (
"Copper Axe" ==
null)
11614 if (
"Copper Axe" ==
null)
11618 if (
"Copper Axe" ==
null)
12129 return text + text2 +
"%";
12253 float num = vector.
Length();
12295 bool flag = text2 !=
"";
12438 if (needToSetupDrawInterfaceLayers)
12442 if (!needToSetupDrawInterfaceLayers)
12447 if (!needToSetupDrawInterfaceLayers)
12505 if (mouseInterface)
12509 if (!mouseInterface)
12541 if (
sourceItem.GetFlexibleTileWand() !=
null)
12600 float x =
cursor2.Position.x;
12601 float y =
cursor2.Position.y;
12620 if (-2147483648 == 0)
12700 if (builderAccStatus ==
null)
12702 if (builderAccStatus ==
null)
12706 if (builderAccStatus ==
null)
12932 if (
"Background Tiles:" ==
null)
12971 return true.ToInt();
13002 int whoAmI = head.
whoAmI;
13006 bool active = head.
active;
13007 if (!active || !active)
13279 int value = num.m_value;
13391 int value = num.m_value;
13881 if (-2147483648 == 0)
13937 string text2 =
text.Trim();
13971 string text2 =
text.Trim();
14040 string text2 =
"\"" +
text +
"\"";
14078 if (! ==
null ||
"Solar" ==
null)
14089 if (
"BloodMoon" ==
null)
14092 if (
"Graveyard" ==
null)
14095 if (
"Sepia" ==
null)
14098 if (
"BloodMoon" ==
null)
14155 int skinVariant =
plr.skinVariant;
14168 int skinVariant =
plr.skinVariant;
14422 if (colors !=
null)
14426 if (colors ==
null)
14494 if (colors !=
null)
14498 if (colors ==
null)
14571 ushort wall =
tile.wall;
14625 return "Currency.Platinum";
14647 ushort wall =
tile.wall;
14732 if (
"GameUI.PotionOfReturnExitPortal" ==
null)
14736 if (
"GameUI.PotionOfReturnExitPortal" ==
null)
14789 if (
"GameUI.PotionOfReturnHomePortal" ==
null)
14793 if (
"GameUI.PotionOfReturnHomePortal" ==
null)
15157 long num6 = -16777215
L;
15190 if (
tile2.blockType() != 0)
15203 if (
tile4.blockType() == 0)
15224 int value = num.m_value;
15304 if (renderTarget2D !=
null)
15309 if (renderTarget2D2 !=
null)
15314 if (renderTarget2D3 !=
null)
15319 if (renderTarget2D4 !=
null)
15324 if (renderTarget2D5 !=
null)
15329 if (renderTarget2D6 !=
null)
15446 if (1073741824 != 0)
15517 long num2 = 32752
L;
15981 float num = this.
scAdj;
15982 long num2 = 32752
L;
15983 long num3 = 858993459
L;
15994 long num7 = 32752
L;
16144 long num3 = -1717986919
L;
16270 long num5 = -1717986919
L;
16317 long num5 = -1717986919
L;
16347 long num4 = -1717986919
L;
16446 long num2 = -1717986919
L;
16490 long num4 = 18350
L;
16503 long num9 = 32752
L;
16547 long num4 = -1717986919
L;
16769 long num4 = 16336
L;
16774 long num5 = 16384
L;
16780 long num6 = 16336
L;
16897 if (!isDrawingOrUpdating)
16930 string text = text2 +
" (" + text2 +
")";
16980 float height = rect.
height;
17059 float totalWidth =
sceneArea.totalWidth;
17137 bool hidden =
theStar.hidden;
17144 float twinkle =
theStar.twinkle;
17145 float fadeIn =
theStar.fadeIn;
17262 float scale =
rain2.scale;
17481 if (-2147483648 == 0)
17661 if (num == 0 || num == 0)
17868 if (num == 0 || num == 0)
17871 if (num == 0 || num == 0)
18064 else if (
num5 == 0)
21513 bool flag = path.StartsWith(path,
StringComparison.CurrentCultureIgnoreCase);
21523 bool flag = path.StartsWith(path,
StringComparison.CurrentCultureIgnoreCase);
21908 this.<>1__state = <>1
__state;
21918 private bool MoveNext()
21923 this.<>1__state =
num2;
21924 this.<>1__state = num;
21932 this.<>1__state = num;
21938 this.<>1__state = num;
21952 this.<>1__state =
num3;
21991 this.<>1__state =
num6;
22028 void IEnumerator.
Reset()
22074 this.<>1__state = <>1
__state;
22084 private bool MoveNext()
22122 void IEnumerator.
Reset()
22145 private int <i>5
__2;
class f__AnonymousType0<< Count > j__TPar
static void SynchroniseFiles()
static void LoadContent(ContentManager content)
List< GUIPageIconGrouping > LeftGroupings
static InterfaceProfile_Layout Active
ItemGrid_Layout.ReorderStyle Reorder
static void UnloadState()
static bool UseLargeMinimap
GraphicsDevice graphicsDevice
IEnumerator< DisplayMode > GetEnumerator()
static bool BeginBuffer(GeometryBufferInstance.BatchBuffer bufferListId, int renderCountRefresh)
static void InvalidateBuffers()
DisplayModeCollection _supportedDisplayModes
static GraphicsAdapter DefaultAdapter
void SetRenderTarget(RenderTarget2D renderTarget)
static float Lerp(float value1, float value2, float amount)
static float Min(float value1, float value2)
DraggableItemGrid_Layout TextGrid
static MultiplayerChat_Layout Instance
static void WriteLine(object value)
static void Write(string value)
static int ToInt32(object value)
static string Combine(string path1, string path2)
static char[] GetInvalidFileNameChars()
static byte Min(byte val1, byte val2)
static double Pow(double x, double y)
static double IEEERemainder(double x, double y)
static int Sign(double value)
static string Replace(string input, string pattern, string replacement)
StringBuilder Append(char value, int repeatCount)
static bool InTileBounds(int x, int y, int lx, int ly, int hx, int hy)
static void InitializeAll()
static void NotifyProgressionEvent(int eventID)
void OnPreUpdateAllProjectiles()
static CreativePowerManager Instance
ItemsSacrificedUnlocksTracker ItemSacrifices
void ClearCachedTileDraws(bool solidLayer)
void Draw(bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
void PostDrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
void PreDrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
void DrawWalls(Vector2 screenPosition, Vector2 offSet, int firstTileX, int firstTileY, int lastTileX, int lastTileY)
static void CheckMorning()
static void CheckMorning()
static bool IsGolfBallResting(Projectile golfBall)
Projectile GetLastHitBall()
void CancelBallTracking()
static void LoadContent()
void OnPreUpdateAllProjectiles()
static int KeyboardContext
static void CacheCanceledInput(int cacheMode)
static void PrepareAfterEverythingElseLoaded()
static void RebuildItemCreativeSortingIDsAfterRecipesAreSetUp()
static void CopyOldSaves()
static PlayerFileData CreateAndSave(Player player)
void Put(string name, object value)
bool Save(bool canCreateFile=true)
static WorldFileData FromInvalidWorld(string path, bool cloudSave)
static WorldFileData GetAllMetadata(string file, bool cloudSave)
static void CreateAssetServices(GameServiceContainer services)
static IEnumerator LoadAssetsWhileInInitialBlackScreen_InSteps()
static void Load(bool asyncLoad)
static void LoadSplashAssets(bool asyncLoadForSounds)
static bool IsAGolfingItem(Item item)
int playerIndexTheItemIsReservedFor
static void InitializeLegacyLocalization()
static Color GetColor(Point tileCoords)
static void Initialize(bool resized=false)
static bool UsingNewLighting
static void ResetLighting()
static void LightTiles(int firstX, int lastX, int firstY, int lastY)
static float Brightness(int x, int y)
static string GetTextValue(string key)
SpriteBatch backgroundSpriteBatch
Microsoft.Xna.Framework.Graphics.Color[] backgroundColorSlicesStatic
static Matrix CurrentBackgroundMatrixForCreditsRoll
static bool HadAnActiveInteractibleProjectile
static int SleepingPlayersCount
static int ActivePlayersCount
static bool AnyActiveBossNPC
void EndInvoke(IAsyncResult result)
void Invoke(PlayerFileData player)
IAsyncResult BeginInvoke(PlayerFileData player, AsyncCallback callback, object @object)
OnPlayerSelected(object @object, IntPtr method)
static bool HasSmartInteractTarget
static string versionNumber
static int AnnouncementBoxRange
static string CloudWorldPath
static string GetWorldPathFromName(string worldName, bool cloudSave)
static bool IsItAHappyWindyDay
static int[] blueBirdCageFrameCounter
bool< SetupDrawInterfaceLayers > b__2162_23()
static int invasionProgressIcon
static void AnglerQuestSwap()
IEnumerator LoadContent_Deferred()
void DrawSurfaceBG_BackMountainsStep1(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
static float temporaryGUIScaleSlider
static CreativeUnlocksTracker LocalPlayerCreativeTracker
static bool showFrameRate
static void DrawNPCDirect_HallowBoss(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
static int cameraLerpTimeToggle
static void DrawWOFRopeToTheHungry(int i)
void DrawProj_StardustGuardianPunching(Projectile proj)
byte instrumentMouseFixHack
static SceneMetrics SceneMetrics
static string _playerPath
static int[,] butterflyCageFrameCounter
void EnsureRenderTargetContent()
static int TryInteractingWithVoidLens(Projectile proj)
bool< SetupDrawInterfaceLayers > b__2162_38()
void DrawSimpleSurfaceBackground(Microsoft.Xna.Framework.Vector2 areaPosition, int areaWidth, int areaHeight)
static int wofDrawAreaBottom
static void PrintTimedMessage(string message, params object[] arguments)
static float mapFullscreenScale
static void AnimateTiles()
static bool ingameOptionsWindow
static int TileInteractionLX
static int _targetNetMode
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipMace(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static void DrawInterface_1_1_DrawEmoteBubblesInWorld()
static bool[] buffDoubleApply
bool< SetupDrawInterfaceLayers > b__2162_12()
static bool DrawInterface_12_IngameFancyUI()
static DrawAnimation _coinOnWorldAnimation
static void DoUpdate_AutoSave()
float logoRotationDirection
static float MouseBuildingGridAlpha
static void DoUpdate_AnimateBackgrounds()
static float targetScreenYOffset
static Action OnEnginePreload
static int checkForSpawns
static bool SettingsUnlock_WorldEvil
static List< char > removeChars
static float windPhysicsStrength
static void TrySyncingMyPlayer()
static Stopwatch fpsTimer
static void OpenClothesWindow()
static bool[] tileBlockLight
static bool[] tileCracked
bool _needToSetupDrawInterfaceLayers
static int musicBoxNotModifiedByVolume
static int npcStreamSpeed
static int[] turtleCageFrame
static int[] bunnyCageFrameCounter
static int[] seahorseCageFrame
static int caveBackground
static GameTipsDisplay gameTips
static void shine([Out] Microsoft.Xna.Framework.Vector3 newColor, int type, int frameX)
static bool InvisibleCursorForGamepad
const double slimeRainChance
static float mouseItemTime
static bool[] tileDungeon
static int cameraLerpTimer
static float windSpeedCurrent
RenderTarget2D tile2Target
static int selectedPlayer
static float SmoothedMushroomLightInfluence
void setServerWorldRollbacks(string rollBacksToKeep)
static List< INeedRenderTargetContent > ContentThatNeedsRenderTargets
static List< WorldFileData > WorldList
void DrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
static bool toggleFullscreen
static float lightningDecay
static Microsoft.Xna.Framework.Vector2 DrawWhip_RainbowWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static Microsoft.Xna.Framework.Graphics.Color hcColor
static bool[] tileNoSunLight
static Microsoft.Xna.Framework.Graphics.Color GetPlayerHeadBordersColor(Player plr)
static bool IsEnginePreloaded
static Action< Microsoft.Xna.Framework.Vector2, float > OnPostFullscreenMapDraw
static Microsoft.Xna.Framework.Vector2 ViewSize
static Microsoft.Xna.Framework.Graphics.Color[] teamColor
bool< SetupDrawInterfaceLayers > b__2162_26()
static byte[,] jellyfishCageMode
void DoUpdate(GameTime gameTime)
static Preferences _inputProfiles
static bool[] tileMergeDirt
void DrawInterface_16_MapOrMinimap()
static Microsoft.Xna.Framework.Vector2 DrawPlayerItemPos(float gravdir, int itemtype)
static bool verboseNetplay
static void WriteFancyWorldLoadErrorToConsole()
static int invasionProgressDisplayLeft
static bool[,] mapWasContentLost
static bool temporaryGUIScaleSliderUpdate
static void DrawInterface_18_DiagnoseVideo()
static FavoritesFile CloudFavoritesData
static void UpdateClient()
static string DrawMap_FindChestName(LocalizedText[] chestNames, Tile chestTile, int x, int y, int fullTileWidth=36)
static int GetProjectileDesiredShader(Projectile proj)
void DrawWorldCursor(bool magnify=false)
bool< SetupDrawInterfaceLayers > b__2162_17()
static float craftingAlpha
static float shimmerDarken
static float _uiScaleWanted
void DrawInterface_39_MouseOver()
static float ambientWaterfallX
static string _oldNetplayStatusText
static bool GamepadDisableCursorItemIcon
static bool inputTextEscape
static int TotalMemotyFullClear
static float screenYOffset
static float grabMapInitialY
float controllerSunGrabPositionX
static void DoUpdate_WhilePaused()
static void DoUpdate_AnimateItemIcons()
void DrawSuperSpecialProjectiles(List< int > projCache, bool startSpriteBatch=true)
static byte[] wallLargeFrames
static PingMapLayer Pings
static int[] seagullCageFrame
static NPCHeadRenderer TownNPCHeadRenderer
static bool UseHeatDistortion
static ulong _drawCycleCounter
static bool drawingPlayerChat
static int[] ratCageFrameCounter
static void DrawInterface_Resources_Breath()
List< int > DrawCacheNPCProjectiles
static ColorSlidersSet mouseBorderColorSlider
static int SmartInteractProj
static MoonPhase GetMoonPhase()
uint GetBackgroundCounter()
static void CheckPlayerItemOwnership()
void DrawMapIcons_PotionOfReturnHomePosition(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
static int[] penguinCageFrame
const int InventoryCoinSlotsStart
static float ambientLavafallStrength
static bool serverStarting
static void DrawTileGridOption(bool magnify=false)
static Microsoft.Xna.Framework.Vector2 DrawWhip_CoolWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
TilePaintSystemV2 TilePaintSystem
static int WorldListSortMethod(WorldFileData data1, WorldFileData data2)
static int[,] slugCageFrame
void DrawSplash_LoadingStar(Microsoft.Xna.Framework.Graphics.Color splashColor)
static double starGameMath(double value=1.0)
static void SetGraphicsProfile(GraphicsProfile profile, bool forceSet)
static void DrawWOFTongueToPlayer(int i)
void DrawSurfaceBG_Corrupt(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
static GameTime gameTimeCache
static void HandleMeteorFall()
void DrawBG_ModifyBGFarBackLayerAlpha(int desiredBG, [Optional] int? desiredBG2, [Optional] float? transitionAmountOverride)
static float ambientLavafallY
static GolfState LocalGolfState
static void UpdateDragonflyJarFrames()
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipSword(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static bool[] townNPCCanSpawn
static void NotifyOfEvent(GameNotificationType type)
static void Initialize_TileAndNPCData1()
static int[] duckCageFrame
static bool npcChatFocus1
ThreadedRenderManager.BatchProcessCallback _processBatchFinishedCallback
static float windSpeedTarget
void InitTargets(int width, int height)
void PostUpdateAllProjectiles()
static ShopHelper ShopHelper
static int[] underworldBG
const ulong WorldGeneratorVersion
static void DrawNPCDirect_Deerclops(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
static Microsoft.Xna.Framework.Graphics.Color[] oldClothesColor
static string ReadLineInput()
static float GraveyardVisualIntensity
static void UpdateTime_StartNight(bool stopEvents)
static int interactedDresserTopLeftX
static bool TryGetBuffTime(int buffSlotOnPlayer, [Out] int buffTimeValue)
List< Player > drawPlayersPotion
static int[] frogCageFrameCounter
static bool[] tileSolidTop
void UpdateBGVisibility_BackLayer(int? targetBiomeOverride, float? transitionAmountOverride)
void DrawSurfaceBG_Crimson(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
static List< int > itemAnimationsRegistered
const int BG_STYLES_COUNT
static void DrawPendingMouseText(bool worldMouse=false)
static int lastMouseDrawItem
static FileMetadata MapFileMetadata
static Main.OnPlayerSelected _pendingCharacterSelect
static bool npcChatFocus2
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsBase
static bool[] npcCatchable
static float cloudBGAlpha
static int desiredWorldTilesUpdateRate
float GetForestToForestBackgroundLerperValue()
void DoUpdate_HandleInput()
static void ClearPendingPlayerSelectCallbacks()
static bool forceXMasForToday
bool< SetupDrawInterfaceLayers > b__2162_25()
static string npcChatText
static int npcChatCornerItem
static void DrawItemTextPopups(float scaleTarget)
static bool[] tileWaterDeath
static int maxItemUpdates
static WorldFileData ActiveWorldFileData
static bool npcChatRelease
void DrawProj_FairyQueenLance(Projectile proj)
void DrawInterface_40_InteractItemIcon()
void DrawPlayers_BehindNPCs()
static int TileInteractionLY
static bool cSmartCursorModeIsToggleAndNotHold
static float ambientWaterfallY
static int[] birdCageFrameCounter
void HackForGamepadInputHell()
static bool _shouldUseWindyDayMusic
void LoadProjectile(int i)
static void RegisterItemAnimation(int index, DrawAnimation animation)
static bool SettingDontScaleMainMenuUp
static int[,] scorpionCageFrame
static float ambientVolume
static int[] npcFrameCount
const string copyrightText
static string ValueToCoins(long value)
static bool menuBGChangedNight
static int PlayerOverheadChatMessageDisplayTime
static int updatesCountedForFPS
void SetMouseNPC_ToHousingQuery()
static bool[] projHostile
static void SkipToTime(int timeToSet, bool setIsDayTime)
void DoDraw_WallsTilesNPCs()
void oldDrawWater(bool bg=false, int Style=0, float Alpha=1f)
static bool Setting_UseReducedMaxLiquids
void DrawProj_TrueNightsEdge(Projectile proj)
static void DrawProj_FlailChains(Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
static FavoritesFile LocalFavoriteData
static UserInterface InGameUI
static int[,] jellyfishCageFrameCounter
static Microsoft.Xna.Framework.Vector2 CurrentPan
static Ref< Effect > VertexPixelShaderRef
static void DrawWOFBody()
static Microsoft.Xna.Framework.Vector2 sceneWallPos
static Microsoft.Xna.Framework.Graphics.Color tileColor
static void DrawInterface_26_InterfaceLogic3()
static AnchoredEntitiesCollection sleepingManager
static bool menuBGChangedDay
static void ResetGameCounter()
static bool SmartInteractShowingGenuine
static bool _preventCraftingBecauseClickWasUsedToChangeFocusedRecipe
void LoadBackground(int i)
bool< SetupDrawInterfaceLayers > b__2162_24()
static bool ShouldShowInvisibleWalls()
static StringBuilder UIStringBuilder
static int[] frogCageFrame
static bool screenMaximized
static float oldMaxRaining
static Microsoft.Xna.Framework.Vector2 ViewPosition
static void SetRecommendedZoomContext(Matrix matrix)
static void InputTextSignCancel()
static int _maxCharaceters
static int invasionSizeStart
static INetDiagnosticsUI _activeNetDiagnosticsUI
static float DrawSurfaceBG_GetFogPower()
static bool[] slimeRainNPC
RenderTarget2D[,] mapTarget
static bool[] countsAsHostForGameplay
static float ambientLavaStrength
void DoDraw_Tiles_NonSolid()
static bool TryFreeingElderSlime(int npcIndex)
static void StartClientGameplay()
static bool betterDebugRelease
Stopwatch _worldUpdateTimeTester
void DrawInterface(GameTime gameTime)
static int[] grasshopperCageFrameCounter
static bool[] tileSpelunker
static int buffScanAreaWidth
void DrawInterface_21_HairWindow()
RenderTarget2D backgroundTarget
static KeyboardState inputText
static bool IsTrialMode()
static int[] squirrelCageFrameCounterOrange
WaterfallManager waterfallManager
static bool SettingBlockGamepadsEntirely
void UnloadSplashScreenTextures()
static SpriteBatch spriteBatch
Microsoft.Xna.Framework.Graphics.Texture2D[] oldBackTextureValues
static uint GameUpdateCount
static float invasionProgressAlpha
static Effect pixelShader
static void CheckAssignItemOwnership()
static IAudioSystem audioSystem
static bool anglerQuestFinished
void DoUpdateInWorld(Stopwatch sw)
void DrawHealthBar(float X, float Y, int Health, int MaxHealth, float alpha, float scale=1f, bool noFlip=false, bool inUISpace=false)
static VertexColors _glowPaintColors
static void DrawNPCDirect_Faeling(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
static void LockCraftingForThisCraftClickDuration()
static bool[] buffNoTimeDisplay
MagicMissileDrawer magicMissileDrawer
static GraphicsProfile _currentGraphicsProfile
static UserInterface MenuUI
static int _itemIconCacheTime
RainbowRodDrawer rainbowRodDrawer
static double worldSurface
static void PostDrawMenu(Point screenSizeCache, Point screenSizeCacheAfterScaling)
static void FlushBatches()
static void DrawSmartCursor()
static string playerPathName
static void AnimateTiles_CritterCages()
static Microsoft.Xna.Framework.Graphics.Color cursorColor
static void ResetKeyBindings()
static int[] ladybugCageFrameCounter
static bool IsLiquidStyleWater(int liquidStyle)
void DrawItem_AnimateSlot(int slot, int gameFramesPerSpriteFrame, int spriteFramesAmount)
void OnTileChangeEvent(int x, int y, int count, TileChangeType eventType)
static bool CanPlayCreditsRoll()
void SortStardustDragonProjectiles(List< int > list)
static SpriteViewMatrix BackgroundViewMatrix
static void SyncAnInvasion(int toWho)
static void LoadPlayers()
static bool bannerMouseOver
static void shine(Microsoft.Xna.Framework.Graphics.Color newColor, int type)
static int[] ladybugCageFrame
TileDrawing TilesRenderer
static List< int > TentacleSpikeProjectiles
void WaitBackgroundDrawThreads(int numberOfThreads)
static void EntitySpriteDraw(Microsoft.Xna.Framework.Graphics.Texture2D texture, Microsoft.Xna.Framework.Vector2 position, Rectangle sourceRectangle, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, float scale, SpriteEffects effects, float worthless=0f)
static bool forceHalloweenForToday
static ItemShopSellbackHelper shopSellbackHelper
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsModified
static bool inventorySortMouseOver
static bool[] tileContainer
static float[] liquidAlpha
void DrawBlack(bool force=false)
static bool isMouseLeftConsumedByUI
void DrawNPCHousesInWorld()
void LoadArmorBody(int i)
static void DoUpdate_F7_ToggleGraphicsDiagnostics()
static void UpdateOwlCageFrames()
void ClearCachedTileDraws()
static int[] lavaFishBowlFrameCounter
static int[,] projectileIdentity
static int screenBorderlessPendingResizes
void OnceFailedLoadingAnAsset(string assetPath, Exception e)
List< GameInterfaceLayer > _gameInterfaceLayers
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipBland(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static void DrawProj_Flamethrower(Projectile proj)
static int _lastFrameFPSCount
static void RunServerCallBack(object threadContext)
static int[] macawCageFrameCounter
static Point rulerLineDisplayValues
void DrawProjDirect(Projectile proj, int i=-1)
static void ResetWindCounter(bool resetExtreme=false)
static void TeleportEffect(Rectangle effectRect, int Style, int extraInfo=0, float dustCountMult=1f, TeleportationSide side=TeleportationSide.Entry, [Optional] Microsoft.Xna.Framework.Vector2 otherPosition)
static void DoUpdate_F10_ToggleFPS()
static bool worldMouseLeftRelease
List< Player > _playersThatDrawAfterProjectiles
static bool WallLightAt(int i, int j)
static int[] waterStriderCageFrameCounter
void DoDraw(GameTime gameTime)
static int[] squirrelCageFrame
static int[] displayHeight
void ProcessBatchFinished(int index)
static int superFastStack
static int[] snailCageFrame
static float ambientLavaY
static Item[] mouseItemSource
override void Update(GameTime gameTime)
List< DrawData > _voidLensData
static void SetResolution(int width, int height)
static bool[] wallDungeon
RenderTarget2D wallTarget
static void GetItemDrawFrame(int item, [Out] Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, [Out] Rectangle itemFrame)
static byte[] fishBowlFrameMode
const int InventoryAmmoSlotsCount
static bool[] tileLighted
void MouseTextHackZoom(string text, [Optional] string buffTooltip)
static void DoDraw_UpdateCameraPosition()
static bool SmartInteractShowingFake
static void ReportInvasionProgress(int progress, int progressMax, int icon, int progressWave)
static bool< CanUpdateGameplay > k__BackingField
const int InventoryCoinSlotsCount
static bool SettingsEnabled_AutoReuseAllItems
static void DrawProj_Spear(Projectile proj, Microsoft.Xna.Framework.Graphics.Color projectileColor, SpriteEffects dir)
static short[] recentGameMode
static CreativeUI CreativeMenu
static int[] squirrelCageFrameOrange
static string oldStatusText
static Microsoft.Xna.Framework.Vector2 mapFullscreenPos
EmpressBladeDrawer empressBladeDrawer
void DrawMagmaLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
static Dictionary< string, MinimapFrame > MinimapFrames
static IPlayerRenderer PlayerRenderer
void DrawBackgroundBlackFill()
static int _currentRecipeBeingCrafted
static string cMapAlphaUp
static void ClearVisualPostProcessEffects()
static string versionNumber2
static void UpdateInvasion()
void LoadSettings(bool allowLoad=true)
static bool IsFastForwardingTime()
void RefreshPlayerDrawOrder()
static bool CrouchingEnabled
static int mouseTextColorChange
static void DrawInterface_37_DebugStuff()
static int martianLightDir
static bool flushLighting
class< LoadContent_Deferred > IEnumerator
static Microsoft.Xna.Framework.Vector2 screenPosition
static DrawAnimation[] itemAnimations
static bool worldMouseRightRelease
static bool[] musicNoCrossFade
static void DrawWallOfCopperShortswords()
static bool _hasPendingNetmodeChange
static Dictionary< int, bool > SmartInteractTileCoordsSelected
static int thunderDistance
override void Draw(GameTime gameTime)
static bool _MouseOversCanClear
static float cameraOffset
void DrawInterface_38_MouseCarriedObject()
static int PendingResolutionHeight
static void UpdateSlimeRainWarning()
static Microsoft.Xna.Framework.Vector2 _lastPingMousePosition
static void SubmitSignText()
static int overloadedMousePositionX
static void TryPlayingCreditsRoll()
static Microsoft.Xna.Framework.Vector2 _itemIconCacheScreenPosition
RejectionMenuInfo RejectionMenuInfo
static ? bool _overrideForExpertMode
bool FullTile(int x, int y)
static int[] snailCageFrameCounter
static void NewTextMultiline(string text, bool force=false, [Optional] Microsoft.Xna.Framework.Graphics.Color c, int WidthLimit=-1)
void LoadAccShield(int i)
static byte HealthBarDrawSettings
static void ApplyColorOfTheSkiesToTiles()
static int TryInteractingWithMoneyTrough(Projectile proj)
void OpenShop(int shopIndex)
void DrawLiquid(bool bg=false, int Style=0, float Alpha=1f, bool drawSinglePassLiquids=true)
void Initialize_Entities()
static int oldUndergroundBackground
static bool SettingsEnabled_MinersWobble
static double CalculateDamageNPCsTake(int Damage, int Defense)
ThreadedRenderManager _threadManager
static int cursorOverride
static void SetNPCShopIndex(int index)
static bool GamepadDisableCursorItemIconInner
void EnableAutoShutdown()
static bool _shouldUseStormMusic
class< LoadMusic_InSteps > d__1866
static BasicDebugDrawer DebugDrawer
static void DrawInterface_36_Cursor()
static void DoUpdate_AnimateBackgrounds_UpdateForest(int bgIndex, int[] bgSet)
static bool changeTheTitle
static void EraseWorld(int i)
static void TriggerPing(Microsoft.Xna.Framework.Vector2 position)
List< int > DrawCacheNPCsBehindNonSolidTiles
static Stopwatch saveTime
static Microsoft.Xna.Framework.Vector3 shimmerShine
static bool cancelWormHole
static bool terrariasFixedTiming
static void TrySetPreparationState(Main.WorldPreparationState state)
static Microsoft.Xna.Framework.Graphics.Color quickAlpha(Microsoft.Xna.Framework.Graphics.Color oldColor, float Alpha)
static string OldPlayerPath
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipScythe(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
const double slimeRainMinTime
static int[] caveBackStyle
void DrawInterface_34_PlayerChat()
const int InventoryItemSlotsCount
void DrawProj_TerraBlade2Shot(Projectile proj)
static void DrawInterface_5_GamepadLockOn()
static void UpdateTrialMode()
static bool[] wallLighted
List< int > DrawCacheFirstFractals
static void checkHalloween()
static bool CanShowInfoAccs
static float mapOverlayScale
static int[] grebeCageFrameCounter
List< int > _npcTypesThatAlreadyDrewAHead
static int inventoryTooltipTime
static int PlayerListSortMethod(PlayerFileData data1, PlayerFileData data2)
int RecommendedEquipmentAreaPushUp
static bool IsGraphicsDeviceAvailable
static int[,] dragonflyJarFrame
static StardewValleyAnimation _stardewAnimation
static void CloseNPCChatOrSign()
static bool ShouldDrawInfoIconsHorizontally
void LoadArmorHead(int i)
static void DrawInterface_Resources_ClearBuffs()
static bool mouseLeftRelease
static int _minimapTopRightAnchorOffsetTowardsBottom
void DrawProj_Excalibur(Projectile proj)
SpelunkerProjectileHelper SpelunkerProjectileHelper
List< int > DrawCacheProjsBehindNPCsAndTiles
static Effect screenShader
static TextSnippet[] _netplayStatusTextSnippets
void OnSeedSelected(string text)
static float WindForVisuals
static Microsoft.Xna.Framework.Vector2[] OffsetsNPCOffhand
static void CancelHairWindow()
static float mapMinimapAlpha
static double timeForVisualEffects
void SetupDrawInterfaceLayers()
static Microsoft.Xna.Framework.Graphics.Color buffColor(Microsoft.Xna.Framework.Graphics.Color newColor, float R, float G, float B, float A)
static void SetFullScreen(bool fullscreen)
static string DefaultSeed
static int slimeRainKillCount
static bool _canShowMeteorFall
static string GetPlayerPathFromName(string playerName, bool cloudSave)
static void DoUpdate_AnimateVisualPlayerAura()
static bool PendingBorderlessState
IEnumerator LoadMusic_InSteps()
void NewMOTD(string newMOTD)
static Microsoft.Xna.Framework.Graphics.Color oldHairColor
static GameModeData _currentGameModeInfo
void autoCreate(string worldSize)
static void startSnowMoon()
void LoadAccHandsOn(int i)
static bool DrawInterface_8_CheckF11UIHideToggle()
static BestiaryUnlockProgressReport GetBestiaryProgressReport()
static bool UseStormEffects
void UpdateParticleSystems()
static bool _blockFancyUIWhileLoading
int NPCBannerSorter(int npcIndex1, int npcIndex2)
static uint _gameUpdateCount
static object CurrentInputTextTakerOverride
static bool AnyPlayerReadyToFightKingSlime()
static float ugBackTransition
static int[,] slugCageFrameCounter
bool TryGetAmmo(Item sourceItem, [Out] Item ammoItem, [Out] Microsoft.Xna.Framework.Graphics.Color ammoColor, [Out] float ammoScale, [Out] Microsoft.Xna.Framework.Vector2 ammoOffset)
static Ref< Effect > ScreenShaderRef
static bool serverBootupInProgress
static MinimapFrame ActiveMinimapFrame
static void CycleClothingStyle_Inner(Player plr)
static string worldPathName
List< int > DrawCacheNPCsOverPlayers
static int[] redBirdCageFrame
static NPCHeadRenderer BossNPCHeadRenderer
bool< SetupDrawInterfaceLayers > b__2162_31()
static double hue2rgb(double c, double t1, double t2)
static bool InSmartCursorHighlightArea(int x, int y, [Out] bool actuallySelected)
void DrawRockLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
List< DrawData > _voidLensDataSillouette2
static int DamageVar(float dmg, float luck=0f)
static short GetKeyState(int keyCode)
static void ClampScreenPositionToWorld()
void DrawInterface_25_ResourceBars()
void loadLib(string path)
static WorldSections sectionManager
static Microsoft.Xna.Framework.Graphics.Color selColor
static int[] activeLiquidAlpha
static void GetAreaToLight([Out] int firstTileX, [Out] int lastTileX, [Out] int firstTileY, [Out] int lastTileY)
void MouseText_DrawBuffTooltip(string cursorText, string buffString, int X, int Y)
static TeleportPylonsSystem PylonSystem
static int backSpaceCount
static void startDedInput()
static void DrawWallOfFish()
void DrawSurfaceBG_Desert(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
void LoadDedConfig(string configPath)
void DrawInterface_27_Inventory()
void SortDrawCacheWorms()
static void DrawWallOfBoulders()
static Microsoft.Xna.Framework.Graphics.Color ColorOfTheSkies
static int TotalMemoryUpdate
static int CurrentDrawnEntityShader
static void DrawItemIcon(SpriteBatch spriteBatch, Item theItem, Microsoft.Xna.Framework.Vector2 screenPositionForItemCenter, Microsoft.Xna.Framework.Graphics.Color itemLightColor, float sizeLimit)
static int GetMenuItemCount(IntPtr hWnd)
static int SmartInteractNPC
static IPlayerRenderer PotionOfReturnRenderer
static bool SkipAssemblyLoad
static void SetTileValue()
static bool KeyboardIsActive
static void DrawInterface_13_AchievementCompletePopups()
static void StartInvasion(int type=1)
static void MouseOversClear()
bool< SetupDrawInterfaceLayers > b__2162_11()
const int InventoryItemSlotsStart
static float MenuXMovement
static int[] backgroundWidth
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerHeadgear
static bool useBackupFiles
static void InitializeItemAnimations()
static int[] treeMntBGSet3
void DrawProj_EmpressBlade(Projectile proj, float hueOverride)
static void TryRemovingBuff_CheckBuffHideMisc(int slot, int buffID)
static bool HasInteractibleObjectThatIsNotATile
void SetWorld(string world, bool cloud)
void DrawInterface_WorldMouse()
void SetBackgroundOffsets(int backgroundID, double backgroundTopMagicNumber, int pushBGTopHack)
void DrawKite(Projectile proj)
static int RemoveMenu(IntPtr hMenu, int nPosition, int wFlags)
static KeyboardState oldInputText
List< Player > _playersThatDrawBehindNPCs
static int weatherCounter
static int magmaBGFrameCounter
static DrKeyboard_Base _keyboard
static Microsoft.Xna.Framework.Vector2 DrawWhip_FireWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static int slimeWarningTime
static void RunDedServ(string worldName, string password)
static void DoUpdate_AltEnter_ToggleFullscreen()
static int[] fairyJarFrameCounter
static bool npcChatFocus4
static int TileInteractionHY
static bool preventStackSplitReset
void DrawMapIcons_PotionOfReturnAppearAfterUsePosition(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
static byte mouseTextColor
void DrawProj_PiercingStarlight(Projectile proj)
static void StopSlimeRain(bool announce=true)
void DrawInterface_23_NPCSignsDialog()
void DrawProj_LightsBane(Projectile proj)
static int[] redBirdCageFrameCounter
static void DrawInterface_0_InterfaceLogic1()
void DrawNPC(int iNPCIndex, bool behindTiles, LightMap lightMap, Rectangle lightRegion)
static void UpdateTime_StartDay(bool stopEvents)
void DrawSplash_LoadingFlower(Microsoft.Xna.Framework.Graphics.Color splashColor)
static bool BackgroundEnabled
static List< PlayerFileData > PlayerList
static float startScreenYOffset
static bool UseExperimentalFeatures
static void DrawInterface_17_DiagnoseNet()
static int undergroundBackground
static Matrix UIScaleMatrix
const int InventorySlotsTotal
static bool _cameraPanHasBlackTransition
static float grabMapInitialX
static bool WindyEnoughForKiteDrops
static void UpdateCreativeGameModeOverride()
static int[] treeMntBGSet2
static bool worldMouseLeft
static bool GameAskedToQuit
void DrawPlayers_AfterProjectiles()
ThreadLocal< Main.BackgroundDrawInfo > _currentBackgroundDrawInfo
void LoadArmorLegs(int i)
static void DrawInterface_4_Ruler()
static string GetInputText(string oldString, Rectangle region, int maxCharacters=-1, bool password=false, bool retainText=false, bool multiline=false, bool filterText=true)
static int resetMapFullCharacter
static Microsoft.Xna.Framework.Graphics.Color mouseColor
static void DrawMapFullscreenBackground(Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
static short[] tileOreFinderPriority
static void DrawTileInWater(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 drawOffset, int x, int y, byte liquid, short frameX, short frameY)
static void NewText(string newText, byte R=255, byte G=255, byte B=255)
static DrawAnimation _monkStaffT3OnWorldAnimation
void SetNetPlayers(int mPlayers)
static Microsoft.Xna.Framework.Graphics.Color MouseBorderColor
static int[] fishBowlFrame
string SanitizePathArgument(string argumentName, string argumentPath)
void SetMouseNPC(int index, int type)
static string GetWorldNameFromPath(string filename)
void DrawCachedNPCs(List< int > npcCache, bool behindTiles)
static List< int > DaybreakProjectiles
static SpriteViewMatrix GameViewMatrix
static void SaveClothesWindow()
static Rectangle ReverseGravitySupport(Rectangle box)
static GameTime _drawInterfaceGameTime
static Microsoft.Xna.Framework.Vector2 DrawWhip_ThornWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
static Microsoft.Xna.Framework.Vector3 rgbToHsl(Microsoft.Xna.Framework.Graphics.Color newColor)
static int offScreenRange
void DrawItem_GetBasics(Item item, int slot, [Out] Microsoft.Xna.Framework.Graphics.Texture2D texture, [Out] Rectangle frame, [Out] Rectangle glowmaskFrame)
static AmbienceServer AmbienceServer
static void OpenHairWindow()
void DrawSurfaceBG_Snow(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
override void UnloadContent()
static bool GlobalTimerPaused
static void DrawInterface_41_InterfaceLogic4()
void DrawInterface_InstrumentMouseText()
static Player clientPlayer
static void DrawInterface_1_2_DrawEntityMarkersInWorld()
static bool CanPauseGame()
static void DrawCursor(Microsoft.Xna.Framework.Vector2 bonus, bool smart=false)
static Microsoft.Xna.Framework.Graphics.Color TryApplyingPlayerStringColor(int playerStringColor, Microsoft.Xna.Framework.Graphics.Color stringColor)
static void GoToWorldSelect()
static int[] macawCageFrame
static Item tooltipPrefixComparisonItem
void Initialize_AlmostEverything()
static int LogicCheckScreenWidth
static bool invasionProgressNearInvasion
bool ShouldUpdateEntities()
static GraphicsProfile _selectedGraphicsProfile
static Entity CurrentDrawnEntity
static void CloseKeyboard()
static bool validateSaves
static void TryPickingDefaultUIScale(float displayHeight)
static void CheckInvasionProgressDisplay()
static bool NetClientOnly
static int[] treeMntBGSet1
static int CalculateWaterStyle(bool ignoreFountains=false)
static int numAvailableRecipes
static void DrawTrail(Projectile proj, Microsoft.Xna.Framework.Vector2 rotatableOffsetFromCenter, Microsoft.Xna.Framework.Graphics.Color baseColor)
void MouseTextHackZoom(string text, int itemRarity, byte diff=0, [Optional] string buffTooltip)
static float _uiScaleUsed
void DrawProj_TrueExcalibur(Projectile proj)
bool< SetupDrawInterfaceLayers > b__2162_15()
static Microsoft.Xna.Framework.Vector2 DrawThickCursor(bool smart=false)
static int[] maggotCageFrameCounter
void SetWorldName(string world)
static bool clothesWindow
static int[] seahorseCageFrameCounter
ChumBucketProjectileHelper ChumBucketProjectileHelper
static bool DrawPlayerDeathMarker(float X, float Y, float scale, float left, float top, float headScale, int i)
static float MinimumZoomComparerX
static ulong TileFrameSeed
static float inventoryScale
static void hslToRgb(Microsoft.Xna.Framework.Graphics.Color color, float Hue, float Saturation, float Luminosity, byte a=255)
static void DrawSmartInteract()
void DrawInterface_WorldMouseOver()
bool DrawVirtualControls()
static IChatMonitor chatMonitor
static int[] bunnyCageFrame
void DrawNPCDirect_QueenSlimeWings(NPC rCurrentNPC, SpriteBatch mySpriteBatch, Microsoft.Xna.Framework.Vector2 screenPos, Microsoft.Xna.Framework.Vector2 drawCenter, Microsoft.Xna.Framework.Graphics.Color originColor)
static float ambientLavaX
static int[] owlCageFrame
void DrawProj_TerraBlade2(Projectile proj)
static void DrawNPCHeadBoss(Entity theNPC, byte alpha, float headScale, float rotation, SpriteEffects effects, int npcID, float x, float y)
static bool InReforgeMenu
static float shimmerBrightenDelay
void UpdateDisplaySettings()
static List< string > anglerWhoFinishedToday
static void DrawInterface_GolfBallIndicator()
static BestiaryUnlocksTracker BestiaryTracker
static void SelectPlayer(PlayerFileData data)
static void AnimateTiles_WeatherVane()
static void DoUpdate_F11_ToggleUI()
static float ambientLavafallX
static int activePlayerCount
static void DrawUnderworldBackgroudLayer(bool flat, Microsoft.Xna.Framework.Vector2 screenOffset, float pushUp, int layerTextureIndex)
static int instantBGTransitionCounter
static BlendState _multiplyBlendState
static int WorldRollingBackupsCountToKeep
static void OpenPlayerChat()
static bool IsEngineLoaded
static Terraria.Graphics.Camera Camera
int currentNPCShowingChatBubble
static int masterColorDir
static SamplerState SamplerStateForCursor
static KeyboardState oldKeyState
static int[] turtleCageFrameCounter
static void TryRemovingBuff(int i, int b)
void DrawPlayerChatBubbles()
static void ToggleGameplayUpdates(bool state)
void DrawNPCCheckAlt(NPC n)
static bool[] tileLavaDeath
static float mapMinimapScale
AmbientWindSystem _ambientWindSys
static bool _settingsButtonIsPushedToSide
static bool DrawInterface_10_CheckCaptureManager()
List< int > DrawCacheProjsBehindNPCs
static Matrix CurrentWantedZoomMatrix
Microsoft.Xna.Framework.Graphics.Texture2D[] backTextureValues
static PlayerFileData ActivePlayerFileData
const string TerrariaSaveFolderPath
static int[] availableRecipe
static int[] birdCageFrame
static int moondialCooldown
static void stopMoonEvent()
static Microsoft.Xna.Framework.Vector2 MouseScreen
static bool fastForwardTimeToDawn
static int[] grasshopperCageFrame
static bool drawBetterDebug
const int InventoryAmmoSlotsStart
static int wofDrawFrameIndex
static Microsoft.Xna.Framework.Vector2 DrawWhip_BoneWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
void UpdateAudio_DecideOnTOWMusic()
List< int > _occupantsListToDrawNPCHouses
static SpriteBatch spriteBatch2
static float[] bgAlphaFrontLayer
const string versionStringBecauseTheyreTheSame
void DrawProj_NightsEdge(Projectile proj)
RenderTarget2D blackTarget
List< int > DrawCacheProjsOverWiresUI
static bool _isLavafallMusicPlaying
static Microsoft.Xna.Framework.Graphics.Color OurFavoriteColor
static int[] tileFrameCounter
static int maxActivePlayers
static string OldWorldPath
static void DoUpdate_F8_ToggleNetDiagnostics()
static TileBatch tileBatch
static Action< GameTime > OnPreDraw
static int jungleBackStyle
void UpdateOceanWaterLineForAmbience()
static bool allChestStackHover
static bool RenderTargetsRequired
static Microsoft.Xna.Framework.Graphics.Color mcColor
static bool mouseRightRelease
static bool[] recentFavorite
bool _needsMenuUIRecalculation
static void DrawInterface_20_MultiplayerPlayerNames()
static float backSpaceRate
void DrawWhip(Projectile proj)
void DrawNPCDirect(SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos, LightMap lightMap, Rectangle lightRegion)
static bool shouldDrawNetDiagnosticsUI
static int slimeWarningDelay
static int UnlockedMaxHair()
static Projectile[] projectile
static Preferences _configuration
List< int > DrawCacheNPCsMoonMoon
static void DrawInvasionProgress()
void DrawSurfaceBG_GoodEvilDesert(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
static IMultiplayerClosePlayersOverlay ActiveClosePlayersTeamOverlay
void DrawInterface_Resources_Buffs()
static void DrawInterface_9_WireSelection()
void DrawMapIcons_LastGolfballHit(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
void LoadAccBalloon(int i)
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOffhand
static bool[] tileBlendAll
void DoDraw_DrawNPCsOverTiles()
static GameModeData GameModeInfo
static void DoUpdate_F9_ToggleLighting()
static int[] mouseCageFrame
static bool alreadyGrabbingSunOrMoon
static LiquidBuffer[] liquidBuffer
static bool shouldSetDefaultUIScale
List< int > _npcsWithBannersToDraw
static int[] mouseCageFrameCounter
static Action< GameTime > OnPostDraw
static KeyboardState keyState
void PrepareDrawnEntityDrawing(Entity entity, int intendedShader)
static bool LocalModeServer
static BestiaryDatabase BestiaryDB
static int[] ratCageFrame
static string GetBuffTooltip(Player player, int buffType)
static void DrawInterface_15_InvasionProgressBars()
static int textureMaxHeight
static string AutogenSeedName
static void DrawInterface_6_TileGridOption()
static void CheckForMoonEventsStartingTemporarySeasons()
Microsoft.Xna.Framework.Graphics.Color[] backgroundColorSlicesStatic
static bool CanStartInvasion(int type=1, bool ignoreDelay=false)
static int[] owlCageFrameCounter
static int teamNamePlateDistance
static bool forceServerShutdown
static string ConvertFromSafeArgument(string arg)
static bool SettingsEnabled_TilesSwayInWind
static void Initialize_Items()
void DrawMiscMapIcons(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
void MouseTextNoOverride(string cursorText, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0)
static ulong< UnpausedUpdateSeed > k__BackingField
static string defaultChestName
static int[,] dragonflyJarFrameCounter
static SamplerState DefaultSamplerState
static string cMapAlphaDown
static ItemDropResolver ItemDropSolver
static int _itemIconCacheSelectedItemID
static bool ShouldNormalEventsBeAbleToStart()
static int textureMaxWidth
const int maxHairOfStylistDefault
static readonly int offLimitBorderTiles
static int extremeWindCounter
void DrawStarsInForeground(Main.SceneArea sceneArea)
static int[] squirrelCageFrameCounter
void DrawInterface_30_Hotbar()
static List< string > _requiredObjecsForCraftingText
static bool InGuideCraftMenu
static int teamCooldownLen
static void DrawInterface_3_LaserRuler()
static Microsoft.Xna.Framework.Graphics.Color ControllerColor
static int lastItemUpdate
static void DrawProj_FishingLine(Projectile proj, float polePosX, float polePosY, Microsoft.Xna.Framework.Vector2 mountedCenter)
void DoDraw_WallsAndBlacks()
static bool cameraGamePadLerp
Rectangle? GetBackgroundRect(int backgroundTextureIndex)
static Microsoft.Xna.Framework.Vector2 sceneTile2Pos
static int[] backgroundHeight
static void LoadTestLog(string logname)
const double slimeRainMinDelay
int DrawSurfaceBG_GetLayerYOffset(int bgTextureIndex)
static Microsoft.Xna.Framework.Vector2 destroyerHB
static int mouseItemSourceIndex
void MouseTextInner(Main.MouseTextCache info, bool worldMouse)
static string newWorldName
static int LogicCheckScreenHeight
static ConcurrentQueue< Action > _mainThreadActions
static void CacheSupportedDisplaySizes()
static Action OnRenderTargetsReleased
static void ErasePlayer(int i)
static ParticleRenderer ParticleSystem_World_OverPlayers
static MapHeadRenderer MapPlayerRenderer
bool DrawInterface_11_IngameOptionsMenu()
void DrawSurfaceBG_BackMountainsStep2(int pushBGTopHack)
static float MinimumZoomComparerY
static void DrawInterface_Resources_GolfPower()
static void DoUpdate_HandleChat()
static void Moondialing()
void DrawInterface_14_EntityHealthBars()
void DrawProj_CoolWhipMinion(Projectile proj)
static void DrawInterface_35_YouDied()
void DrawCapture(Rectangle area, CaptureSettings settings)
const int maxCharSelectHair
static bool TOWMusicUnlocked
static void SetupTileMerge()
static UnifiedRandom rand
static RasterizerState Rasterizer
static Action OnEngineLoad
void DrawInterface_28_InfoAccs()
static void DoUpdate_Enter_ToggleChat()
static void CheckMonoliths()
static Main.WorldPreparationState _worldPreparationState
static bool notTheBeesWorld
static void UpdateMinimapAnchors()
void LoadContent_TryEnteringHiDef()
static bool grabMapInProgress
static bool npcChatFocus3
static void UpdateUIStates(GameTime gameTime)
void DrawInterface_7_TownNPCHouseBanners()
void PreUpdateAllProjectiles()
void DrawCachedProjs(List< int > projCache, bool startSpriteBatch=true)
static Matrix _currentWantedZoomMatrix
int[] _npcIndexWhoHoldsHeadIndex
static Microsoft.Xna.Framework.Graphics.Color hslToRgb(Microsoft.Xna.Framework.Vector3 hslVector)
void DrawContinuousTrail(Projectile proj)
static int[] displayWidth
void GraphicsDeviceLost(object sender, EventArgs evt)
static bool lockMenuBGChange
static int multiplayerNPCSmoothingRange
static float newDefaultUIScale
static bool recFastScroll
static string[] keyString
static float backgroundLayerTransitionSpeed
void UpdateWeather(GameTime gameTime, int currentDayRateIteration)
CameraModifierStack CameraModifiers
static float GameZoomTarget
static void DrawInterface_FinalUI()
static void DrawNPCDirect_DeerclopsLeg(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
RenderTarget2D mapSectionTexture
static GameNotificationType _flashNotificationType
static void UpdateTimeRate()
static int numDisplayModes
void DrawCurrentBackground(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
static bool[] recentHardMode
static Microsoft.Xna.Framework.Graphics.Color randColor()
static Dictionary< string, IPlayerResourcesDisplaySet > PlayerResourcesSets
static UnifiedRandom _tempSeededRandom
static void EntitySpriteDraw(DrawData data)
static string hoverItemName
static bool afterPartyOfDoom
static IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert)
static Microsoft.Xna.Framework.Graphics.Color ControllerBorderColor
static float mapOverlayAlpha
ThreadedRenderManager.BatchProcessCallback ProcessBatchFinishedCallback
bool _isDrawingOrUpdating
WallDrawing WallsRenderer
static string CloudPlayerPath
static void DrawInterface_32_GamepadRadialHotbars()
static void UpdateDragonflyJarFrame(int[,] frames, int[,] frameCounters, int style, int variation)
RenderTarget2D backWaterTarget
static int DrawBuffIcon(int drawBuffText, int buffSlotOnPlayer, int x, int y)
static float GamepadCursorAlpha
static void DrawNPCHeadFriendly(Entity theNPC, byte alpha, float headScale, SpriteEffects dir, int npcID, float x, float y)
static Action OnTickForThirdPartySoftwareOnly
static void FakeLoadInvasionStart()
static float UIScaleWanted
static float caveParallax
static void DrawWallOfStars()
static double _lastPingMouseDownTime
static int[] wormCageFrameCounter
static void DrawInterface_2_SmartCursorTargets()
bool< SetupDrawInterfaceLayers > b__2162_21()
static void startDedInputCallBack()
static int netPlayCounter
static bool dontStarveWorld
static GenerationProgress AutogenProgress
void DrawProj_TheHorsemansBlade(Projectile proj)
bool< SetupDrawInterfaceLayers > b__2162_29()
void DrawMultisegmentPet(Projectile proj)
void DoUpdate_AnimateWaterfalls()
static void UpdateTime_SpawnTownNPCs()
static void SetCameraLerp(float lerp, int time)
void DrawInterface_33_MouseText()
void DrawSunAndMoon(Main.SceneArea sceneArea, Microsoft.Xna.Framework.Graphics.Color moonColor, Microsoft.Xna.Framework.Graphics.Color sunColor, float tempMushroomInfluence)
static short[] tileGlowMask
void DrawMurderAurora(Projectile proj)
void DrawNPCExtras(NPC n, bool beforeDraw, float addHeight, float addY, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect, Microsoft.Xna.Framework.Vector2 screenPosition)
void DrawItem(Item item, int whoami)
static string ConvertToSafeArgument(string arg)
static void ReleaseHostAndPlayProcess()
static int[] fishBowlFrameCounter
override void LoadContent()
static bool CaptureModeDisabled
static int GetPreferredBGStyleForPlayer()
static int[] blueBirdCageFrame
static int ProjectileUpdateLoopIndex
static int interactedDresserTopLeftY
static int _renderTargetMaxSize
static bool screenBorderless
static void UpdateOldNPCShop()
static int[] itemFrameCounter
static ColorSlidersSet mouseColorSlider
static int toolTipDistance
void DrawNPCDirect(SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos)
static void DrawPrettyStarSparkle(float opacity, SpriteEffects dir, Microsoft.Xna.Framework.Vector2 drawpos, Microsoft.Xna.Framework.Graphics.Color drawColor, Microsoft.Xna.Framework.Graphics.Color shineColor, float flareCounter, float fadeInStart, float fadeInEnd, float fadeOutStart, float fadeOutEnd, float rotation, Microsoft.Xna.Framework.Vector2 scale, Microsoft.Xna.Framework.Vector2 fatness)
void DrawInterface_Healthbar_Worm(NPC head, int tailID, float scale)
static void UpdateOwlCageFrame(int[] frames, int[] frameCounters, int style)
void PreDrawMenu([Out] Point screenSizeCache, [Out] Point screenSizeCacheAfterScaling)
static byte[] tileLargeFrames
void DrawStar(Main.SceneArea sceneArea, float starOpacity, Microsoft.Xna.Framework.Graphics.Color bgColorForStars, int i, Star theStar, bool artificial, bool foreground=false)
static bool AnnouncementBoxDisabled
static bool[] tileObsidianKill
static float lightningSpeed
static void DrawInterface_29_SettingsButton()
void MouseText_DrawItemTooltip(Main.MouseTextCache info, int rare, byte diff, int X, int Y)
void PrepareDrawnProjectileDrawing(Projectile proj)
static float slimeRainNPCSlots
void DoDraw_DrawNPCsBehindTiles()
static int[] timeItemSlotCannotBeReusedFor
void DrawNPCs(bool behindTiles=false)
void UpdateAudio_DecideOnNewMusic()
static void Initialize_TileAndNPCData2()
static int[] maggotCageFrame
static bool SmartInteractPotionOfReturn
static byte[] wallFrameCounter
void DrawProjWithStarryTrail(Projectile proj, Microsoft.Xna.Framework.Graphics.Color projectileColor, SpriteEffects dir)
static Microsoft.Xna.Framework.Vector2 screenLastPosition
static int invasionProgressWave
static void ToggleFullScreen()
static bool ContentLoaded
static RenderTarget2D screenTarget
static int[] waterStriderCageFrame
static bool tenthAnniversaryWorld
static GeneralIssueReporter IssueReporter
static bool noWindowBorder
FlameLashDrawer flameLashDrawer
const double LeinforsBalanceRequestForSlimeRainChance
static double slimeRainTime
void OnWorldNamed(string text)
static Microsoft.Xna.Framework.Vector2 sceneTilePos
void UpdateBGVisibility_FrontLayer(int? targetBiomeOverride, float? transitionAmountOverride)
static bool _isWaterfallMusicPlaying
static bool _needsLanguageSelect
static string _oldWorldPath
static int invasionProgress
static void InvasionWarning()
List< DrawData > _voidLensDataSillouette
static string OldSavePath
static int invasionProgressMode
static int sundialCooldown
static float ambientWaterfallStrength
static void DrawNetplayStatusText()
static bool IsTileBiomeSightable(ushort type, short tileFrameX, short tileFrameY, Microsoft.Xna.Framework.Graphics.Color sightColor)
static int[,] butterflyCageFrame
static int SmartInteractY
static bool playerInventory
static IntPtr LoadLibrary(string dllToLoad)
const string assemblyVersionNumber
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOnhand
static void DoUpdate_AnimateTileGlows()
static void DrawNPC_SlimeItem(NPC rCurrentNPC, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, float addedRotation)
static bool[] recentCrimson
static float upTimerMaxDelay
static Main.AutoPauseMode autoPause
static ? bool _overrideForMasterMode
void SortBabyBirdProjectiles(List< int > list)
void LoadAccHandsOff(int i)
static bool IsNPCActiveAndOneOfTypes(int npcIndex, short npcType)
static ParticleRenderer ParticleSystem_World_BehindPlayers
static Ref< Effect > TileShaderRef
static bool SmartCursorIsUsed
static int AnimateCritterPages
static int[] snail2CageFrame
float controllerSunGrabPositionY
static int BartenderHelpTextIndex
static int[] duckCageFrameCounter
static float cloudBGActive
static int[] bgFrameCounter
static int overloadedMousePositionY
static Microsoft.Xna.Framework.Vector2 MouseWorld
static ItemDropDatabase ItemDropsDB
static int[] grebeCageFrame
static float[] bgAlphaFarBackLayer
static int[] penguinCageFrameCounter
static void ConsumeAllMainThreadActions()
static void SetDisplayMode(int width, int height, bool fullscreen)
IEnumerator _gameContentLoadProcess
void DrawTileEntities(bool solidLayer, bool overRenderTargets, bool intoRenderTargets)
static bool IsBorderlessDisplayAvailable()
static void SetGraphicsProfileInternal()
static float[] availableRecipeY
static List< int > StardustCellMinionShotProjectiles
static void EntitySpriteDraw(Microsoft.Xna.Framework.Graphics.Texture2D texture, Microsoft.Xna.Framework.Vector2 position, Rectangle sourceRectangle, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, Microsoft.Xna.Framework.Vector2 scale, SpriteEffects effects, float worthless=0f)
static int AutoSavePlayerTime
static IPlayerResourcesDisplaySet ActivePlayerResourcesSet
static void CycleClothingStyle(Player plr)
void MouseText(string cursorText, string buffTooltip, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0, bool noOverride=false)
static bool SettingsEnabled_OpaqueBoxBehindTooltips
static Player dresserInterfaceDummy
static int lastMouseDrawXOffset
static Point GetScreenOverdrawOffset()
static bool localPlayerConnected
static void TryInteractingWithMoneyTrough2(Projectile proj)
static void DrawInterface_19_SignTileBubble()
static void NewLightning()
static int UnderworldLayer
void HoverOverNPCs(Rectangle mouseRectangle)
static bool worldMouseRight
void LoadItemFlames(int i)
static bool IsValidPlayerStyle(Player plr)
static double CalculateDamagePlayersTake(int Damage, int Defense)
static bool HoveringOverAnNPC
static bool Setting_Target60FPS
void DrawStarsInBackground(Main.SceneArea sceneArea, bool artificial)
static bool startFullscreen
static double CalculateDamagePlayersTakeInPVP(int Damage, int Defense)
static Matrix _uiScaleMatrix
static Microsoft.Xna.Framework.Graphics.Color creativeModeColor
static List< int > BoneJavlinProjectiles
static int invasionProgressMax
static void FindAnnouncementBoxStatus()
static bool NetClientHost
static bool LightingEveryFrame
void ResetAllContentBasedRenderTargets()
static int PendingResolutionWidth
static void UpdateSettingUnlocks()
static float eclipseLight
static double UpdateTimeAccumulator
static Microsoft.Xna.Framework.Vector2 MouseWorld2
void DrawSurfaceBG_Jungle(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
bool< SetupDrawInterfaceLayers > b__2162_9()
static void UpdateServer()
static Stopwatch splashTimer
static void ItemIconCacheUpdate(int selectedItemID)
void DrawSurfaceBG_Hallow(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
static void ProcessAsyncLoad()
static string autoGenFileLocation
static int SmartInteractX
static RenderTarget2D waterTarget
static int numActiveLiquidAlpha
static void DrawProj_FlailChains_Old(Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
static CombatText[] combatText
static void ClearSmartInteract()
static void DrawNPCChatBubble(int i)
static int drawsCountedForFPS
void DrawSurfaceBG_DrawChangeOverlay(int backgroundAreaId)
static ResolutionChangeEvent OnRenderTargetsInitialized
static int TileInteractionHX
static bool ShouldDrawBackgroundTileAt(int i, int j)
void DrawTwinsPet(Projectile proj)
static void startPumpkinMoon()
static void UpdateWorldPreparationState()
static readonly int maxBackgrounds
void DrawProj_FairyQueenRangedItemShot(Projectile proj)
static bool placementPreview
static int lastRecipeUpdateId
static void CheckForMoonEventsScoreDisplay()
bool< SetupDrawInterfaceLayers > b__2162_28()
static int[] mallardCageFrameCounter
static void InputTextChest()
static Microsoft.Xna.Framework.Graphics.Color hslToRgb(float Hue, float Saturation, float Luminosity, byte a=255)
static void AddEchoFurnitureTile(int tileId)
static Action OnTickForInternalCodeOnly
static bool[] tileFrameImportant
static bool ReversedUpDownArmorSetBonuses
static float mapMinimapDefaultScale
void GUIHotbarDrawInner()
static void QueueMainThreadAction(Action action)
static float NPCAddHeight(NPC theNPC)
static void WeGameRequireExitGame()
static Ref< Effect > PixelShaderRef
bool< SetupDrawInterfaceLayers > b__2162_27()
static bool[][] tileMerge
static int wofDrawAreaTop
static Player PendingPlayer
void DoDraw_Tiles_Solid()
static bool showItemOwner
static float[] hotbarScale
void DrawSurfaceBG_Mushroom(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
static string cMapZoomOut
static IAssetRepository Assets
static string[] MonolithFilterNames
static ulong UnpausedUpdateSeed
void DrawInterface_22_DresserWindow()
static int ConvertPaintIdToTileShaderIndex(int paintIndexOnTile, bool isUsedForPaintingGrass, bool useWallShaderHacks)
static void MouseText_DrawItemTooltip_GetLinesInfo(Item item, int yoyoLogo, int researchLine, int materialsLine, float oldKB, int numLines, string[] toolTipLine, bool[] preFixLine, bool[] badPreFixLine, int setBonusLine)
static int[] snail2CageFrameCounter
static bool ShouldPVPDraw
void DrawMenu(GameTime gameTime)
static Microsoft.Xna.Framework.Vector2 ReverseGravitySupport(Microsoft.Xna.Framework.Vector2 pos, float height=0f)
static Preferences Configuration
void DrawWaters(bool isBackground=false)
static bool SmartCursorShowing
void UpdateViewZoomKeys()
static string[] recentWorld
static int[] wormCageFrame
static float shimmerAlpha
RenderTarget2D tileTarget
static int[] fairyJarFrame
static bool _isAsyncLoadComplete
static void UpdateAtmosphereTransparencyToSkyColor()
static Player LocalPlayer
static bool[] tileNoAttach
static Microsoft.Xna.Framework.Graphics.Color highVersionColor
void DrawUnderworldBackground(bool flat)
static bool SaveSettings()
static Dictionary< int, bool > SmartInteractTileCoords
static void DoUpdate_AnimateCursorColors()
static bool inputTextEnter
static bool mapFullscreen
static bool[] persistentBuff
static MapIconOverlay MapIcons
void DrawSplash(GameTime gameTime)
void OpenLegacySettings()
List< int > DrawCacheProjsBehindProjectiles
static void SetBackColor(Main.InfoToSetBackColor info, [Out] Microsoft.Xna.Framework.Graphics.Color sunColor, [Out] Microsoft.Xna.Framework.Graphics.Color moonColor)
void DoUpdate_AnimateDiscoRGB()
bool< SetupDrawInterfaceLayers > b__2162_39()
static string cFavoriteKey
const double slimeRainMaxTime
static int[] mallardCageFrame
static Effect vertexPixelShader
List< Tuple< int, int, ushort > > DrawWiresSpecialTiles
static ServerMode MenuServerMode
FinalFractalHelper finalFractalHelper
static void TrySupporting8K()
static bool ServerSideCharacter
static AnchoredEntitiesCollection sittingManager
override void Initialize()
static bool CanUpdateGameplay
static Action< Microsoft.Xna.Framework.Vector2 > OnResolutionChanged
static void ClosePlayerChat()
static void DrawWithOutlines(Entity entity, Microsoft.Xna.Framework.Graphics.Texture2D tex, Microsoft.Xna.Framework.Vector2 position, Rectangle rect, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, float scale, SpriteEffects effects)
static void PlayInteractiveProjectileOpenCloseSound(int projType, bool open)
static string GetPlayerNameFromPath(string filename)
void DrawSurfaceBG_Forest(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
static byte[] Decompress(byte[] inputData, int outputSize)
static void DoUpdate_AnimateWalls()
static FileMetadata WorldFileMetadata
static bool AllowUnfocusedInputOnGamepad
void DrawTileCracks(int crackType, HitTile hitter)
static bool SmartCursorWanted
static void ItemIconCacheVerification()
static Microsoft.Xna.Framework.Graphics.Color inventoryBack
static bool GamepadDisableInstructionsDisplay
void DrawInterface_31_BuilderAccToggles()
static HairstyleUnlocksHelper Hairstyles
static int buffScanAreaHeight
static Preferences InputProfiles
const bool USE_ASYNC_LOAD
static Microsoft.Xna.Framework.Vector2 GetPlayerArmPosition(Projectile proj)
static int oldClothesStyle
static BigProgressBarSystem BigBossProgressBar
static bool unityMouseOver
static INetDiagnosticsUI ActiveNetDiagnosticsUI
static bool specialSeedWorld
static string _oldSavePath
static int ladyBugRainBoost
static bool IsTileSpelunkable(ushort typeCache, short tileFrameX, short tileFrameY)
static byte[,] butterflyCageMode
static string _oldPlayerPath
static int timesTriedToFastStack
void UpdateWindyDayState()
static bool DisableIntenseVisualEffects
void MouseText(string cursorText, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0)
static void DrawVersionNumber(Microsoft.Xna.Framework.Graphics.Color menuColor, float upBump)
static void CancelClothesWindow(bool quiet=false)
Microsoft.Xna.Framework.Vector2 lastCloudScreenPosition
const double slimeRainMaxDelay
static float reforgeScale
static int[] treeMntBGSet4
void OnCharacterNamed(string text)
static PopupText[] popupText
static void BuyHairWindow()
static void CheckBossIndexes()
static int[] anglerQuestItemNetIDs
static void SwitchNetMode(int mode)
static int weatherVaneBobframe
static void DrawInterface_24_InterfaceLogic2()
static int ambientCounter
static ContentManager ShaderContentManager
const int numberOfHairstyles
static void StartSlimeRain(bool announce=true)
static void MouseOversTryToClear()
static int invasionWaveMax
bool< SetupDrawInterfaceLayers > b__2162_30()
static bool runningCollectorsEdition
static Point ReverseGravitySupport(Point pos, int height=0)
static bool PreventUpdatingTargets
static float GlobalTimeWrappedHourly
class< LoadContent_Deferred > d__1863
static GraphicsDeviceManager graphics
static bool WallLightAt(int i, int j, bool showInvisibleWalls)
static RenderTarget2D screenTargetSwap
static void SetCameraGamepadLerp(float lerp)
static int[,] jellyfishCageFrame
static Microsoft.Xna.Framework.Vector2 sceneWaterPos
static Microsoft.Xna.Framework.Graphics.Color legendaryModeColor
static void CursorColor()
static List< IEnumerator > DelayedProcesses
static Microsoft.Xna.Framework.Graphics.Color errorColor
static float martianLight
static bool fastForwardTimeToDusk
static int[] lavaFishBowlFrame
static bool IsTileSpelunkable(Tile t)
static Player[] playerVisualClone
static Microsoft.Xna.Framework.Vector2 sceneBackgroundPos
static int AutoSaveWorldTime
static bool MouseShowBuildingGrid
static int _minimapTopRightAnchorOffsetTowardsLeft
static bool SettingsSavePending
static bool SettingMusicReplayDelayEnabled
static void TrySyncingItemArray(bool syncedAnyInventoryContents, Item[] my, Item[] other, int slotOffset)
void DrawSurfaceBG_DrawBackMountainsLayer(int bgTextureIndex)
static void PostContentLoadInitialize()
static void OpenKeyboard(string initial, int maxCharacters=-1, bool password=false, bool multiline=false, bool filterText=true)
static float ForcedMinimumZoom
static int EquipPageSelected
static int mouseItemSourceContext
static void DrawNPCDirect_GetHallowBossArmFrame(NPC rCurrentNPC, [Out] int armFrame_Count, [Out] int armFrameToUseLeft, [Out] int armFrameToUseRight)
static bool loadMapSections
static bool menuMultiplayer
static int[] seagullCageFrameCounter
void DrawElderEye(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 worldPosition, float opacity, float scale, int frameNumber, Microsoft.Xna.Framework.Graphics.Color passedColor)
static Dictionary< int, GameModeData > RegisteredGameModes
static bool _cannotDrawAccessoriesHorizontally
static int[,] scorpionCageFrameCounter
List< int > DrawCacheProjsOverPlayers
static void InputTextSign()
static string[] MonolithSkyNames
static int cursorColorDirection
static void setFireFlyChance()
static void ResetBadgerHatTime()
static bool IsMechQueenUp
static bool AnyNPCs(int Type)
static bool IsADeerclopsNearScreen()
static void SetEventFlagCleared(bool eventFlag, int gameEventId)
static void StartTcpClient(bool connectingToLocalServer)
static bool SetRemoteIP(string remoteAddress)
static bool SmartBlocksEnabled
static bool SmartAxeAfterPickaxe
static int BlockInteractionWithProjectiles
bool hasCreditsSceneMusicBox
float specialistEffectiveDamage
Microsoft.Xna.Framework.? Vector2 PotionOfReturnHomePosition
static void InitializeStaticThings()
static IEntitySource GetNoneSource()
static void GetThroughDelayedFindRecipes()
static void FindRecipes(bool canDelayCheck=false)
static void TextSign(int i, string text)
static void SpawnStars(int s=-1)
static void EndDrawFrame()
static void DetailedDrawReset()
static float GetDrawTotal()
static void DetailedDrawTime(int detailedDrawType)
static bool CanShowVirtualKeyboard(int context)
static bool HighlightNewItems
static bool DisableLeftShiftTrashCan
static string[] GetFiles(string path, string searchPattern)
static void Delete(string path, bool cloud=false)
static byte[] ReadAllBytes(string path, bool cloud=false)
static string CleanSwitchPath(string path)
static void CreateDirectory(string path)
static bool Exists(string path, bool cloud=false)
static float Remap(float fromValue, float fromMin, float fromMax, float toMin, float toMax, bool clamped=true)
static float GetLerpValue(float from, float to, float t, bool clamped=false)
static int GetWorldUpdateRate()
static void PlayLiquidChangeSound(TileChangeType eventType, int x, int y, int count=1)
static void saveToonWhilePlaying()
static void ResetTreeShakes()
static bool InWorld(int x, int y, int fluff=0)
static ManagedThread serverLoadWorld()
static Color paintColor(int color)
static void UnloadAssets()
ThreadedRenderManager.RenderThreadInstance[] DrawThreads
void WaitAndProcess(ThreadedRenderManager.BatchProcessCallback callback, int numberOfThreads)
static void Log(object message)
static void EndThreadProfiling()
Viewport(int x, int y, int width, int height)
void Intersects(Rectangle value, [Out] bool result)
override int GetHashCode()
override string ToString()
float CorruptionBiomeInfluence
float JungleBiomeInfluence
float MushroomBiomeInfluence
bool isInGameMenuOrIsServer
float CrimsonBiomeInfluence
Microsoft.Xna.Framework.Vector2 SceneLocalScreenPositionOffset
static FastRandom CreateWithRandomSeed()