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_Snow()

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

Definition at line 16308 of file Main.cs.

16309 {
16310 int num = 1;
16311 if (num == 0)
16312 {
16313 }
16314 int num2 = 16288;
16315 float num3 = this.scAdj;
16316 int num4 = 32768;
16317 long num5 = -1717986919L;
16318 this.bgParallax = (double)num5;
16319 this.bgTopY = num;
16321 this.LoadBackground(pushBGTopHack);
16322 if (num2 == 0)
16323 {
16324 }
16325 double num6 = this.bgParallax;
16327 double num7 = this.bgParallax;
16328 double num8 = Math.IEEERemainder(num6, (double)0f);
16329 bool gameMenu = Main.gameMenu;
16330 this.bgTopY = num4;
16331 }
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
void LoadBackground(int i)
Definition Main.cs:15568
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
void SetBackgroundOffsets(int backgroundID, double backgroundTopMagicNumber, int pushBGTopHack)
Definition Main.cs:16334
static bool gameMenu
Definition Main.cs:2673

References Terraria.Main.bgParallax, Terraria.Main.gameMenu, System.Math.IEEERemainder(), j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.LoadBackground(), Terraria.Main.scAdj, Terraria.Main.screenPosition, and Terraria.Main.SetBackgroundOffsets().