67109 {
67110
67111
67112
67113
67114
67115
67116
67117
67118
67119
67120
67121
67122
67123
67124
67125
67126
67127
67128
67129
67130
67131
67132
67133
67134
67135
67136
67137
67138
67139
67140
67141
67142
67143
67144
67145
67146
67147
67148
67149
67150
67151
67152
67153
67154
67155
67156
67157
67158
67159
67160
67161
67162
67163
67164
67165
67166
67167
67168
67169
67170
67171
67172
67173
67174
67177 if (!
asset.IsLoaded)
67178 {
67179 Assets.Request<Texture2D>(
asset.Name);
67180 }
67181 Texture2D value =
asset.Value;
67182 Vector2
vec =
new Vector2((
float)value.Width, (
float)value.Height) * 0.5f;
67184 Vector2
vector =
default(Vector2);
67186 Rectangle
value2 =
default(Rectangle);
67189 Vector2
zero = Vector2.Zero;
67192 {
67193 case 1:
67194 {
67196 ((Rectangle)(
ref value2)).
_002Ector((
num14 >> 1) * (value.Width >> 1),
num14 % 2 * (value.Height >> 1), value.Width >> 1, value.Height >> 1);
67199 break;
67200 }
67201 case 2:
67203 break;
67204 case 3:
67206 break;
67207 case 4:
67210 break;
67211 case 5:
67213 break;
67214 case 6:
67215 {
67217 ((Rectangle)(
ref value2)).
_002Ector(
num13 % 2 * (value.Width >> 1), (
num13 >> 1) * (value.Height >> 1), value.Width >> 1, value.Height >> 1);
67221 break;
67222 }
67223 case 7:
67224 {
67226 ((Rectangle)(
ref value2)).
_002Ector(
num12 % 2 * (value.Width >> 1), (
num12 >> 1) * (value.Height >> 1), value.Width >> 1, value.Height >> 1);
67231 break;
67232 }
67233 case 8:
67234 {
67236 ((Rectangle)(
ref value2)).
_002Ector(
num11 % 2 * (value.Width >> 1), (
num11 >> 1) * (value.Height >> 1), value.Width >> 1, value.Height >> 1);
67240 break;
67241 }
67242 case 9:
67245 break;
67246 case 10:
67247 zero.Y += 250
f *
num7;
67248 break;
67249 case 11:
67250 zero.Y += 100
f *
num7;
67251 break;
67252 case 12:
67253 zero.Y += 20
f *
num7;
67254 break;
67255 case 13:
67256 {
67257 zero.Y += 20
f *
num7;
67259 ((Rectangle)(
ref value2)).
_002Ector(
num10 % 2 * (value.Width >> 1), (
num10 >> 1) * (value.Height >> 1), value.Width >> 1, value.Height >> 1);
67261 break;
67262 }
67263 }
67265 {
67267 }
67271 {
67273 }
67279 int num5 = (int)(
num8 * ((
float)(value2.Width - 1) /
vector.X));
67283 {
67286 }
67288 {
67291 {
67292 int num6 = (int)(
vec2.Y + (
float)value2.Height *
num8);
67294 }
67296 }
67297 }
static Asset< Texture2D >[] Underworld
static Asset< Texture2D > BlackTile
static SkyManager Instance
static int[] underworldBG
static SpriteBatch spriteBatch
static Vector2 screenPosition
The position of the top left corner of the screen in world coordinates. Modify in M:Terraria....
static int UnderworldLayer
The y-coordinate of the top of the underworld, in tile coordinates.
static float GlobalTimeWrappedHourly