Definition at line 52050 of file Main.cs.
52051 {
52053 {
52054 return;
52055 }
52058 for (
int i = 0;
i <= num;
i++)
52059 {
52060 for (
int j = 0;
j <=
num2;
j++)
52061 {
52063 {
52064 return;
52065 }
52066 }
52067 }
52069 {
52070 for (
int k = 0;
k <= num;
k++)
52071 {
52072 for (
int l = 0;
l <=
num2;
l++)
52073 {
52076 base.GraphicsDevice.SetRenderTarget(
null);
52077 }
52078 }
52080 }
52083 bool flag = false;
52091 {
52095 }
52097 {
52099 {
52100 case 0:
52103 break;
52104 case 1:
52107 break;
52108 }
52110 {
52112 }
52114 {
52116 }
52118 {
52120 }
52122 {
52124 }
52126 {
52128 {
52131 {
52132 continue;
52133 }
52136 {
52137 continue;
52138 }
52140 {
52142 }
52143 Map.ConsumeUpdate(
n,
num11);
52147 {
52150 if (flag)
52151 {
52153 base.GraphicsDevice.SetRenderTarget(
null);
52154 }
52155 flag = true;
52158 }
52166 {
52170 {
52171 break;
52172 }
52173 Map.ConsumeUpdate(
n,
num18);
52177 }
52179 {
52181 {
52185 {
52186 break;
52187 }
52190 }
52191 }
52192 spriteBatch.Draw(
TextureAssets.
MagicPixel.Value,
new Vector2(
num14,
num15),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0,
num17,
num16),
mapTileXnaColor, 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
52193 }
52194 }
52195 }
52197 {
52202 {
52203 continue;
52204 }
52209 {
52212 if (flag)
52213 {
52215 base.GraphicsDevice.SetRenderTarget(
null);
52216 }
52217 flag = true;
52220 }
52224 spriteBatch.Draw(
TextureAssets.
MagicPixel.Value,
new Vector2(
num24,
num25),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0, 1, 1),
mapTileXnaColor2, 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
52225 }
52226 MapHelper.numUpdateTile = 0;
52227 if (flag)
52228 {
52230 base.GraphicsDevice.SetRenderTarget(
null);
52231 }
52236 }
static Asset< Texture2D > MagicPixel
bool checkMap(int i, int j)
RenderTarget2D[,] mapTarget
static SpriteBatch spriteBatch
static int textureMaxHeight
static int textureMaxWidth
static short[] updateTileY
static Color GetMapTileXnaColor(ref MapTile tile)
static short[] updateTileX
References Terraria.Main.checkMap(), System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), Terraria.Main.clearMap, Terraria.Map.MapHelper.GetMapTileXnaColor(), System.Text.RegularExpressions.i, Microsoft.Xna.Framework.Graphics.RenderTarget2D.IsContentLost, Terraria.Main.loadMap, Terraria.Main.loadMapLastX, Terraria.Main.loadMapLock, Terraria.GameContent.TextureAssets.MagicPixel, Terraria.Main.mapEnabled, Terraria.Main.mapMaxX, Terraria.Main.mapMaxY, Terraria.Main.mapMinX, Terraria.Main.mapMinY, Terraria.Main.mapReady, Terraria.Main.mapTarget, Terraria.Main.maxMapUpdates, Terraria.Main.maxTilesX, Terraria.Main.maxTilesY, Terraria.Map.MapHelper.numUpdateTile, System.other, Terraria.Main.spriteBatch, Terraria.Main.textureMaxHeight, Terraria.Main.textureMaxWidth, Microsoft.Xna.Framework.Color.Transparent, Terraria.Map.MapHelper.updateTileX, and Terraria.Map.MapHelper.updateTileY.
Referenced by Terraria.Main.DoDraw().