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

void Terraria.Main.DrawSurfaceBG_GoodEvilDesert ( double backgroundTopMagicNumber,
float bgGlobalScaleMultiplier,
int pushBGTopHack )
inlineprivate

Definition at line 16373 of file Main.cs.

16374 {
16375 if (!true)
16376 {
16377 }
16378 long num = 18350L;
16379 int num2 = 32640;
16380 this.bgParallax = (double)num;
16381 if (num2 != 0)
16382 {
16383 return;
16384 }
16385 double num3 = this.bgParallax;
16387 double num4 = this.bgParallax;
16389 float num6 = this.scAdj;
16390 int num7 = 32768;
16391 bool gameMenu = Main.gameMenu;
16392 int screenWidth = Main.screenWidth;
16394 if (this.bgLoops == 0)
16395 {
16396 }
16397 if (num7 == 0)
16398 {
16399 }
16400 int num8 = this.bgStartX;
16401 int num9 = this.bgTopY;
16402 if (this.bgLoops == 0)
16403 {
16404 }
16405 int num10 = 32640;
16406 long num11 = 36700L;
16407 this.bgParallax = (double)num11;
16408 if (num10 != 0)
16409 {
16410 return;
16411 }
16412 double num12 = this.bgParallax;
16414 double num13 = this.bgParallax;
16416 long num15 = 32752L;
16417 float num16 = this.scAdj;
16418 int num17 = 32768;
16419 bool gameMenu2 = Main.gameMenu;
16420 int num18 = this.bgStartX;
16421 this.bgTopY = (int)num15;
16423 if (num18 == 0)
16424 {
16425 }
16426 int screenWidth2 = Main.screenWidth;
16428 if (this.bgLoops == 0)
16429 {
16430 }
16431 if (num17 == 0)
16432 {
16433 }
16434 int num19 = this.bgStartX;
16435 int num20 = this.bgTopY;
16436 int num21 = this.bgLoops;
16437 }
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
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, System.Math.IEEERemainder(), j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.scAdj, Terraria.Main.screenPosition, and Terraria.Main.screenWidth.