terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Main Class Reference
+ Inheritance diagram for Terraria.Main:

Classes

class  BackgroundDrawInfo
 
class  CurrentFrameFlags
 
struct  InfoToSetBackColor
 
struct  MouseTextCache
 
struct  SceneArea
 

Public Types

enum  AutoPauseMode { Disabled , Menus , Inventory }
 
enum  WorldPreparationState { AwaitingData , ProcessingData , Ready }
 

Public Member Functions

void SetMouseNPC (int index, int type)
 
void SetMouseNPC_ToHousingQuery ()
 
static IntPtr LoadLibrary (string dllToLoad)
 
void UpdateParticleSystems ()
 
void OpenRecent ()
 
void ResetSettings ()
 
void LoadSettings (bool allowLoad=true)
 
void setServerWorldRollbacks (string rollBacksToKeep)
 
void autoCreate (string worldSize)
 
void NewMOTD (string newMOTD)
 
void LoadDedConfig (string configPath)
 
void SetNetPlayers (int mPlayers)
 
void SetWorld (string world, bool cloud)
 
void SetWorldName (string world)
 
void EnableAutoShutdown ()
 
void AutoPass ()
 
void AutoJoin (string IP)
 
void AutoHost ()
 
void loadLib (string path)
 
void NeverSleep ()
 
void YouCanSleepNow ()
 
void DedServ ()
 
 Main ()
 
void UpdateAudio ()
 
void updateCloudLayer ()
 
void UpdateViewZoomKeys ()
 
bool ShouldUpdateEntities ()
 
static short GetKeyState (int keyCode)
 
void MouseTextHackZoom (string text, string buffTooltip=null)
 
void MouseTextHackZoom (string text, int itemRarity, byte diff=0, string buffTooltip=null)
 
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)
 
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)
 
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)
 
void ClearCachedTileDraws ()
 
void ResetAllContentBasedRenderTargets ()
 
void DrawHealthBar (float X, float Y, int Health, int MaxHealth, float alpha, float scale=1f, bool noFlip=false, bool inUISpace=false)
 
void DrawNPCDirect_QueenSlimeWings (NPC rCurrentNPC, SpriteBatch mySpriteBatch, Microsoft.Xna.Framework.Vector2 screenPos, Microsoft.Xna.Framework.Vector2 drawCenter, Microsoft.Xna.Framework.Graphics.Color originColor)
 
void DrawNPCDirect (SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos)
 
void DrawNPCDirect (SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos, LightMap lightMap, ref Rectangle lightRegion)
 
void DrawProj (int i)
 
void DrawProjDirect (Projectile proj, int i=-1)
 
void PrepareDrawnProjectileDrawing (Projectile proj)
 
void PrepareDrawnEntityDrawing (Entity entity, int intendedShader)
 
void DrawItems ()
 
void DrawMouseOver ()
 
void GUIBarsDraw ()
 
void DrawInterface_Resources_Buffs ()
 
void DrawWorldCursor (bool magnify=false)
 
void GUIChatDraw ()
 
