terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawMagmaLayer()

void Terraria.Main.DrawMagmaLayer ( int bgStartX,
int bgStartY,
int bgLoops,
int bgLoopsY,
int diff,
Microsoft::Xna::Framework::Vector2 drawOffset )
inline

Definition at line 14398 of file Main.cs.

14399 {
14400 for (;;)
14401 {
14402 SpriteBatch backgroundSpriteBatch = this._currentBackgroundDrawInfo.Value.backgroundSpriteBatch;
14405 float gfxQuality = Main.gfxQuality;
14406 float gfxQuality2 = Main.gfxQuality;
14407 float gfxQuality3 = Main.gfxQuality;
14408 float gfxQuality4 = Main.gfxQuality;
14409 if (!true)
14410 {
14411 }
14413 int height = array.Height;
14414 float ugBackTransition = Main.ugBackTransition;
14415 if (height == 0)
14416 {
14417 }
14418 bool notRetro = Lighting.NotRetro;
14419 bool flag = Main.ShouldShowInvisibleWalls();
14421 Microsoft.Xna.Framework.Vector3[] colors = lightMap._colors;
14422 if (colors != null)
14423 {
14424 break;
14425 }
14426 if (colors == null)
14427 {
14428 }
14429 int <Height>k__BackingField = lightMap.<Height>k__BackingField;
14430 if (!true)
14431 {
14432 }
14433 if (<Height>k__BackingField == 0)
14434 {
14435 }
14436 if (!true)
14437 {
14438 goto Block_1;
14439 }
14440 }
14441 return;
14442 Block_1:
14443 if (!true)
14444 {
14445 }
14446 int num = 1;
14447 if (num == 0)
14448 {
14449 }
14450 if (num == 0)
14451 {
14452 }
14454 if (17279 == 0)
14455 {
14456 }
14457 }
class f__AnonymousType0<< Count > j__TPar
static float gfxQuality
Definition Main.cs:1539
static bool< CanUpdateGameplay > k__BackingField
Definition Main.cs:19939
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static float ugBackTransition
Definition Main.cs:1749
ThreadLocal< Main.BackgroundDrawInfo > _currentBackgroundDrawInfo
Definition Main.cs:21256

References Terraria.Main._currentBackgroundDrawInfo, System.array, Terraria.Main.gfxQuality, Microsoft.Xna.Framework.Graphics.Texture2D.Height, j__TPar, Terraria.Main.k__BackingField, Terraria.Lighting.NotRetro, Terraria.Main.screenPosition, Terraria.Main.ShouldShowInvisibleWalls(), Terraria.Main.ugBackTransition, and System.value.