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

◆ oldDrawWater()

void Terraria.Main.oldDrawWater ( bool bg = false,
int Style = 0,
float Alpha = 1f )
inline

Definition at line 15113 of file Main.cs.

15114 {
15115 if (!true)
15116 {
15117 }
15118 long num = 0L;
15119 if (!true)
15120 {
15121 }
15122 float gfxQuality = Main.gfxQuality;
15123 float gfxQuality2 = Main.gfxQuality;
15124 float gfxQuality3 = Main.gfxQuality;
15125 float gfxQuality4 = Main.gfxQuality;
15127 int num2 = 32640;
15128 int num3 = 32768;
15130 int screenWidth = Main.screenWidth;
15133 int screenHeight = Main.screenHeight;
15134 int num4 = 5;
15135 if (num2 == 0)
15136 {
15137 }
15138 if (num2 != 0)
15139 {
15140 return;
15141 }
15142 int num5 = 5;
15143 if (num4 == 0)
15144 {
15145 }
15146 if (num5 != 0)
15147 {
15148 return;
15149 }
15150 if (num4 == 0)
15151 {
15152 }
15153 if (num3 == 0 || num3 == 0)
15154 {
15155 }
15156 uint packedValue = Lighting.GetColor(num4, (int)num).PackedValue;
15157 long num6 = -16777215L;
15158 if (num6 == 0L)
15159 {
15160 }
15161 bool drewLava = Main.drewLava;
15162 if (num6 == 0L)
15163 {
15164 }
15166 int screenWidth2 = Main.screenWidth;
15167 if (num3 == 0)
15168 {
15169 }
15171 int screenHeight2 = Main.screenHeight;
15172 int screenWidth3 = Main.screenWidth;
15173 int screenHeight3 = Main.screenHeight;
15174 int screenWidth4 = Main.screenWidth;
15175 }
class f__AnonymousType0<< Count > j__TPar
static float gfxQuality
Definition Main.cs:1539
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static int screenHeight
Definition Main.cs:2015
static bool drewLava
Definition Main.cs:1595
static int screenWidth
Definition Main.cs:2001

References Terraria.Main.drewLava, Terraria.Lighting.GetColor(), Terraria.Main.gfxQuality, j__TPar, Microsoft.Xna.Framework.Input.L, Microsoft.Xna.Framework.Graphics.Color.PackedValue, Terraria.Main.screenHeight, Terraria.Main.screenPosition, and Terraria.Main.screenWidth.