void DrawCurrentBackground (int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
 
void DrawMagmaLayer (int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
 
void DrawRockLayer (int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
 
void DrawMiscMapIcons (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, ref string mouseTextString)
 
void DrawSimpleSurfaceBackground (Microsoft.Xna.Framework.Vector2 areaPosition, int areaWidth, int areaHeight)
 
void DrawCapture (Rectangle area, CaptureSettings settings)
 
void oldDrawWater (bool bg=false, int Style=0, float Alpha=1f)
 
void UpdateWeather (GameTime gameTime, int currentDayRateIteration)
 
void LoadBackground (int i)
 
void LoadItem (int i)
 
void LoadNPC (int i)
 
void LoadProjectile (int i)
 
void LoadGore (int i)
 
void LoadWall (int i)
 
void LoadTiles (int i)
 
void LoadItemFlames (int i)
 
void LoadWings (int i)
 
void LoadHair (int i)
 
void LoadArmorHead (int i)
 
void LoadArmorBody (int i)
 
void LoadArmorLegs (int i)
 
void LoadAccHandsOn (int i)
 
void LoadAccHandsOff (int i)
 
void LoadAccBack (int i)
 
void LoadAccFront (int i)
 
void LoadAccShoes (int i)
 
void LoadAccWaist (int i)
 
void LoadAccShield (int i)
 
void LoadAccNeck (int i)
 
void LoadAccFace (int i)
 
void LoadAccBalloon (int i)
 
void LoadAccBeard (int i)
 
void LoadFlameRing ()
 
void DrawTileCracks (int crackType, HitTile hitter)
 
void DrawInfernoRings ()
 
void OnTileChangeEvent (int x, int y, int count, TileChangeType eventType)
 
void FullscreenStartup ()
 
void UpdateDisplaySettings ()
 
delegate void OnPlayerSelected (PlayerFileData player)
 
void UnityAwake ()
 
void initialiseCallBack (object threadContext)
 
void UnityStart ()
 
void UnityServerInitialise ()
 
void UnityServerShutdown ()
 
void UnityServerUpdate (float elapsedTime)
 
void UnityUpdate (float elapsedTime)
 
void UnityDraw ()
 
void Dispose ()
 

Static Public Member Functions

static void ToggleGameplayUpdates (bool state)
 
static void SetRecommendedZoomContext (Matrix matrix)
 
static void FindAnnouncementBoxStatus ()
 
static bool CanPlayCreditsRoll ()
 
static void SetCameraLerp (float lerp, int time)
 
static void SetCameraGamepadLerp (float lerp)
 
static Microsoft.Xna.Framework.Vector2 ReverseGravitySupport (Microsoft.Xna.Framework.Vector2 pos, float height=0f)
 
static Point ReverseGravitySupport (Point pos, int height=0)
 
static Rectangle ReverseGravitySupport (Rectangle box)
 
static void FlushBatches ()
 
static MoonPhase GetMoonPhase ()
 
static Microsoft.Xna.Framework.Vector2 DrawPlayerItemPos (float gravdir, int itemtype)
 
static void SetupTileMerge ()
 
static void RegisterItemAnimation (int index, DrawAnimation animation)
 
static void InitializeItemAnimations ()
 
static void SetGraphicsProfile (GraphicsProfile profile, bool forceSet)
 
static void AnglerQuestSwap ()
 
static void TrySetPreparationState (Main.WorldPreparationState state)
 
static void UpdateWorldPreparationState ()
 
static bool InSmartCursorHighlightArea (int x, int y, out bool actuallySelected)
 
static byte[] Decompress (byte[] inputData, int outputSize)
 
static void LoadWorlds ()
 
static void LoadPlayers ()
 
static void SaveRecent ()
 
static bool SaveSettings ()
 
static void UpdateTrialMode ()
 
static bool IsTrialMode ()
 
static void ErasePlayer (int i)
 
static void EraseWorld (int i)
 
static string GetPlayerPathFromName (string playerName, bool cloudSave)
 
static string GetWorldNameFromPath (string filename)
 
static string GetPlayerNameFromPath (string filename)
 
static string GetWorldPathFromName (string worldName, bool cloudSave)
 
static string ConvertToSafeArgument (string arg)
 
static string ConvertFromSafeArgument (string arg)
 
static void RunServerCallBack (object threadContext)
 
static void RunDedServ (string worldName, string password)
 
static void startDedInput ()
 
static void startDedInputCallBack ()
 
static bool IsFastForwardingTime ()
 
static void Sundialing ()
 
static void Moondialing ()
 
static void UpdateTimeRate ()
 
static void LoadTestLog (string logname)
 
static void ProcessAsyncLoad ()
 
static void CheckForMoonEventsStartingTemporarySeasons ()
 
static void CheckForMoonEventsScoreDisplay ()
 
static void stopMoonEvent ()
 
static void startPumpkinMoon ()
 
static void startSnowMoon ()
 
static void snowing ()
 
static void checkXMas ()
 
static void checkHalloween ()
 
static void TeleportEffect (Rectangle effectRect, int Style, int extraInfo=0, float dustCountMult=1f, TeleportationSide side=TeleportationSide.Entry, Microsoft.Xna.Framework.Vector2 otherPosition=default(Microsoft.Xna.Framework.Vector2))
 
static void Ambience ()
 
static void AnimateTiles_CritterCages ()
 
static void DoUpdate_AnimateItemIcons ()
 
static void QueueMainThreadAction (Action action)
 
static void NotifyOfEvent (GameNotificationType type)
 
static bool IsNPCActiveAndOneOfTypes (int npcIndex, short npcType)
 
static void OpenPlayerChat ()
 
static void ClosePlayerChat ()
 
static void InputTextSign ()
 
static void InputTextChest ()
 
static void InputTextSignCancel ()
 
static void clrInput ()
 
static void OpenKeyboard (string initial, int maxCharacters=-1, bool password=false, bool multiline=false, bool filterText=true)
 
static void CloseKeyboard ()
 
static string GetInputText (string oldString, Rectangle region, int maxCharacters=-1, bool password=false, bool retainText=false, bool multiline=false, bool filterText=true)
 
static void MouseText_DrawItemTooltip_GetLinesInfo (Item item, ref int yoyoLogo, ref int researchLine, ref int materialsLine, float oldKB, ref int numLines, string[] toolTipLine, bool[] preFixLine, bool[] badPreFixLine, ref int setBonusLine)
 
static void shine (ref Microsoft.Xna.Framework.Graphics.Color newColor, int type)
 
static void shine (out Microsoft.Xna.Framework.Vector3 newColor, int type, int frameX)
 
static bool IsTileSpelunkable (Tile t)
 
static bool IsTileSpelunkable (ushort typeCache, short tileFrameX, short tileFrameY)
 
static bool IsTileBiomeSightable (ushort type, short tileFrameX, short tileFrameY, ref Microsoft.Xna.Framework.Graphics.Color sightColor)
 
static float NPCAddHeight (NPC theNPC)
 
static int GetProjectileDesiredShader (Projectile proj)
 
static void GetItemDrawFrame (int item, out Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, out Rectangle itemFrame)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_BoneWhip (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_CoolWhip (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_FireWhip (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_RainbowWhip (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_ThornWhip (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipSword (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipMace (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipScythe (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipBland (Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
 
static Microsoft.Xna.Framework.Vector2 GetPlayerArmPosition (Projectile proj)
 
static void PlayInteractiveProjectileOpenCloseSound (int projType, bool open)
 
static void PrintTimedMessage (string message, params object[] arguments)
 
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 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 void EntitySpriteDraw (DrawData data)
 
static Microsoft.Xna.Framework.Graphics.Color buffColor (Microsoft.Xna.Framework.Graphics.Color newColor, float R, float G, float B, float A)
 
static Microsoft.Xna.Framework.Graphics.Color quickAlpha (Microsoft.Xna.Framework.Graphics.Color oldColor, float Alpha)
 
static void HelpText ()
 
static void SetNPCShopIndex (int index)
 
static void CloseNPCChatOrSign ()
 
static void SubmitSignText ()
 
static void LockCraftingForThisCraftClickDuration ()
 
static void DrawInterface_Resources_ClearBuffs ()
 
static string GetBuffTooltip (Player player, int buffType)
 
static bool TryGetBuffTime (int buffSlotOnPlayer, out int buffTimeValue)
 
static int DrawBuffIcon (int drawBuffText, int buffSlotOnPlayer, int x, int y)
 
static void TryRemovingBuff (int i, int b)
 
static void TryRemovingBuff_CheckBuffHideMisc (int slot, int buffID)
 
static void OpenHairWindow ()
 
static void CancelHairWindow ()
 
static void BuyHairWindow ()
 
static int UnlockedMaxHair ()
 
static void OpenClothesWindow ()
 
static void CancelClothesWindow (bool quiet=false)
 
static void SaveClothesWindow ()
 
static void DrawInterface_FinalUI ()
 
static void DrawInterface_36_Cursor ()
 
static void DrawInterface_29_SettingsButton ()
 
static void DrawTileGridOption (bool magnify=false)
 
static void ItemIconCacheUpdate (int selectedItemID)
 
static void ItemIconCacheVerification ()
 
static void DrawWallOfFish ()
 
static void DrawWallOfStars ()
 
static void DrawItemIcon (SpriteBatch spriteBatch, Item theItem, Microsoft.Xna.Framework.Vector2 screenPositionForItemCenter, Microsoft.Xna.Framework.Graphics.Color itemLightColor, float sizeLimit)
 
static void CheckInvasionProgressDisplay ()
 
static void SyncAnInvasion (int toWho)
 
static void ReportInvasionProgress (int progress, int progressMax, int icon, int progressWave)
 
static void DrawInvasionProgress ()
 
static Microsoft.Xna.Framework.Graphics.Color randColor ()
 
static Microsoft.Xna.Framework.Graphics.Color hslToRgb (Microsoft.Xna.Framework.Vector3 hslVector)
 
static Microsoft.Xna.Framework.Graphics.Color hslToRgb (float Hue, float Saturation, float Luminosity, byte a=255)
 
static void hslToRgb (ref Microsoft.Xna.Framework.Graphics.Color color, float Hue, float Saturation, float Luminosity, byte a=255)
 
static double hue2rgb (double c, double t1, double t2)
 
static Microsoft.Xna.Framework.Vector3 rgbToHsl (Microsoft.Xna.Framework.Graphics.Color newColor)
 
static void DrawCursor (Microsoft.Xna.Framework.Vector2 bonus, bool smart=false)
 
static void ClearSmartInteract ()
 
static Microsoft.Xna.Framework.Vector2 DrawThickCursor (bool smart=false)
 
static void GoToWorldSelect ()
 
static void StartClientGameplay ()
 
static void ReleaseHostAndPlayProcess ()
 
static void ClearVisualPostProcessEffects ()
 
static void ResetKeyBindings ()
 
static void CursorColor ()
 
static Point GetScreenOverdrawOffset ()
 
static bool WallLightAt (int i, int j)
 
static bool WallLightAt (int i, int j, bool showInvisibleWalls)
 
static string ValueToCoins (long value)
 
static bool DrawPlayerDeathMarker (float X, float Y, float scale, float left, float top, float headScale, int i)
 
static void TriggerPing (Microsoft.Xna.Framework.Vector2 position)
 
static void DrawNPCHeadFriendly (Entity theNPC, byte alpha, float headScale, SpriteEffects dir, int npcID, float x, float y)
 
static void DrawNPCHeadBoss (Entity theNPC, byte alpha, float headScale, float rotation, SpriteEffects effects, int npcID, float x, float y)
 
static Microsoft.Xna.Framework.Graphics.Color GetPlayerHeadBordersColor (Player plr)
 
static string DrawMap_FindChestName (LocalizedText[] chestNames, Tile chestTile, int x, int y, int fullTileWidth=36)
 
static int CalculateWaterStyle (bool ignoreFountains=false)
 
static bool IsLiquidStyleWater (int liquidStyle)
 
static void DrawTileInWater (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 drawOffset, int x, int y, byte liquid, short frameX, short frameY)
 
static bool ShouldShowInvisibleWalls ()
 
static int ConvertPaintIdToTileShaderIndex (int paintIndexOnTile, bool isUsedForPaintingGrass, bool useWallShaderHacks)
 
static void ResetWindCounter (bool resetExtreme=false)
 
static void NewLightning ()
 
static bool IsItDay ()
 
static double starGameMath (double value=1.0)
 
static void GetAreaToLight (out int firstTileX, out int lastTileX, out int firstTileY, out int lastTileY)
 
static int GetPreferredBGStyleForPlayer ()
 
static bool CanStartInvasion (int type=1, bool ignoreDelay=false)
 
static void StartInvasion (int type=1)
 
static void FakeLoadInvasionStart ()
 
static void NewText (string newText, byte R=255, byte G=255, byte B=255)
 
static void NewTextMultiline (string text, bool force=false, Microsoft.Xna.Framework.Graphics.Color c=default(Microsoft.Xna.Framework.Graphics.Color), int WidthLimit=-1)
 
static void StopRain ()
 
static void StartRain ()
 
static void StartSlimeRain (bool announce=true)
 
static void StopSlimeRain (bool announce=true)
 
static bool AnyPlayerReadyToFightKingSlime ()
 
static void SkipToTime (int timeToSet, bool setIsDayTime)
 
static bool ShouldNormalEventsBeAbleToStart ()
 
static void UpdateTime_StartNight (ref bool stopEvents)
 
static void UpdateTime_StartDay (ref bool stopEvents)
 
static BestiaryUnlockProgressReport GetBestiaryProgressReport ()
 
static int DamageVar (float dmg, float luck=0f)
 
static double CalculateDamageNPCsTake (int Damage, int Defense)
 
static double CalculateDamagePlayersTakeInPVP (int Damage, int Defense)
 
static double CalculateDamagePlayersTake (int Damage, int Defense)
 
static void ClearPendingPlayerSelectCallbacks ()
 
static void SelectPlayer (PlayerFileData data)
 
static void ToggleFullScreen ()
 
static void SetFullScreen (bool fullscreen)
 
static void SetResolution (int width, int height)
 
static void SetDisplayMode (int width, int height, bool fullscreen)
 
static void FixUIScale ()
 
static void SwitchNetMode (int mode)
 
static void WeGameRequireExitGame ()
 

Public Attributes

bool gammaTest
 
float chestLootScale
 
bool chestLootHover
 
float chestStackScale
 
bool chestStackHover
 
float chestDepositScale
 
bool chestDepositHover
 
float chestRenameScale
 
bool chestRenameHover
 
float chestCancelScale
 
bool chestCancelHover
 
int DiscoStyle
 
int invBottom
 
List< int > DrawCacheNPCsMoonMoon
 
List< int > DrawCacheNPCsOverPlayers
 
List< int > DrawCacheNPCProjectiles
 
List< int > DrawCacheNPCsBehindNonSolidTiles
 
List< int > DrawCacheProjsBehindNPCsAndTiles
 
List< int > DrawCacheProjsBehindNPCs
 
List< int > DrawCacheProjsBehindProjectiles
 
List< int > DrawCacheProjsOverWiresUI
 
List< int > DrawCacheProjsOverPlayers
 
List< int > DrawCacheFirstFractals
 
SpelunkerProjectileHelper SpelunkerProjectileHelper
 
ChumBucketProjectileHelper ChumBucketProjectileHelper
 
float logoRotation
 
float logoRotationDirection
 
float logoRotationSpeed
 
float logoScale
 
float logoScaleDirection
 
float logoScaleSpeed
 
int textBlinkerCount
 
int textBlinkerState
 
TilePaintSystemV2 TilePaintSystem
 
TileDrawing TilesRenderer
 
WallDrawing WallsRenderer
 
RejectionMenuInfo RejectionMenuInfo
 
ThreadLocal< Main.BackgroundDrawInfo_currentBackgroundDrawInfo
 
bool FlushWater
 
CameraModifierStack CameraModifiers
 
bool IsMouseVisible
 
bool IsFixedTimeStep
 

Static Public Attributes

static bool SettingsEnabled_AutoReuseAllItems
 
static int CurrentDrawnEntityShader
 
static Entity CurrentDrawnEntity
 
static bool LightingEveryFrame
 
static bool AllowUnfocusedInputOnGamepad
 
static bool CrouchingEnabled
 
static Main instance
 
static bool AnnouncementBoxDisabled
 
static int AnnouncementBoxRange
 
static bool drunkWorld
 
static bool getGoodWorld
 
static Microsoft.Xna.Framework.Vector2 destroyerHB
 
static FileMetadata WorldFileMetadata
 
static PingMapLayer Pings
 
static CreativeUI CreativeMenu
 
static MapIconOverlay MapIcons
 
static bool drawBackGore
 
static ulong LobbyId
 
static bool ServerSideCharacter
 
static string clientUUID
 
static float GlobalTimeWrappedHourly
 
static bool GlobalTimerPaused
 
static GameTime gameTimeCache
 
static ulong TileFrameSeed
 
static int npcStreamSpeed
 
static bool superFast
 
static bool[] townNPCCanSpawn
 
static int musicBox2
 
static int musicBoxNotModifiedByVolume
 
static byte HealthBarDrawSettings
 
static float wFrCounter
 
static float wFrame
 
static float upTimer
 
static float upTimerMax
 
static float upTimerMaxDelay
 
static bool drawDiag
 
static bool drawRelease
 
static bool drawBetterDebug
 
static bool betterDebugRelease
 
static bool drawToScreen
 
static bool targetSet
 
static float essScale
 
static int essDir
 
static float[] cloudBGX
 
static float cloudBGAlpha
 
static float cloudBGActive
 
static int[] cloudBG
 
static int[] treeMntBGSet1
 
static int[] treeMntBGSet2
 
static int[] treeMntBGSet3
 
static int[] treeMntBGSet4
 
static int[] treeBGSet1
 
static int[] treeBGSet2
 
static int[] treeBGSet3
 
static int[] treeBGSet4
 
static int[] corruptBG
 
static int[] jungleBG
 
static int[] snowMntBG
 
static int[] snowBG
 
static int[] hallowBG
 
static int[] crimsonBG
 
static int[] desertBG
 
static int[] mushroomBG
 
static int oceanBG
 
static int[] underworldBG
 
static int[] treeX
 
static int[] treeStyle
 
static int[] caveBackX
 
static int[] caveBackStyle
 
static int iceBackStyle
 
static int hellBackStyle
 
static int jungleBackStyle
 
static string debugWords
 
static bool gamePad
 
static bool xMas
 
static bool halloween
 
static bool forceXMasForToday
 
static bool forceHalloweenForToday
 
static int snowDust
 
static bool changeTheTitle
 
static int keyCount
 
static string[] keyString
 
static int[] keyInt
 
static double UpdateTimeAccumulator
 
static bool drawSkip
 
static int fpsCount
 
static Stopwatch fpsTimer
 
static int dayRate
 
static int desiredWorldTilesUpdateRate
 
static int maxScreenW
 
static int maxScreenH
 
static int minScreenW
 
static int minScreenH
 
static float iS
 
static int buffScanAreaWidth
 
static int buffScanAreaHeight
 
static float musicPitch
 
static int maxMP
 
static string[] recentWorld
 
static string[] recentIP
 
static int[] recentPort
 
static bool[] recentHardMode
 
static short[] recentGameMode
 
static bool[] recentCrimson
 
static int[] recentSizeX
 
static bool[] recentFavorite
 
static bool shortRender
 
static int ladyBugRainBoost
 
const int BG_STYLES_COUNT = 14
 
static int EquipPage
 
static int EquipPageSelected
 
static int wofNPCIndex
 
static int wofDrawAreaTop
 
static int wofDrawAreaBottom
 
static int wofDrawFrameIndex
 
static int offScreenRange
 
static int maxMapUpdates
 
static int textureMaxWidth
 
static int textureMaxHeight
 
static int mapTargetX
 
static int mapTargetY
 
static bool[,] initMap
 
static float mapMinimapDefaultScale
 
static bool SkipAssemblyLoad
 
static KeyboardState keyState
 
static KeyboardState oldKeyState
 
static bool craftingHide
 
static bool armorHide
 
static float shimmerAlpha
 
static float shimmerDarken
 
static float shimmerBrightenDelay
 
static float craftingAlpha
 
static float armorAlpha
 
static float[] buffAlpha
 
static bool hardMode
 
static Microsoft.Xna.Framework.Vector2 sceneWaterPos
 
static Microsoft.Xna.Framework.Vector2 sceneTilePos
 
static Microsoft.Xna.Framework.Vector2 sceneTile2Pos
 
static Microsoft.Xna.Framework.Vector2 sceneWallPos
 
static Microsoft.Xna.Framework.Vector2 sceneBackgroundPos
 
static bool maxQ
 
static int DiscoR
 
static int DiscoB
 
static int DiscoG
 
static int teamCooldownLen
 
static bool gamePaused
 
static bool gameInactive
 
static int updatesCountedForFPS
 
static int drawsCountedForFPS
 
static int uCount
 
static int updateRate
 
static int frameRate
 
static bool RGBRelease
 
static bool qRelease
 
static bool netRelease
 
static bool frameRelease
 
static int magmaBGFrame
 
static int magmaBGFrameCounter
 
static int saveTimer
 
static bool autoJoin
 
static bool serverStarting
 
static float leftWorld
 
static float rightWorld
 
static float topWorld
 
static float bottomWorld
 
static int maxTilesX
 
static int maxTilesY
 
static int maxSectionsX
 
static int maxSectionsY
 
static int maxDustToDraw
 
static int maxNetPlayers
 
static int activePlayerCount
 
static int maxActivePlayers
 
static int maxRain
 
static int slimeWarningTime
 
static int slimeWarningDelay
 
static float slimeRainNPCSlots
 
static bool[] slimeRainNPC
 
static double slimeRainTime
 
static bool slimeRain
 
static int slimeRainKillCount
 
static float cameraX
 
static int WorldRollingBackupsCountToKeep
 
static bool swapMusic
 
static int dungeonX
 
static int dungeonY
 
static Liquid[] liquid
 
static LiquidBuffer[] liquidBuffer
 
static bool dedServ
 
static int spamCount
 
static int newMusic
 
static int curMusic
 
static int dayMusic
 
static int ugMusic
 
static bool bannerMouseOver
 
static string buffString
 
static string libPath
 
static int lo
 
static int LogoA
 
static int LogoB
 
static bool LogoT
 
static string statusText
 
static string worldName
 
static int worldID
 
static Microsoft.Xna.Framework.Graphics.Color tileColor
 
static double worldSurface
 
static double rockLayer
 
static bool dayTime
 
static double time
 
static double timeForVisualEffects
 
static int moonPhase
 
static short sunModY
 
static short moonModY
 
static bool alreadyGrabbingSunOrMoon
 
static bool bloodMoon
 
static bool pumpkinMoon
 
static bool snowMoon
 
static float cloudAlpha
 
static float maxRaining
 
static float oldMaxRaining
 
static int rainTime
 
static bool raining
 
static bool eclipse
 
static float eclipseLight
 
static int checkForSpawns
 
static int helpText
 
static int BartenderHelpTextIndex
 
static float demonTorch
 
static int demonTorchDir
 
static float martianLight
 
static int martianLightDir
 
static float masterColor
 
static int masterColorDir
 
static int numStars
 
static int weatherCounter
 
static int numClouds
 
static int numCloudsTemp
 
static float windSpeedCurrent
 
static float windSpeedTarget
 
static int windCounter
 
static int extremeWindCounter
 
static bool windPhysics
 
static float windPhysicsStrength
 
static Cloud[] cloud
 
static bool resetClouds
 
static float SmoothedMushroomLightInfluence
 
static int fadeCounter
 
static float invAlpha
 
static float invDir
 
static bool allChestStackHover
 
static bool inventorySortMouseOver
 
static int moonType
 
static bool UseExperimentalFeatures
 
static string DefaultSeed
 
static float[] musicFade
 
static HairstyleUnlocksHelper Hairstyles
 
static bool tilesLoaded
 
static TileData tile
 
static Dust[] dust
 
static Star[] star
 
static Item[] item
 
static int[] timeItemSlotCannotBeReusedFor
 
static NPC[] npc
 
static Gore[] gore
 
static List< int > BoneJavlinProjectiles
 
static List< int > TentacleSpikeProjectiles
 
static List< int > DaybreakProjectiles
 
static List< int > StardustCellMinionShotProjectiles
 
static Projectile[] projectile
 
static int[,] projectileIdentity
 
static CombatText[] combatText
 
static Chest[] chest
 
static Sign[] sign
 
static int[] itemFrame
 
static int[] itemFrameCounter
 
static bool screenMaximized
 
static bool screenBorderless
 
static int screenBorderlessPendingResizes
 
static int teamNamePlateDistance
 
static int multiplayerNPCSmoothingRange
 
static bool Setting_UseReducedMaxLiquids
 
static int PlayerOverheadChatMessageDisplayTime
 
static object CurrentInputTextTakerOverride
 
static bool drawingPlayerChat
 
static bool chatRelease
 
static string chatText
 
static bool inputTextEnter
 
static bool inputTextEscape
 
static float[] hotbarScale
 
static byte mouseTextColor
 
static int mouseTextColorChange
 
static bool hasFocus
 
static bool recFastScroll
 
static bool recBigList
 
static int recStart
 
static Recipe[] recipe
 
static float[] availableRecipeY
 
static Player[] player
 
static Player[] playerVisualClone
 
static bool[] countsAsHostForGameplay
 
static int[] travelShop
 
static List< string > anglerWhoFinishedToday
 
static int anglerQuest
 
static AmbienceServer AmbienceServer
 
static ItemDropDatabase ItemDropsDB
 
static BestiaryDatabase BestiaryDB
 
static ItemDropResolver ItemDropSolver
 
static BestiaryUnlocksTracker BestiaryTracker
 
static TeleportPylonsSystem PylonSystem
 
static ShopHelper ShopHelper
 
static bool Support4K
 
static float MinimumZoomComparerX
 
static float MinimumZoomComparerY
 
static int LogicCheckScreenWidth
 
static int LogicCheckScreenHeight
 
static float temporaryGUIScaleSlider
 
static bool temporaryGUIScaleSliderUpdate
 
static Item HoverItem
 
static string motd
 
static bool toggleFullscreen
 
static int numDisplayModes
 
static bool menuBGChangedDay
 
static bool menuBGChangedNight
 
static bool lockMenuBGChange
 
static List< WorldFileDataWorldList
 
static WorldFileData ActiveWorldFileData
 
static string CloudWorldPath
 
static string CloudPlayerPath
 
static KeyboardState inputText
 
static KeyboardState oldInputText
 
static int PendingResolutionWidth
 
static int PendingResolutionHeight
 
static bool PendingBorderlessState
 
static int invasionType
 
static double invasionX
 
static int invasionSize
 
static int invasionDelay
 
static int invasionWarn
 
static int invasionSizeStart
 
static int invasionProgressIcon
 
static int invasionProgress
 
static int invasionProgressMax
 
static int invasionProgressWave
 
static int invasionWaveMax
 
static int invasionProgressDisplayLeft
 
static float invasionProgressAlpha
 
static bool HasInteractibleObjectThatIsNotATile
 
static bool mouseExit
 
static float exitScale
 
static bool mouseReforge
 
static float reforgeScale
 
static Player clientPlayer
 
static string getIP
 
static string getPort
 
static bool menuMultiplayer
 
static bool menuServer
 
static int netMode
 
static int netPlayCounter
 
static int lastNPCUpdate
 
static int lastItemUpdate
 
static int maxNPCUpdates
 
static int maxItemUpdates
 
static ColorSlidersSet mouseColorSlider
 
static ColorSlidersSet mouseBorderColorSlider
 
static bool hideUI
 
static bool releaseUI
 
static int FrameSkipMode
 
static bool terrariasFixedTiming
 
static ParticleRenderer ParticleSystem_World_OverPlayers
 
static ParticleRenderer ParticleSystem_World_BehindPlayers
 
static AnchoredEntitiesCollection sittingManager
 
static AnchoredEntitiesCollection sleepingManager
 
static bool CaptureModeDisabled
 
static bool unityMouseOver
 
static bool LocalModeServer
 
static IPlayerRenderer PlayerRenderer
 
static IPlayerRenderer PotionOfReturnRenderer
 
static MapHeadRenderer MapPlayerRenderer
 
static NPCHeadRenderer TownNPCHeadRenderer
 
static NPCHeadRenderer BossNPCHeadRenderer
 
static int musicError
 
static string oldStatusText
 
static bool localPlayerConnected
 
static bool autoShutdown
 
static bool forceServerShutdown
 
static bool serverBootupInProgress
 
static int sundialCooldown
 
static bool fastForwardTimeToDawn
 
static bool _shouldUseWindyDayMusic
 
static bool _shouldUseStormMusic
 
static bool playOldTile
 
static float ambientWaterfallX
 
static float ambientWaterfallY
 
static float ambientWaterfallStrength
 
static float ambientLavafallX
 
static float ambientLavafallY
 
static float ambientLavafallStrength
 
static float ambientLavaX
 
static float ambientLavaY
 
static float ambientLavaStrength
 
static int ambientCounter
 
static IChatMonitor chatMonitor
 
static int ProjectileUpdateLoopIndex
 
static GameTipsDisplay gameTips
 
static int weatherVaneBobframe
 
static int selectedPlayer
 
static int selectedWorld
 
static string newWorldName
 
static string hoverItemName
 
static Microsoft.Xna.Framework.Graphics.Color inventoryBack
 
static bool mouseText
 
static int mH
 
static int focusColor
 
static int colorDelay
 
static int setKey
 
static bool autoPass
 
static int menuFocus
 
static bool blockMouse
 
static float MenuXMovement
 
static float MapScale
 
static bool cancelWormHole
 
static float lightning
 
static int thunderDistance
 
static float atmo
 
static Microsoft.Xna.Framework.Graphics.Color ColorOfTheSkies
 
const int curRelease = 279
 
static StringBuilder UIStringBuilder
 
const string assemblyVersionNumber = "1.4.4.9"
 
const string copyrightText = "Copyright © 2022 Re-Logic"
 
const ulong WorldGeneratorVersion = 1198295875585UL
 
static Dictionary< string, MinimapFrameMinimapFrames
 
static Dictionary< string, IPlayerResourcesDisplaySetPlayerResourcesSets
 
const string TerrariaSaveFolderPath = "Terraria"
 
static IAssetRepository Assets
 
static float ForcedMinimumZoom
 
static SpriteViewMatrix GameViewMatrix
 
static SpriteViewMatrix BackgroundViewMatrix
 
static float GameZoomTarget
 
static bool InvisibleCursorForGamepad
 
static bool GamepadDisableCursorItemIconInner
 
static bool GamepadDisableInstructionsDisplay
 
static string versionNumber
 
static string versionNumber2
 
static string AutogenSeedName
 
static Dictionary< int, GameModeDataRegisteredGameModes
 
static bool tenthAnniversaryWorld
 
static bool dontStarveWorld
 
static bool notTheBeesWorld
 
static bool remixWorld
 
static bool noTrapsWorld
 
static bool zenithWorld
 
static FavoritesFile CloudFavoritesData
 
static UserInterface MenuUI
 
static UserInterface InGameUI
 
static bool ContentLoaded
 
static ContentManager ShaderContentManager
 
static Ref< EffectScreenShaderRef
 
static Ref< EffectPixelShaderRef
 
static Ref< EffectTileShaderRef
 
static Ref< EffectVertexPixelShaderRef
 
static List< IEnumeratorDelayedProcesses
 
static bool dedServFPS
 
static int dedServCount1
 
static int dedServCount2
 
static readonly int offLimitBorderTiles
 
const int maxMusic = 92
 
const int MaxBannerTypes = 290
 
static readonly int maxBackgrounds
 
const int MaxShopIDs = 100
 
static Microsoft.Xna.Framework.Vector2[] OffsetsNPCOffhand
 
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOffhand
 
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOnhand
 
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerHeadgear
 
static bool noWindowBorder
 
static RasterizerState Rasterizer
 
static bool skipMenu
 
static bool verboseNetplay
 
static bool stopTimeOuts
 
static bool showSpam
 
static bool showItemOwner
 
static bool runningCollectorsEdition
 
static bool shouldDrawNetDiagnosticsUI
 
static IMultiplayerClosePlayersOverlay ActiveClosePlayersTeamOverlay
 
static bool _isAsyncLoadComplete
 
static bool showSplash
 
static bool ignoreErrors
 
static string defaultIP
 
static int defaultPort
 
static bool[] projHostile
 
static bool[] projHook
 
static bool[] pvpBuff
 
static bool[] persistentBuff
 
static bool[] vanityPet
 
static bool[] lightPet
 
static bool[] meleeBuff
 
static bool[] debuff
 
static bool[] buffNoSave
 
static bool[] buffNoTimeDisplay
 
static bool[] buffDoubleApply
 
static RenderTarget2D waterTarget
 
static RenderTarget2D screenTarget
 
static RenderTarget2D screenTargetSwap
 
static bool[,] mapWasContentLost
 
const int numInfoIcons = 13
 
static Microsoft.Xna.Framework.Graphics.Color OurFavoriteColor
 
static GraphicsDeviceManager graphics
 
static SpriteBatch spriteBatch
 
static SpriteBatch spriteBatch2
 
static TileBatch tileBatch
 
static BasicDebugDrawer DebugDrawer
 
static SamplerState SamplerStateForCursor
 
static GenerationProgress AutogenProgress
 
static Microsoft.Xna.Framework.Graphics.Color mcColor
 
static Microsoft.Xna.Framework.Graphics.Color hcColor
 
static Microsoft.Xna.Framework.Graphics.Color creativeModeColor
 
static Microsoft.Xna.Framework.Graphics.Color legendaryModeColor
 
static Microsoft.Xna.Framework.Graphics.Color highVersionColor
 
static Microsoft.Xna.Framework.Graphics.Color errorColor
 
static bool afterPartyOfDoom
 
const int sectionWidth = 200
 
const int sectionHeight = 150
 
const int maxDust = 6000
 
const int maxCombatText = 100
 
const int maxItemText = 20
 
const int maxPlayers = 255
 
const int maxChests = 8000
 
const int maxItems = 400
 
const int maxProjectiles = 1000
 
const int maxNPCs = 200
 
const int maxGore = 600
 
const int InventoryItemSlotsStart = 0
 
const int InventoryItemSlotsCount = 50
 
const int InventoryCoinSlotsStart = 50
 
const int InventoryCoinSlotsCount = 4
 
const int InventoryAmmoSlotsStart = 54
 
const int InventoryAmmoSlotsCount = 4
 
const int InventorySlotsTotal = 58
 
const int maxLiquidTypes = 15
 
static bool useBackupFiles
 
static bool validateSaves
 
static Microsoft.Xna.Framework.Graphics.Color[] teamColor
 
const double dayLength = 54000.0
 
const double nightLength = 32400.0
 
static bool autoGen
 
static int[] projFrames
 
static bool[] projPet
 
const int maxStars = 400
 
const int maxStarTypes = 4
 
const int maxClouds = 200
 
static UnifiedRandom rand
 
const int maxMoons = 9
 
const int numTileColors = 32
 
const int numTreeStyles = 32
 
const int numberOfHairstyles = 165
 
const int maxHairStyles = 165
 
const int maxCharSelectHair = 51
 
const int maxHairOfStylistDefault = 123
 
static IAudioSystem audioSystem
 
static bool[] musicNoCrossFade
 
static ServerMode MenuServerMode
 
static bool[] tileLighted
 
static bool[] tileMergeDirt
 
static bool[] tileCut
 
static bool[] tileAlch
 
static int[] tileShine
 
static bool[] tileShine2
 
static bool[] wallHouse
 
static bool[] wallDungeon
 
static bool[] wallLight
 
static bool[] wallLighted
 
static int[] wallBlend
 
static bool[] tileStone
 
static bool[] tileAxe
 
static bool[] tileHammer
 
static bool[] tileWaterDeath
 
static bool[] tileLavaDeath
 
static bool[] tileTable
 
static bool[] tileBlockLight
 
static bool[] tileNoSunLight
 
static bool[] tileDungeon
 
static bool[] tileSpelunker
 
static bool[] tileSolidTop
 
static bool[] tileSolid
 
static bool[] tileBouncy
 
static short[] tileOreFinderPriority
 
static byte[] tileLargeFrames
 
static byte[] wallLargeFrames
 
static bool[] tileRope
 
static bool[] tileBrick
 
static bool[] tileMoss
 
static bool[] tileNoAttach
 
static bool[] tileNoFail
 
static bool[] tileCracked
 
static bool[] tileObsidianKill
 
static bool[] tileFrameImportant
 
static bool[] tilePile
 
static bool[] tileBlendAll
 
static short[] tileGlowMask
 
static bool[] tileContainer
 
static bool[] tileSign
 
static bool[][] tileMerge
 
static int cageFrames
 
static bool critterCage
 
static int[] bunnyCageFrame
 
static int[] bunnyCageFrameCounter
 
static int[] squirrelCageFrame
 
static int[] squirrelCageFrameCounter
 
static int[] squirrelCageFrameOrange
 
static int[] squirrelCageFrameCounterOrange
 
static int[] mallardCageFrame
 
static int[] mallardCageFrameCounter
 
static int[] duckCageFrame
 
static int[] duckCageFrameCounter
 
static int[] grebeCageFrame
 
static int[] grebeCageFrameCounter
 
static int[] seagullCageFrame
 
static int[] seagullCageFrameCounter
 
static int[] birdCageFrame
 
static int[] birdCageFrameCounter
 
static int[] redBirdCageFrame
 
static int[] redBirdCageFrameCounter
 
static int[] blueBirdCageFrame
 
static int[] blueBirdCageFrameCounter
 
static int[] macawCageFrame
 
static int[] macawCageFrameCounter
 
static byte[,] butterflyCageMode
 
static int[,] butterflyCageFrame
 
static int[,] butterflyCageFrameCounter
 
static int[,] dragonflyJarFrameCounter
 
static int[,] dragonflyJarFrame
 
static int[,] scorpionCageFrame
 
static int[,] scorpionCageFrameCounter
 
static int[] snailCageFrame
 
static int[] snailCageFrameCounter
 
static int[] snail2CageFrame
 
static int[] snail2CageFrameCounter
 
static byte[] fishBowlFrameMode
 
static int[] fishBowlFrame
 
static int[] fishBowlFrameCounter
 
static int[] lavaFishBowlFrame
 
static int[] lavaFishBowlFrameCounter
 
static int[] frogCageFrame
 
static int[] frogCageFrameCounter
 
static int[] mouseCageFrame
 
static int[] mouseCageFrameCounter
 
static int[] turtleCageFrame
 
static int[] turtleCageFrameCounter
 
static int[] fairyJarFrame
 
static int[] fairyJarFrameCounter
 
static byte[,] jellyfishCageMode
 
static int[,] jellyfishCageFrame
 
static int[,] jellyfishCageFrameCounter
 
static int[] wormCageFrame
 
static int[] wormCageFrameCounter
 
static int[] maggotCageFrame
 
static int[] maggotCageFrameCounter
 
static int[] ratCageFrame
 
static int[] ratCageFrameCounter
 
static int[] ladybugCageFrame
 
static int[] ladybugCageFrameCounter
 
static int[] penguinCageFrame
 
static int[] penguinCageFrameCounter
 
static int[] waterStriderCageFrame
 
static int[] waterStriderCageFrameCounter
 
static int[] seahorseCageFrame
 
static int[] seahorseCageFrameCounter
 
static int[,] slugCageFrame
 
static int[,] slugCageFrameCounter
 
static int[] owlCageFrame
 
static int[] owlCageFrameCounter
 
static int[] grasshopperCageFrame
 
static int[] grasshopperCageFrameCounter
 
static bool[] tileSand
 
static bool[] tileFlame
 
static bool[] npcCatchable
 
static int[] tileFrame
 
static int[] tileFrameCounter
 
static byte[] wallFrame
 
static byte[] wallFrameCounter
 
static int[] backgroundWidth
 
static int[] backgroundHeight
 
static DrawAnimation[] itemAnimations
 
static List< int > itemAnimationsRegistered
 
static int[] anglerQuestItemNetIDs
 
static int[] displayWidth
 
static int[] displayHeight
 
static int[] npcFrameCount
 
const int MaxTimeout = 120
 
static string cUp
 
static string cLeft
 
static string cDown
 
static string cRight
 
static string cJump
 
static string cThrowItem
 
static string cHeal
 
static string cMana
 
static string cBuff
 
static string cHook
 
static string cTorch
 
static string cInv
 
static string cSmart
 
static string cMount
 
static string cFavoriteKey
 
static string cMapZoomIn
 
static string cMapZoomOut
 
static string cMapAlphaUp
 
static string cMapAlphaDown
 
static string cMapFull
 
static string cMapStyle
 
static Keys FavoriteKey
 
static string autoGenFileLocation
 
static bool fastForwardTimeToDusk
 
static int moondialCooldown
 
static GeneralIssueReporter IssueReporter
 
static bool PreventUpdatingTargets
 
static int AutoSaveWorldTime
 
static int menuSkip
 
static long TotalMemory
 
static int TotalMemoryUpdate
 
static int TotalMemotyFullClear
 
static List< INeedRenderTargetContentContentThatNeedsRenderTargets
 
static bool starGame
 
static int starsHit
 

Protected Member Functions

void CheckBunny ()
 
void OpenLegacySettings ()
 
void SetTitle ()
 
override void Initialize ()
 
override void LoadContent ()
 
IEnumerator LoadContent_Deferred ()
 
override void UnloadContent ()
 
override void Update (GameTime gameTime)
 
void DoUpdate (GameTime gameTime)
 
void DrawFPS ()
 
void DrawTiles (bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
 
void DrawGoreBehind ()
 
void DrawGore ()
 
void DrawProjectiles ()
 
void DrawPlayers_BehindNPCs ()
 
void DrawPlayers_AfterProjectiles ()
 
void DrawElderEye (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 worldPosition, float opacity, float scale, int frameNumber, Microsoft.Xna.Framework.Graphics.Color passedColor)
 
void DrawNPCs (bool behindTiles=false)
 
void DrawNPCCheckAlt (NPC n)
 
void DrawNPC (int iNPCIndex, bool behindTiles, LightMap lightMap, ref Rectangle lightRegion)
 
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 CacheNPCDraws ()
 
void CacheProjDraws ()
 
void DrawCachedNPCs (List< int > npcCache, bool behindTiles)
 
void DrawCachedProjs (List< int > projCache, bool startSpriteBatch=true)
 
void DrawSuperSpecialProjectiles (List< int > projCache, bool startSpriteBatch=true)
 
void SortDrawCacheWorms ()
 
void DrawWoF ()
 
void DrawItem (Item item, int whoami)
 
void DrawRain ()
 
void DrawDust ()
 
void DrawNPCHousesInWorld ()
 
void DrawPlayerChat ()
 
void GUIBarsDrawInner ()
 
void GUIHotbarDrawInner ()
 
void DrawInterface (GameTime gameTime)
 
void QuitGame ()
 
void DrawMenu (GameTime gameTime)
 
void DrawSplash (GameTime gameTime)
 
void DrawUnderworldBackground (bool flat)
 
void DrawBackground ()
 
void OldDrawBackground ()
 
void RenderBackground ()
 
void RenderTiles ()
 
void RenderTiles2 ()
 
void RenderWater ()
 
void DrawLiquid (bool bg=false, int Style=0, float Alpha=1f, bool drawSinglePassLiquids=true)
 
bool FullTile (int x, int y)
 
void DrawBlack (bool force=false)
 
void RenderBlack ()
 
void DrawWalls ()
 
void RenderWalls ()
 
void ReleaseTargets ()
 
void InitTargets ()
 
void EnsureRenderTargetContent ()
 
void InitTargets (int width, int height)
 
void DrawWires ()
 
void DrawSurfaceBG ()
 
override void Draw (GameTime gameTime)
 
virtual void Exit ()
 

Protected Attributes

List< Tuple< int, int, ushort > > DrawWiresSpecialTiles
 

Package Functions

void Run ()
 
void Begin ()
 
void Tick (float deltaTime)
 

Static Package Functions

static void UpdateCreativeGameModeOverride ()
 

Properties

static bool flushLighting [get, set]
 
static MinimapFrame ActiveMinimapFrame [get, set]
 
static IPlayerResourcesDisplaySet ActivePlayerResourcesSet [get, set]
 
static int mapDelay [get, set]
 
static bool SettingsUnlock_WorldEvil [get, set]
 
static bool SettingsEnabled_MinersWobble [get, set]
 
static bool SettingBlockGamepadsEntirely [get, set]
 
static bool SettingDontScaleMainMenuUp [get, set]
 
static bool SettingsEnabled_OpaqueBoxBehindTooltips [get, set]
 
static int tooltipTime [get, set]
 
static int inventoryTooltipTime [get, set]
 
static bool SettingMusicReplayDelayEnabled [get, set]
 
static bool HidePassword [get, set]
 
static bool ReversedUpDownArmorSetBonuses [get, set]
 
static bool MouseShowBuildingGrid [get, set]
 
static float MouseBuildingGridAlpha [get, set]
 
static Terraria.Graphics.Camera Camera [get, set]
 
static string _savePath [get, set]
 
static string _oldSavePath [get, set]
 
static FavoritesFile LocalFavoriteData [get, set]
 
static FileMetadata MapFileMetadata [get, set]
 
static BigProgressBarSystem BigBossProgressBar [get, set]
 
float hellBlackBoxBottom [get, set]
 
int[] backTexture [get, set]
 
int[] oldBackTexture [get, set]
 
Microsoft.Xna.Framework.Graphics.Texture2D[] backTextureValues [get, set]
 
Microsoft.Xna.Framework.Graphics.Texture2D[] oldBackTextureValues [get, set]
 
static WorldSections sectionManager [get, set]
 
static int WaveQuality [get, set]
 
static bool UseStormEffects [get, set]
 
static bool UseHeatDistortion [get, set]
 
static Microsoft.Xna.Framework.Vector2 CurrentPan [get, set]
 
static float sunCircle [get, set]
 
static int BlackFadeIn [get, set]
 
static int undergroundBackground [get, set]
 
static int oldUndergroundBackground [get, set]
 
static bool renderNow [get, set]
 
static int mouseX [get, set]
 
static int mouseY [get, set]
 
static int worldMouseX [get, set]
 
static int worldMouseY [get, set]
 
static int lastMouseX [get, set]
 
static int lastMouseY [get, set]
 
static bool mouseLeft [get, set]
 
static bool mouseRight [get, set]
 
static bool worldMouseLeft [get, set]
 
static bool worldMouseLeftRelease [get, set]
 
static bool worldMouseRight [get, set]
 
static bool worldMouseRightRelease [get, set]
 
static bool isMouseLeftConsumedByUI [get, set]
 
static bool DisableIntenseVisualEffects [get, set]
 
static bool hairWindow [get, set]
 
static bool clothesWindow [get, set]
 
static bool ingameOptionsWindow [get, set]
 
static bool inFancyUI [get, set]
 
static byte gFade [get, set]
 
static float gFader [get, set]
 
static byte gFadeDir [get, set]
 
static bool render [get, set]
 
static int qaStyle [get, set]
 
static bool BackgroundEnabled [get, set]
 
static int instantBGTransitionCounter [get, set]
 
static int bgDelay [get, set]
 
static int bgStyle [get, set]
 
static float[] bgAlphaFrontLayer [get, set]
 
static float[] bgAlphaFarBackLayer [get, set]
 
static int[] bgFrame [get, set]
 
static int[] bgFrameCounter [get, set]
 
static bool refreshMap [get, set]
 
static int loadMapLastX [get, set]
 
static bool loadMapLock [get, set]
 
static bool loadMap [get, set]
 
static bool loadMapSections [get, set]
 
static bool mapReady [get, set]
 
static bool updateMap [get, set]
 
static int mapMinX [get, set]
 
static int mapMaxX [get, set]
 
static int mapMinY [get, set]
 
static int mapMaxY [get, set]
 
static int mapTimeMax [get, set]
 
static int mapTime [get, set]
 
static bool clearMap [get, set]
 
static bool mapInit [get, set]
 
static bool mapEnabled [get, set]
 
static int mapStyle [get, set]
 
static float grabMapX [get, set]
 
static float grabMapY [get, set]
 
static float grabMapInitialX [get, set]
 
static float grabMapInitialY [get, set]
 
static bool grabMapInProgress [get, set]
 
static int miniMapX [get, set]
 
static int miniMapY [get, set]
 
static int miniMapWidth [get, set]
 
static int miniMapHeight [get, set]
 
static float mapMinimapScale [get, set]
 
static float mapMinimapAlpha [get, set]
 
static float mapOverlayScale [get, set]
 
static float mapOverlayAlpha [get, set]
 
static bool mapFullscreen [get, set]
 
static bool resetMapFull [get, set]
 
static int resetMapFullCharacter [get, set]
 
static float mapFullscreenScale [get, set]
 
static Microsoft.Xna.Framework.Vector2 mapFullscreenPos [get, set]
 
static int renderCount [get, set]
 
static Stopwatch saveTime [get, set]
 
static float gfxQuality [get, set]
 
static float gfxRate [get, set]
 
static int teamCooldown [get, set]
 
static bool showFrameRate [get, set]
 
static bool drewLava [get, set]
 
static int numActiveLiquidAlpha [get, set]
 
static int[] activeLiquidAlpha [get, set]
 
static float[] liquidAlpha [get, set]
 
static int waterStyle [get, set]
 
static bool TOWMusicUnlocked [get, set]
 
static float caveParallax [get, set]
 
static bool showItemText [get, set]
 
static bool autoSave [get, set]
 
static int background [get, set]
 
static int caveBackground [get, set]
 
static float ugBackTransition [get, set]
 
static Main.AutoPauseMode autoPause [get, set]
 
static bool placementPreview [get, set]
 
static SceneMetrics SceneMetrics [get, set]
 
static bool SettingsEnabled_TilesSwayInWind [get, set]
 
static float GraveyardVisualIntensity [get, set]
 
static float musicVolume [get, set]
 
static float ambientVolume [get, set]
 
static float soundVolume [get, set]
 
static WorldMap Map [get, set]
 
static Rain[] rain [get, set]
 
static PopupText[] popupText [get, set]
 
static float startScreenYOffset [get, set]
 
static float targetScreenYOffset [get, set]
 
static float screenYOffset [get, set]
 
static float cameraOffset [get, set]
 
static Microsoft.Xna.Framework.Vector2 screenPosition [get, set]
 
static Microsoft.Xna.Framework.Vector2 screenLastPosition [get, set]
 
static int screenWidth [get, set]
 
static int screenHeight [get, set]
 
static bool mouseLeftRelease [get, set]
 
static bool mouseRightRelease [get, set]
 
static bool playerInventory [get, set]
 
static int stackSplit [get, set]
 
static bool preventStackSplitReset [get, set]
 
static int stackCounter [get, set]
 
static int stackDelay [get, set]
 
static int superFastStack [get, set]
 
static int timesTriedToFastStack [get, set]
 
static Item mouseItem [get, set]
 
static float mouseItemTime [get, set]
 
static Item[] mouseItemSource [get, set]
 
static int mouseItemSourceIndex [get, set]
 
static int mouseItemSourceContext [get, set]
 
static Item guideItem [get, set]
 
static Item reforgeItem [get, set]
 
static float inventoryScale [get, set]
 
static Point rulerLineDisplayValues [get, set]
 
static int[] availableRecipe [get, set]
 
static int lastRecipeUpdateId [get, set]
 
static int numAvailableRecipes [get, set]
 
static int focusRecipe [get, set]
 
static int myPlayer [get, set]
 
static int spawnTileX [get, set]
 
static int spawnTileY [get, set]
 
static bool npcChatRelease [get, set]
 
static bool editSign [get, set]
 
static bool editChest [get, set]
 
static bool blockInput [get, set]
 
static string blockKey [get, set]
 
static string defaultChestName [get, set]
 
static string npcChatText [get, set]
 
static bool npcChatFocus1 [get, set]
 
static bool npcChatFocus2 [get, set]
 
static bool npcChatFocus3 [get, set]
 
static bool npcChatFocus4 [get, set]
 
static int oldNPCShop [get, set]
 
static int npcShop [get, set]
 
static int npcChatCornerItem [get, set]
 
Chest[] shop [get, set]
 
static ItemShopSellbackHelper shopSellbackHelper [get, set]
 
static bool anglerQuestFinished [get, set]
 
static GolfState LocalGolfState [get, set]
 
static DroneCameraTracker DroneCameraTracker [get, set]
 
static bool InGuideCraftMenu [get, set]
 
static bool InReforgeMenu [get, set]
 
static unsafe bool gameMenu [get, set]
 
static List< PlayerFileDataPlayerList [get, set]
 
static PlayerFileData ActivePlayerFileData [get, set]
 
static Player PendingPlayer [get, set]
 
static string WorldPath [get, set]
 
static string PlayerPath [get, set]
 
static string OldPlayerPath [get, set]
 
static string OldWorldPath [get, set]
 
static Preferences _configuration [get, set]
 
static Preferences Configuration [get, set]
 
static Preferences _inputProfiles [get, set]
 
static Preferences InputProfiles [get, set]
 
static bool invasionProgressNearInvasion [get, set]
 
static int invasionProgressMode [get, set]
 
static bool cSmartCursorModeIsToggleAndNotHold [get, set]
 
static bool SmartCursorShowing [get, set]
 
static int SmartCursorX [get, set]
 
static int SmartCursorY [get, set]
 
static bool SmartInteractShowingGenuine [get, set]
 
static bool SmartInteractShowingFake [get, set]
 
static int SmartInteractX [get, set]
 
static int SmartInteractY [get, set]
 
static int SmartInteractNPC [get, set]
 
static int SmartInteractProj [get, set]
 
static bool SmartInteractPotionOfReturn [get, set]
 
static Dictionary< int, bool > SmartInteractTileCoords [get, set]
 
static Dictionary< int, bool > SmartInteractTileCoordsSelected [get, set]
 
static int TileInteractionLX [get, set]
 
static int TileInteractionLY [get, set]
 
static int TileInteractionHX [get, set]
 
static int TileInteractionHY [get, set]
 
static int cursorOverride [get, set]
 
static int signHover [get, set]
 
static int lastSignHover [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color mouseColor [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color ControllerColor [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color ControllerBorderColor [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color MouseBorderColor [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color cursorColor [get, set]
 
static int cursorColorDirection [get, set]
 
static float cursorAlpha [get, set]
 
static float cursorScale [get, set]
 
static bool signBubble [get, set]
 
static int signX [get, set]
 
static int signY [get, set]
 
static bool SettingsSavePending [get, set]
 
static int menuMode [get, set]
 
static bool Quitting [get, set]
 
static int overloadedMousePositionX [get, set]
 
static int overloadedMousePositionY [get, set]
 
static bool HoveringOverAnNPC [get, set]
 
static int rare [get, set]
 
static int hairStart [get, set]
 
static int oldHairStyle [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color oldHairColor [get, set]
 
static int selClothes [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color[] oldClothesColor [get, set]
 
static int oldClothesStyle [get, set]
 
static int interactedDresserTopLeftX [get, set]
 
static int interactedDresserTopLeftY [get, set]
 
static Player dresserInterfaceDummy [get, set]
 
static bool _MouseOversCanClear [get, set]
 
static Microsoft.Xna.Framework.Vector2 _itemIconCacheScreenPosition [get, set]
 
static int _itemIconCacheSelectedItemID [get, set]
 
static int _itemIconCacheTime [get, set]
 
static Microsoft.Xna.Framework.Graphics.Color selColor [get, set]
 
static int bgScroll [get, set]
 
static float hBar [get, set]
 
static float sBar [get, set]
 
static float lBar [get, set]
 
static float aBar [get, set]
 
static float GamepadCursorAlpha [get, set]
 
static bool CanUpdateGameplay [get, set, private set]
 
static Microsoft.Xna.Framework.Vector2 ViewPosition [get, set]
 
static Microsoft.Xna.Framework.Vector2 ViewSize [get, set]
 
static Matrix CurrentWantedZoomMatrix [get, set]
 
static Matrix UIScaleMatrix [get, set]
 
static float UIScaleWanted [get, set]
 
static float UIScale [get, set]
 
float UIScaleMax [get, set]
 
static bool RenderTargetsRequired [get, set]
 
static bool IsItRaining [get, set]
 
static bool ThickMouse [get, set]
 
static bool GamepadDisableCursorItemIcon [get, set]
 
static string SavePath [get, set]
 
static string OldSavePath [get, set]
 
static GameModeData GameModeInfo [get, set]
 
static int GameMode [get, set]
 
static bool specialSeedWorld [get, set]
 
static bool masterMode [get, set]
 
static bool expertMode [get, set]
 
static AchievementManager Achievements [get, set]
 
WaterfallManager waterfallManager [get, set]
 
static ulong UnpausedUpdateSeed [get, set, private set]
 
static Effect screenShader [get, set]
 
static Effect pixelShader [get, set]
 
static Effect vertexPixelShader [get, set]
 
static Effect tileShader [get, set]
 
static Matrix Transform [get, set]
 
static Microsoft.Xna.Framework.Vector2 MouseScreen [get, set]
 
static Microsoft.Xna.Framework.Vector2 MouseWorld [get, set]
 
static Microsoft.Xna.Framework.Vector2 MouseWorld2 [get, set]
 
static INetDiagnosticsUI ActiveNetDiagnosticsUI [get, set]
 
int mouseNPCIndex [get, set]
 
int mouseNPCType [get, set]
 
static Action OnEnginePreload [set]
 
static Action< Microsoft.Xna.Framework.Vector2OnResolutionChanged [set]
 
static Action OnEngineLoad [set]
 
static uint GameUpdateCount [get, set]
 
static Action OnTickForThirdPartySoftwareOnly [set]
 
static Action OnTickForInternalCodeOnly [set]
 
static Action< GameTimeOnPreDraw [set]
 
static Action< GameTimeOnPostDraw [set]
 
static Action< Microsoft.Xna.Framework.Vector2, float > OnPostFullscreenMapDraw [set]
 
static Action OnRenderTargetsReleased [set]
 
static ResolutionChangeEvent OnRenderTargetsInitialized [set]
 
int firstTileX [get, set]
 
int lastTileX [get, set]
 
int firstTileY [get, set]
 
int lastTileY [get, set]
 
static SamplerState DefaultSamplerState [get, set]
 
static unsafe int UnderworldLayer [get, set]
 
static float WindForVisuals [get, set]
 
static Player LocalPlayer [get, set]
 
static CreativeUnlocksTracker LocalPlayerCreativeTracker [get, set]
 
static string playerPathName [get, set]
 
static string worldPathName [get, set]
 
int currentNPCShowingChatBubble [get, set]
 
static bool NetClientOnly [get, set]
 
static bool NetClient [get, set]
 
static bool LogicHost [get, set]
 
static bool NetHostOnly [get, set]
 
static bool LogicClient [get, set]
 
static unsafe bool NetHost [get, set]
 
static bool NetClientHost [get, set]
 
static bool SmartCursorIsUsed [get, set]
 
static bool SmartCursorWanted [get, set]
 
static bool HasSmartInteractTarget [get, set]
 
static bool Setting_Target60FPS [get, set]
 
static bool IsItAHappyWindyDay [get, set]
 
static bool IsItStorming [get, set]
 
static bool WindyEnoughForKiteDrops [get, set]
 
static bool HasKeyboard [get, set]
 
static bool KeyboardIsActive [get, set]
 
static bool ShouldPVPDraw [get, set]
 
int RecommendedEquipmentAreaPushUp [get, set]
 
static bool ShouldDrawInfoIconsHorizontally [get, set]
 
static bool CanShowInfoAccs [get, set]
 
static bool HasHWCursor [get, set]
 
static Point ScreenSize [get, set]
 
ThreadedRenderManager.BatchProcessCallback ProcessBatchFinishedCallback [get, set]
 
static bool IsGraphicsDeviceAvailable [get, set]
 
class< LoadContent_DeferredIDisposable [set]
 
class< LoadMusic_InStepsIDisposable [set]
 
ContentManager Content [get, set]
 
GraphicsDevice GraphicsDevice [get, set]
 
bool IsActive [get, set]
 
GameComponentCollection Components [get, set]
 
GameWindow Window [get, set]
 
GameServiceContainer Services [get, set]
 

Private Member Functions

static int RemoveMenu (IntPtr hMenu, int nPosition, int wFlags)
 
static IntPtr GetSystemMenu (IntPtr hWnd, bool bRevert)
 
static int GetMenuItemCount (IntPtr hWnd)
 
void Initialize_AlmostEverything ()
 
void Initialize_Entities ()
 
void ClientInitialize ()
 
void OnceFailedLoadingAnAsset (string assetPath, Exception e)
 
void LoadContent_TryEnteringHiDef ()
 
void TickLoadProcess ()
 
IEnumerator LoadMusic_InSteps ()
 
void UpdateAudio_DecideOnTOWMusic ()
 
void UpdateAudio_DecideOnNewMusic ()
 
void UpdateWindyDayState ()
 
void DoDebugFunctions ()
 
void PreUpdateAllProjectiles ()
 
void PostUpdateAllProjectiles ()
 
void DoUpdateInWorld (Stopwatch sw)
 
void DoUpdate_HandleInput ()
 
void DoUpdate_AnimateWaterfalls ()
 
void DoUpdate_AnimateDiscoRGB ()
 
void MouseTextInner (Main.MouseTextCache info, bool worldMouse)
 
void MouseText_DrawItemTooltip (Main.MouseTextCache info, int rare, byte diff, int X, int Y)
 
void MouseText_DrawBuffTooltip (string cursorText, string buffString, ref int X, ref int Y)
 
void DrawTileEntities (bool solidLayer, bool overRenderTargets, bool intoRenderTargets)
 
void RefreshPlayerDrawOrder ()
 
void DrawProj_LightsBane (Projectile proj)
 
void DrawProj_NightsEdge (Projectile proj)
 
void DrawProj_Excalibur (Projectile proj)
 
void DrawProj_TheHorsemansBlade (Projectile proj)
 
void DrawProj_TrueExcalibur (Projectile proj)
 
void DrawProj_TrueNightsEdge (Projectile proj)
 
void DrawProj_TerraBlade2 (Projectile proj)
 
void DrawProj_TerraBlade2Shot (Projectile proj)
 
void DrawContinuousTrail (Projectile proj)
 
void DrawProj_StardustGuardianPunching (Projectile proj)
 
void DrawProj_PiercingStarlight (Projectile proj)
 
void DrawProj_FairyQueenLance (Projectile proj)
 
void DrawProj_FairyQueenRangedItemShot (Projectile proj)
 
void DrawProj_EmpressBlade (Projectile proj, float hueOverride)
 
void DrawProj_CoolWhipMinion (Projectile proj)
 
void DrawMurderAurora (Projectile proj)
 
void DrawWhip (Projectile proj)
 
void DrawTwinsPet (Projectile proj)
 
void DrawMultisegmentPet (Projectile proj)
 
void DrawKite (Projectile proj)
 
void DrawProjWithStarryTrail (Projectile proj, Microsoft.Xna.Framework.Graphics.Color projectileColor, SpriteEffects dir)
 
void SortBabyBirdProjectiles (List< int > list)
 
void SortStardustDragonProjectiles (List< int > list)
 
void DrawItem_GetBasics (Item item, int slot, out Microsoft.Xna.Framework.Graphics.Texture2D texture, out Rectangle frame, out Rectangle glowmaskFrame)
 
void DrawItem_AnimateSlot (int slot, int gameFramesPerSpriteFrame, int spriteFramesAmount)
 
void OpenShop (int shopIndex)
 
int NPCBannerSorter (int npcIndex1, int npcIndex2)
 
void HoverOverNPCs (Rectangle mouseRectangle)
 
void SetupDrawInterfaceLayers ()
 
void DrawInterface_40_InteractItemIcon ()
 
bool TryGetAmmo (Item sourceItem, out Item ammoItem, out Microsoft.Xna.Framework.Graphics.Color ammoColor, out float ammoScale, out Microsoft.Xna.Framework.Vector2 ammoOffset)
 
void DrawInterface_39_MouseOver ()
 
void DrawInterface_38_MouseCarriedObject ()
 
void DrawInterface_34_PlayerChat ()
 
void DrawInterface_33_MouseText ()
 
void DrawInterface_InstrumentMouseText ()
 
void DrawInterface_31_BuilderAccToggles ()
 
void DrawInterface_28_InfoAccs ()
 
void HackForGamepadInputHell ()
 
void DrawInterface_27_Inventory ()
 
void DrawInterface_25_ResourceBars ()
 
void DrawInterface_23_NPCSignsDialog ()
 
void DrawInterface_22_DresserWindow ()
 
void DrawInterface_21_HairWindow ()
 
void DrawInterface_16_MapOrMinimap ()
 
void DrawInterface_14_EntityHealthBars ()
 
void DrawInterface_Healthbar_Worm (NPC head, int tailID, float scale)
 
bool DrawInterface_11_IngameOptionsMenu ()
 
void DrawInterface_7_TownNPCHouseBanners ()
 
bool DrawVirtualControls ()
 
void DrawInterface_WorldMouse ()
 
void DrawInterface_WorldMouseOver ()
 
void DrawInterface_30_Hotbar ()
 
void OnCharacterNamed (string text)
 
void OnSeedSelected (string text)
 
void OnWorldNamed (string text)
 
string SanitizePathArgument (string argumentName, string argumentPath)
 
void PreDrawMenu (out Point screenSizeCache, out Point screenSizeCacheAfterScaling)
 
void UnloadSplashScreenTextures ()
 
void DrawSplash_LoadingFlower (Microsoft.Xna.Framework.Graphics.Color splashColor)
 
void DrawSplash_LoadingStar (Microsoft.Xna.Framework.Graphics.Color splashColor)
 
void ProcessBatchFinished (int index)
 
void WaitBackgroundDrawThreads (int numberOfThreads)
 
void DrawMapIcons_PotionOfReturnAppearAfterUsePosition (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, ref string mouseTextString)
 
void DrawMapIcons_PotionOfReturnHomePosition (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, ref string mouseTextString)
 
void DrawMapIcons_LastGolfballHit (SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, ref string mouseTextString)
 
void DrawWaters (bool isBackground=false)
 
void DrawSurfaceBG_DrawBackMountainsLayer (int bgTextureIndex)
 
int DrawSurfaceBG_GetLayerYOffset (int bgTextureIndex)
 
float GetForestToForestBackgroundLerperValue ()
 
void DrawSurfaceBG_BackMountainsStep1 (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
 
void DrawSurfaceBG_BackMountainsStep2 (int pushBGTopHack)
 
void UpdateOceanWaterLineForAmbience ()
 
void DrawSurfaceBG_Mushroom (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawSurfaceBG_Crimson (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawSurfaceBG_Snow (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void SetBackgroundOffsets (int backgroundID, double backgroundTopMagicNumber, int pushBGTopHack)
 
void DrawSurfaceBG_Hallow (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawSurfaceBG_GoodEvilDesert (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
 
void DrawSurfaceBG_Jungle (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawSurfaceBG_Desert (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawSurfaceBG_DrawChangeOverlay (int backgroundAreaId)
 
void DrawSurfaceBG_Corrupt (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
RectangleGetBackgroundRect (int backgroundTextureIndex)
 
uint GetBackgroundCounter ()
 
void DrawSurfaceBG_Forest (double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
 
void DrawBackgroundBlackFill ()
 
void GraphicsDeviceLost (object sender, EventArgs evt)
 
void DoDraw (GameTime gameTime)
 
void DrawSunAndMoon (Main.SceneArea sceneArea, Microsoft.Xna.Framework.Graphics.Color moonColor, Microsoft.Xna.Framework.Graphics.Color sunColor, float tempMushroomInfluence)
 
void DrawStarsInBackground (Main.SceneArea sceneArea, bool artificial)
 
void DrawStarsInForeground (Main.SceneArea sceneArea)
 
void DrawStar (ref Main.SceneArea sceneArea, float starOpacity, Microsoft.Xna.Framework.Graphics.Color bgColorForStars, int i, Star theStar, bool artificial, bool foreground=false)
 
void Debug_PrettifyMap ()
 
void DrawPlayerChatBubbles ()
 
void DrawRainInMenu ()
 
void DoDraw_WallsTilesNPCs ()
 
void DoDraw_Waterfalls ()
 
void DoDraw_Tiles_Solid ()
 
void DoDraw_Tiles_NonSolid ()
 
void DoDraw_DrawNPCsOverTiles ()
 
void DoDraw_DrawNPCsBehindTiles ()
 
void DrawBackGore ()
 
void DoDraw_WallsAndBlacks ()
 
void DoLightTiles ()
 
void DrawBG ()
 
void UpdateBGVisibility_FrontLayer (int? targetBiomeOverride, float? transitionAmountOverride)
 
void UpdateBGVisibility_BackLayer (int? targetBiomeOverride, float? transitionAmountOverride)
 
void DrawBG_ModifyBGFarBackLayerAlpha (int desiredBG, int? desiredBG2=null, float? transitionAmountOverride=null)
 
bool< SetupDrawInterfaceLayersb__2162_9 ()
 
bool< SetupDrawInterfaceLayersb__2162_11 ()
 
bool< SetupDrawInterfaceLayersb__2162_12 ()
 
bool< SetupDrawInterfaceLayersb__2162_15 ()
 
bool< SetupDrawInterfaceLayersb__2162_17 ()
 
bool< SetupDrawInterfaceLayersb__2162_21 ()
 
bool< SetupDrawInterfaceLayersb__2162_23 ()
 
bool< SetupDrawInterfaceLayersb__2162_24 ()
 
bool< SetupDrawInterfaceLayersb__2162_25 ()
 
bool< SetupDrawInterfaceLayersb__2162_26 ()
 
bool< SetupDrawInterfaceLayersb__2162_27 ()
 
bool< SetupDrawInterfaceLayersb__2162_28 ()
 
bool< SetupDrawInterfaceLayersb__2162_29 ()
 
bool< SetupDrawInterfaceLayersb__2162_30 ()
 
bool< SetupDrawInterfaceLayersb__2162_31 ()
 
bool< SetupDrawInterfaceLayersb__2162_38 ()
 
bool< SetupDrawInterfaceLayersb__2162_39 ()
 

Static Private Member Functions

static void SetGraphicsProfileInternal ()
 
static void TrySupporting8K ()
 
static int WorldListSortMethod (WorldFileData data1, WorldFileData data2)
 
static int PlayerListSortMethod (PlayerFileData data1, PlayerFileData data2)
 
static void TryPickingDefaultUIScale (float displayHeight)
 
static void WriteFancyWorldLoadErrorToConsole ()
 
static string ReadLineInput ()
 
static void SetTileValue ()
 
static void ResetGameCounter ()
 
static void Initialize_Items ()
 
static void Initialize_TileAndNPCData2 ()
 
static void AddEchoFurnitureTile (int tileId)
 
static void Initialize_TileAndNPCData1 ()
 
static void CacheSupportedDisplaySizes ()
 
static void PostContentLoadInitialize ()
 
static void UpdateOwlCageFrames ()
 
static void UpdateDragonflyJarFrames ()
 
static void UpdateOwlCageFrame (int[] frames, int[] frameCounters, int style)
 
static void UpdateDragonflyJarFrame (int[,] frames, int[,] frameCounters, int style, int variation)
 
static void ConsumeAllMainThreadActions ()
 
static void TryPlayingCreditsRoll ()
 
static bool CanPauseGame ()
 
static void DoUpdate_WhilePaused ()
 
static void UpdateUIStates (GameTime gameTime)
 
static void TrySyncingMyPlayer ()
 
static void TrySyncingItemArray (ref bool syncedAnyInventoryContents, Item[] my, Item[] other, int slotOffset)
 
static void CheckBossIndexes ()
 
static void UpdateOldNPCShop ()
 
static void DoUpdate_AnimateCursorColors ()
 
static void DoUpdate_AnimateTileGlows ()
 
static void DoUpdate_Enter_ToggleChat ()
 
static void DoUpdate_HandleChat ()
 
static void DoUpdate_AltEnter_ToggleFullscreen ()
 
static void DoUpdate_F11_ToggleUI ()
 
static void DoUpdate_F7_ToggleGraphicsDiagnostics ()
 
static void DoUpdate_F8_ToggleNetDiagnostics ()
 
static void DoUpdate_F9_ToggleLighting ()
 
static void DoUpdate_F10_ToggleFPS ()
 
static void AnimateTiles ()
 
static void AnimateTiles_WeatherVane ()
 
static void DoUpdate_AnimateWalls ()
 
static void DoUpdate_AnimateVisualPlayerAura ()
 
static void DoUpdate_AnimateBackgrounds ()
 
static void DoUpdate_AnimateBackgrounds_UpdateForest (int bgIndex, int[] bgSet)
 
static void DoUpdate_AutoSave ()
 
static void UpdateSettingUnlocks ()
 
static void UpdateMenu ()
 
static void DrawNPCDirect_Deerclops (SpriteBatch mySpriteBatch, NPC rCurrentNPC, ref Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, ref Microsoft.Xna.Framework.Graphics.Color npcColor, ref Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
 
static void DrawNPCDirect_DeerclopsLeg (SpriteBatch mySpriteBatch, NPC rCurrentNPC, ref Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, ref Microsoft.Xna.Framework.Graphics.Color npcColor, ref Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
 
static void DrawNPCDirect_Faeling (SpriteBatch mySpriteBatch, NPC rCurrentNPC, ref Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, ref Microsoft.Xna.Framework.Graphics.Color npcColor, ref Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
 
static void DrawNPCDirect_HallowBoss (SpriteBatch mySpriteBatch, NPC rCurrentNPC, ref Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, ref Microsoft.Xna.Framework.Graphics.Color npcColor, ref Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
 
static void DrawNPCDirect_GetHallowBossArmFrame (NPC rCurrentNPC, out int armFrame_Count, out int armFrameToUseLeft, out int armFrameToUseRight)
 
static void DrawNPC_SlimeItem (NPC rCurrentNPC, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, float addedRotation)
 
static void DrawTrail (Projectile proj, Microsoft.Xna.Framework.Vector2 rotatableOffsetFromCenter, Microsoft.Xna.Framework.Graphics.Color baseColor)
 
static void DrawProj_Flamethrower (Projectile proj)
 
static void DrawProj_Spear (Projectile proj, ref Microsoft.Xna.Framework.Graphics.Color projectileColor, ref SpriteEffects dir)
 
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)
 
static void DrawProj_FlailChains (Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
 
static void DrawProj_FlailChains_Old (Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
 
static Microsoft.Xna.Framework.Graphics.Color TryApplyingPlayerStringColor (int playerStringColor, Microsoft.Xna.Framework.Graphics.Color stringColor)
 
static void DrawProj_FishingLine (Projectile proj, ref float polePosX, ref float polePosY, Microsoft.Xna.Framework.Vector2 mountedCenter)
 
static int TryInteractingWithVoidLens (Projectile proj)
 
static int TryInteractingWithMoneyTrough (Projectile proj)
 
static void TryInteractingWithMoneyTrough2 (Projectile proj)
 
static void DrawWOFBody ()
 
static void DrawWOFRopeToTheHungry (int i)
 
static void DrawWOFTongueToPlayer (int i)
 
static bool TryFreeingElderSlime (int npcIndex)
 
static void DrawNPCChatBubble (int i)
 
static void DrawInterface_Resources_Breath ()
 
static void DrawInterface_Resources_GolfPower ()
 
static void DrawInterface_GolfBallIndicator ()
 
static void DrawWallOfCopperShortswords ()
 
static void DrawWallOfBoulders ()
 
static void DrawInterface_41_InterfaceLogic4 ()
 
static void DrawPendingMouseText (bool worldMouse=false)
 
static void DrawInterface_37_DebugStuff ()
 
static void DrawInterface_35_YouDied ()
 
static void DrawInterface_32_GamepadRadialHotbars ()
 
static void DrawInterface_26_InterfaceLogic3 ()
 
static void DrawInterface_24_InterfaceLogic2 ()
 
static void DrawInterface_20_MultiplayerPlayerNames ()
 
static void DrawInterface_19_SignTileBubble ()
 
static void DrawInterface_18_DiagnoseVideo ()
 
static void DrawInterface_17_DiagnoseNet ()
 
static void DrawInterface_15_InvasionProgressBars ()
 
static void DrawInterface_13_AchievementCompletePopups ()
 
static bool DrawInterface_12_IngameFancyUI ()
 
static bool DrawInterface_8_CheckF11UIHideToggle ()
 
static bool DrawInterface_10_CheckCaptureManager ()
 
static void DrawInterface_9_WireSelection ()
 
static void DrawInterface_0_InterfaceLogic1 ()
 
static void DrawInterface_6_TileGridOption ()
 
static void DrawInterface_5_GamepadLockOn ()
 
static void DrawInterface_4_Ruler ()
 
static void DrawInterface_3_LaserRuler ()
 
static void DrawInterface_2_SmartCursorTargets ()
 
static void DrawInterface_1_1_DrawEmoteBubblesInWorld ()
 
static void DrawInterface_1_2_DrawEntityMarkersInWorld ()
 
static void MouseOversTryToClear ()
 
static void MouseOversClear ()
 
static void DrawSmartCursor ()
 
static void DrawSmartInteract ()
 
static void DrawVersionNumber (Microsoft.Xna.Framework.Graphics.Color menuColor, float upBump)
 
static void PostDrawMenu (Point screenSizeCache, Point screenSizeCacheAfterScaling)
 
static bool IsBorderlessDisplayAvailable ()
 
static void CycleClothingStyle (Player plr)
 
static bool IsValidPlayerStyle (Player plr)
 
static void CycleClothingStyle_Inner (Player plr)
 
static void DrawUnderworldBackgroudLayer (bool flat, Microsoft.Xna.Framework.Vector2 screenOffset, float pushUp, int layerTextureIndex)
 
static bool ShouldDrawBackgroundTileAt (int i, int j)
 
static void UpdateMinimapAnchors ()
 
static void DrawMapFullscreenBackground (Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
 
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 float DrawSurfaceBG_GetFogPower ()
 
static void CheckMonoliths ()
 
static void DrawItemTextPopups (float scaleTarget)
 
static void DoDraw_UpdateCameraPosition ()
 
static void ApplyColorOfTheSkiesToTiles ()
 
static void UpdateAtmosphereTransparencyToSkyColor ()
 
static void DrawNetplayStatusText ()
 
static void SetBackColor (Main.InfoToSetBackColor info, out Microsoft.Xna.Framework.Graphics.Color sunColor, out Microsoft.Xna.Framework.Graphics.Color moonColor)
 
static void ClampScreenPositionToWorld ()
 
static void UpdateInvasion ()
 
static void InvasionWarning ()
 
static void UpdateClient ()
 
static void CheckPlayerItemOwnership ()
 
static void CheckAssignItemOwnership ()
 
static void UpdateServer ()
 
static void ChangeRain ()
 
static void UpdateTime ()
 
static void HandleMeteorFall ()
 
static void UpdateSlimeRainWarning ()
 
static void UpdateTime_SpawnTownNPCs ()
 
static Main ()
 

Private Attributes

int splashCounter
 
bool _musicLoaded
 
bool _artLoaded
 
bool _begunMainAsyncLoad
 
string _cachedTitle
 
RenderTarget2D backWaterTarget
 
RenderTarget2D tileTarget
 
RenderTarget2D blackTarget
 
RenderTarget2D tile2Target
 
RenderTarget2D wallTarget
 
RenderTarget2D backgroundTarget
 
RenderTarget2D[,] mapTarget
 
RenderTarget2D mapSectionTexture
 
double bgParallax
 
int bgStartX
 
int bgLoops
 
int bgStartY
 
int bgLoopsY
 
int bgTopY
 
DateTime lastYield
 
IEnumerator _gameContentLoadProcess
 
int _musicReplayDelay
 
int lastMusicPlayed
 
Stopwatch _worldUpdateTimeTester
 
int _perfLastFrame
 
Microsoft.Xna.Framework.Vector2 lastCloudScreenPosition
 
float[] menuItemScale
 
int focusMenu
 
int selectedMenu
 
int selectedMenu2
 
AmbientWindSystem _ambientWindSys
 
List< Player_playersThatDrawBehindNPCs
 
List< Player_playersThatDrawAfterProjectiles
 
List< PlayerdrawPlayersPotion
 
List< DrawData_voidLensData
 
List< DrawData_voidLensDataSillouette
 
List< DrawData_voidLensDataSillouette2
 
FlameLashDrawer flameLashDrawer
 
MagicMissileDrawer magicMissileDrawer
 
FinalFractalHelper finalFractalHelper
 
RainbowRodDrawer rainbowRodDrawer
 
EmpressBladeDrawer empressBladeDrawer
 
List< int > _occupantsListToDrawNPCHouses
 
List< int > _npcsWithBannersToDraw
 
List< int > _npcTypesThatAlreadyDrewAHead
 
int[] _npcIndexWhoHoldsHeadIndex
 
bool _needToSetupDrawInterfaceLayers
 
List< GameInterfaceLayer_gameInterfaceLayers
 
byte instrumentMouseFixHack
 
int grabColorSlider
 
bool[] menuWide
 
bool _needsMenuUIRecalculation
 
float _splashFrameCount
 
bool quickSplash
 
Microsoft.Xna.Framework.Graphics.Color[] backgroundColorSlicesStatic
 
ThreadedRenderManager.BatchProcessCallback _processBatchFinishedCallback
 
ThreadedRenderManager _threadManager
 
float screenOff
 
float scAdj
 
float cTop
 
bool _isDrawingOrUpdating
 
float controllerSunGrabPositionX
 
float controllerSunGrabPositionY
 
class< LoadContent_Deferredd__1863: IEnumerator<object>
 
class< LoadContent_DeferredIEnumerator
 
class< LoadMusic_InStepsd__1866: IEnumerator<object>
 
class< LoadMusic_InStepsIEnumerator
 
GameComponentCollection _components
 
ContentManager content
 
GraphicsDevice graphicsDevice
 
long totalTicks
 
bool _active
 
DateTime _lastUpdate
 
DateTime _firstUpdate
 
TimeSpan _totalTime
 
bool _initialised
 
bool _uiHidden
 
bool _serverRunning
 
bool updateModeVariable
 
int updateCount
 
DateTime updateTimeStart
 
DateTime lastUpdateTime
 
int slowFrameCount
 
int oddFrameCount
 
bool highFrameRate
 

Static Private Attributes

static GameModeData _currentGameModeInfo
 
static Microsoft.Xna.Framework.Vector2 _lastPingMousePosition
 
static double _lastPingMouseDownTime
 
static Main.OnPlayerSelected _pendingCharacterSelect
 
static int toolTipDistance
 
static ulong _drawCycleCounter
 
static float cameraLerp
 
static int cameraLerpTimer
 
static int cameraLerpTimeToggle
 
static bool cameraGamePadLerp
 
static ConcurrentQueue< Action > _mainThreadActions
 
static uint _gameUpdateCount
 
static Main.WorldPreparationState _worldPreparationState
 
static int backSpaceCount
 
static float backSpaceRate
 
static string _playerPath
 
static string _oldPlayerPath
 
static string _oldWorldPath
 
static int _targetNetMode
 
static bool _hasPendingNetmodeChange
 
static bool shouldSetDefaultUIScale
 
static float newDefaultUIScale
 
static bool _target60FPS
 
static bool startFullscreen
 
static ? bool _overrideForExpertMode
 
static ? bool _overrideForMasterMode
 
static bool _isWaterfallMusicPlaying
 
static bool _isLavafallMusicPlaying
 
static DrKeyboard_Base _keyboard
 
static int _openedFrame
 
static int _maxCharaceters
 
static int[] specX
 
static int[] specY
 
static List< string > _requiredObjecsForCraftingText
 
static bool hidePVPIcons
 
static int lastMouseDrawItem
 
static int lastMouseDrawXOffset
 
static float lightningDecay
 
static float lightningSpeed
 
static int thunderDelay
 
static float backgroundLayerTransitionSpeed
 
static float bgScale
 
static int bgWidthScaled
 
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsBase
 
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsModified
 
static string _oldNetplayStatusText
 
static TextSnippet[] _netplayStatusTextSnippets
 
static bool _canShowMeteorFall
 
const string versionStringBecauseTheyreTheSame = "v1.4.4.9"
 
static bool< CanUpdateGameplayk__BackingField
 
static bool GameAskedToQuit
 
static Matrix _currentWantedZoomMatrix
 
static Matrix _uiScaleMatrix
 
static float _uiScaleWanted
 
static float _uiScaleUsed
 
static GameNotificationType _flashNotificationType
 
static ulong< UnpausedUpdateSeedk__BackingField
 
static INetDiagnosticsUI _activeNetDiagnosticsUI
 
const bool USE_ASYNC_LOAD = true
 
static bool IsEnginePreloaded
 
static bool IsEngineLoaded
 
const int MF_BYPOSITION = 1024
 
static Process tServer
 
const double slimeRainMaxTime = 54000.0
 
const double slimeRainMinTime = 32400.0
 
const double slimeRainMaxDelay = 604800.0
 
const double slimeRainMinDelay = 302400.0
 
const double LeinforsBalanceRequestForSlimeRainChance = 1.0416666666666667
 
const double slimeRainChance = 450000.00000000006
 
static DrawAnimation _coinOnWorldAnimation
 
static DrawAnimation _monkStaffT3OnWorldAnimation
 
static int _renderTargetMaxSize
 
static GraphicsProfile _selectedGraphicsProfile
 
static GraphicsProfile _currentGraphicsProfile
 
static int maxLoadPlayer
 
static int maxLoadWorld
 
static bool TrialMode
 
static Stopwatch splashTimer
 
static int AnimateCritterPages
 
static float _minWind
 
static float _maxWind
 
static float _minRain
 
static float _maxRain
 
static int AutoSavePlayerTime
 
static List< char > removeChars
 
static int maxMenuItems
 
static bool _needsLanguageSelect
 
static Item tooltipPrefixComparisonItem
 
static Microsoft.Xna.Framework.Vector3 shimmerShine
 
static BlendState _multiplyBlendState
 
static StardewValleyAnimation _stardewAnimation
 
static UnifiedRandom _tempSeededRandom
 
static bool _preventCraftingBecauseClickWasUsedToChangeFocusedRecipe
 
static int _currentRecipeBeingCrafted
 
static GameTime _drawInterfaceGameTime
 
static bool _settingsButtonIsPushedToSide
 
static bool _cannotDrawAccessoriesHorizontally
 
static bool _blockFancyUIWhileLoading
 
static int _minimapTopRightAnchorOffsetTowardsLeft
 
static int _minimapTopRightAnchorOffsetTowardsBottom
 
static VertexColors _glowPaintColors
 
static string[] MonolithFilterNames
 
static string[] MonolithSkyNames
 
static Item clearItem
 
static int _lastFrameFPSCount
 
static bool _cameraPanHasBlackTransition
 
static TimeSpan FrameTickTime
 
static TimeSpan FrameClampTickTime
 
static TimeSpan FrameIgnoreTime
 
static GameTime RunGameTime
 
static DateTime lastFrameUpdate
 
static DateTime[] lastFrameTime
 
static DateTime[] frameTime
 
static int frameTimeCounter
 

Detailed Description

Definition at line 94 of file Main.cs.


The documentation for this class was generated from the following file: