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

◆ DrawSurfaceBG_Jungle()

void Terraria.Main.DrawSurfaceBG_Jungle ( double backgroundTopMagicNumber,
float bgGlobalScaleMultiplier,
int pushBGTopHack,
int[] bgTexIndexes )
inlineprivate

Definition at line 16440 of file Main.cs.

16441 {
16442 int num = 1;
16443 if (num == 0)
16444 {
16445 }
16446 long num2 = -1717986919L;
16447 int num3 = 32640;
16448 this.bgParallax = (double)num2;
16450 if (num == 0)
16451 {
16452 }
16453 double num4 = this.bgParallax;
16455 double num5 = this.bgParallax;
16456 if (num3 == 0)
16457 {
16458 }
16460 float num7 = this.scAdj;
16461 int num8 = 32768;
16463 bool gameMenu = Main.gameMenu;
16464 int num9 = this.bgTopY;
16465 this.bgTopY = num9;
16466 int screenWidth = Main.screenWidth;
16468 if (this.bgLoops == 0)
16469 {
16470 }
16471 if (num8 == 0)
16472 {
16473 }
16474 int num10 = this.bgTopY;
16475 long num11 = 0L;
16476 int num12 = this.bgStartX;
16477 Rectangle? backgroundRect = this.GetBackgroundRect((int)num11);
16478 int num13 = this.bgLoops;
16479 }
class f__AnonymousType0<< Count > j__TPar
static double IEEERemainder(double x, double y)
Definition Math.cs:56
float scAdj
Definition Main.cs:21283
double bgParallax
Definition Main.cs:20259
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
void SetBackgroundOffsets(int backgroundID, double backgroundTopMagicNumber, int pushBGTopHack)
Definition Main.cs:16334
Rectangle? GetBackgroundRect(int backgroundTextureIndex)
Definition Main.cs:16701
static int screenWidth
Definition Main.cs:2001
static bool gameMenu
Definition Main.cs:2673

References Terraria.Main.bgLoops, Terraria.Main.bgParallax, Terraria.Main.bgStartX, Terraria.Main.bgTopY, Terraria.Main.gameMenu, Terraria.Main.GetBackgroundRect(), System.Math.IEEERemainder(), j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.scAdj, Terraria.Main.screenPosition, Terraria.Main.screenWidth, and Terraria.Main.SetBackgroundOffsets().