Definition at line 59314 of file Main.cs.
59315 {
59319 {
59320 return;
59321 }
59322 int num = 21;
59324 {
59326 }
59328 {
59331 {
59333 }
59334 }
59336 {
59339 {
59341 }
59342 }
59350 bool flag = false;
59353 {
59355 {
59358 {
59359 vector3.Y *= -1f;
59360 }
59363 flag = true;
59365 }
59367 {
59369 {
59375 {
59377 }
59379 flag = true;
59380 }
59382 {
59385 {
59390 flag = true;
59391 }
59392 }
59393 }
59395 {
59397 {
59400 {
59403 {
59405 }
59406 else if (
player.inventory[
player.selectedItem].type == 1254)
59407 {
59409 }
59410 else if (
player.inventory[
player.selectedItem].type == 1299)
59411 {
59413 }
59415 {
59417 }
59421 {
59425 flag = true;
59426 }
59427 }
59428 }
59430 {
59434 {
59436 }
59438 {
59440 }
59442 {
59444 }
59446 {
59448 }
59451 flag = true;
59452 }
59454 {
59458 {
59460 }
59462 {
59464 }
59466 {
59468 }
59470 {
59472 }
59475 flag = true;
59476 }
59478 {
59482 {
59484 }
59486 {
59488 }
59490 {
59492 }
59494 {
59496 }
59499 flag = true;
59500 }
59502 {
59506 {
59508 }
59510 {
59512 }
59514 {
59516 }
59518 {
59520 }
59523 flag = true;
59524 }
59525 }
59526 }
59528 {
59529 CurrentPan.X = 0f;
59530 }
59532 {
59533 CurrentPan.Y = 0f;
59534 }
59539 {
59541 }
59545 {
59551 {
59555 NPC.ResetNetOffsets();
59558 {
59560 }
59562 Lighting.Clear();
59565 }
59566 }
59568 {
59573 {
59577 {
59579 NPC.ResetNetOffsets();
59582 {
59584 }
59586 Lighting.Clear();
59590 }
59591 }
59592 else if (
value3 > 0.0001f)
59593 {
59595 }
59596 }
59597 else if (
value3 > 0.0001f)
59598 {
59600 }
59602 screenPosition.Y += CurrentPan.Y *
Main.player[
myPlayer].gravDir;
59604 {
59606 {
59609 }
59610 else
59611 {
59613 }
59614 }
59619 }
static float SmoothStep(float value1, float value2, float amount)
static float Clamp(float value, float min, float max)
static double Abs(double value)
bool TryTracking(out Vector2 cameraPosition)
static GolfState LocalGolfState
static void ClampScreenPositionToWorld()
static Vector2 screenPosition
static Vector2 MouseScreen
static bool _cameraPanHasBlackTransition
static int instantBGTransitionCounter
static Vector2 CurrentPan
static bool cameraGamePadLerp
static bool SmartCursorIsUsed
static Player LocalPlayer
static float Distance(Vector2 value1, Vector2 value2)
static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount)
References Terraria.Main._cameraPanHasBlackTransition, System.Math.Abs(), Terraria.Main.BlackFadeIn, Terraria.Main.cameraGamePadLerp, Terraria.Main.cameraLerp, Terraria.Main.cameraX, Microsoft.Xna.Framework.MathHelper.Clamp(), Terraria.Main.ClampScreenPositionToWorld(), Terraria.Lighting.Clear(), Terraria.Main.CurrentPan, Microsoft.Xna.Framework.Vector2.Distance(), Terraria.Main.gameMenu, Terraria.GameInput.PlayerInput.GamepadThumbstickRight, Terraria.Main.instance, Terraria.Main.instantBGTransitionCounter, Microsoft.Xna.Framework.Vector2.Lerp(), Terraria.Main.LocalGolfState, Terraria.Main.LocalPlayer, Terraria.Main.mapTime, Terraria.Main.maxQ, Terraria.Main.mouseRight, Terraria.Main.MouseScreen, Terraria.Main.mouseX, Terraria.Main.mouseY, Terraria.Main.myPlayer, Terraria.Main.netMode, Microsoft.Xna.Framework.Vector2.Normalize(), Terraria.Main.player, Terraria.Main.renderNow, Terraria.NPC.ResetNetOffsets(), Terraria.Main.screenHeight, Terraria.Main.screenPosition, Terraria.Main.screenWidth, Terraria.Main.SmartCursorIsUsed, Microsoft.Xna.Framework.MathHelper.SmoothStep(), Terraria.DataStructures.DroneCameraTracker.TryTracking(), Terraria.GameInput.PlayerInput.UsingGamepad, System.value, Microsoft.Xna.Framework.Graphics.Vector2, Microsoft.Xna.Framework.Graphics.Vector3, and Microsoft.Xna.Framework.Vector2.Zero.
Referenced by Terraria.Main.DoDraw().