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

◆ DrawRockLayer()

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

Definition at line 14462 of file Main.cs.

14463 {
14464 SpriteBatch backgroundSpriteBatch = this._currentBackgroundDrawInfo.Value.backgroundSpriteBatch;
14467 float gfxQuality = Main.gfxQuality;
14468 float gfxQuality2 = Main.gfxQuality;
14469 float gfxQuality3 = Main.gfxQuality;
14470 float gfxQuality4 = Main.gfxQuality;
14471 if (!true)
14472 {
14473 }
14478 int num = 255;
14479 value2.bgColors = num;
14483 float ugBackTransition = Main.ugBackTransition;
14484 if (num == 0)
14485 {
14486 }
14487 bool notRetro = Lighting.NotRetro;
14488 if (num == 0)
14489 {
14490 }
14491 bool flag = Main.ShouldShowInvisibleWalls();
14493 Microsoft.Xna.Framework.Vector3[] colors = lightMap._colors;
14494 if (colors != null)
14495 {
14496 return;
14497 }
14498 if (colors == null)
14499 {
14500 }
14501 int <Height>k__BackingField = lightMap.<Height>k__BackingField;
14502 if (!true)
14503 {
14504 }
14505 if (<Height>k__BackingField == 0)
14506 {
14507 }
14508 if (!true)
14509 {
14510 }
14511 if (!true)
14512 {
14513 }
14516 }
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, Microsoft.Xna.Framework.Graphics.Texture._sortingKey, System.array, Terraria.Main.gfxQuality, j__TPar, Terraria.Main.k__BackingField, Terraria.Lighting.NotRetro, Terraria.Main.screenPosition, Terraria.Main.ShouldShowInvisibleWalls(), Terraria.Main.ugBackTransition, and System.value.