545 lines
21 KiB
Java
545 lines
21 KiB
Java
package p000;
|
|
|
|
import javax.microedition.lcdui.Font;
|
|
import javax.microedition.lcdui.Graphics;
|
|
import javax.microedition.lcdui.Image;
|
|
|
|
/* renamed from: y */
|
|
/* loaded from: microcounterstrike.jar:y.class */
|
|
public class HudRenderer extends HudBase {
|
|
|
|
/* renamed from: a */
|
|
public int value287 = -1;
|
|
|
|
/* renamed from: b */
|
|
public int value288 = -1;
|
|
|
|
/* renamed from: d */
|
|
private String text290 = null;
|
|
|
|
/* renamed from: e */
|
|
private int value291 = -1;
|
|
|
|
/* renamed from: f */
|
|
private int value292 = 0;
|
|
|
|
/* renamed from: T */
|
|
private int f332T = 0;
|
|
|
|
/* renamed from: U */
|
|
private long f333U = 0;
|
|
|
|
/* renamed from: c */
|
|
private static String[] text289 = {"Preparing...", "Time Out!", "Counter-Terrorists Win!", "Terrorists Win!", "Out of ammunition.", "You already own that weapon.", "Buy successfully!", "Press 0 to purchase."};
|
|
|
|
/* renamed from: g */
|
|
private static Image image293 = null;
|
|
|
|
/* renamed from: h */
|
|
private static Image image294 = null;
|
|
|
|
/* renamed from: i */
|
|
private static Image[] image295 = null;
|
|
|
|
/* renamed from: j */
|
|
private static Image[] image296 = null;
|
|
|
|
/* renamed from: k */
|
|
private static Image image297 = null;
|
|
|
|
/* renamed from: l */
|
|
private static Image image298 = null;
|
|
|
|
/* renamed from: m */
|
|
private static Image image299 = null;
|
|
|
|
/* renamed from: n */
|
|
private static Image image300 = null;
|
|
|
|
/* renamed from: o */
|
|
private static final int[] CONST_VALUE301 = new int[2];
|
|
|
|
/* renamed from: p */
|
|
private static final int[] CONST_VALUE302 = {0, 10};
|
|
|
|
/* renamed from: q */
|
|
private static final int[] CONST_VALUE303 = {10, 8};
|
|
|
|
/* renamed from: r */
|
|
private static final int[] CONST_VALUE304 = {10, 8};
|
|
|
|
/* renamed from: s */
|
|
private static final int[] CONST_VALUE305 = {10, 8};
|
|
|
|
/* renamed from: t */
|
|
private static final int[] CONST_VALUE306 = {0, 10};
|
|
|
|
/* renamed from: u */
|
|
private static final int[] CONST_VALUE307 = {9, 7};
|
|
|
|
/* renamed from: v */
|
|
private static final int[] CONST_VALUE308 = {10, 8};
|
|
|
|
/* renamed from: w */
|
|
private static final int[] CONST_VALUE309 = {19, 15};
|
|
|
|
/* renamed from: x */
|
|
private static final int[] CONST_VALUE310 = {0, 10};
|
|
|
|
/* renamed from: y */
|
|
private static final int[] CONST_VALUE311 = {2, 1};
|
|
|
|
/* renamed from: z */
|
|
private static final int[] CONST_VALUE312 = {10, 5};
|
|
|
|
/* renamed from: A */
|
|
private static final int[] f313A = {21, 16};
|
|
|
|
/* renamed from: B */
|
|
private static final int[] f314B = {0, 10};
|
|
|
|
/* renamed from: C */
|
|
private static final int[] f315C = {10, 8};
|
|
|
|
/* renamed from: D */
|
|
private static final int[] f316D = {10, 8};
|
|
|
|
/* renamed from: E */
|
|
private static final int[] f317E = {31, 24};
|
|
|
|
/* renamed from: F */
|
|
private static final int[] f318F = {0, 10};
|
|
|
|
/* renamed from: G */
|
|
private static final int[] f319G = {5, 4};
|
|
|
|
/* renamed from: H */
|
|
private static final int[] f320H = {10, 7};
|
|
|
|
/* renamed from: I */
|
|
private static final int[] f321I = {8, 14};
|
|
|
|
/* renamed from: J */
|
|
private static final int[] f322J = {6, 5};
|
|
|
|
/* renamed from: K */
|
|
private static final int[] f323K = {6, 5};
|
|
|
|
/* renamed from: L */
|
|
private static final int[] f324L = new int[2];
|
|
|
|
/* renamed from: M */
|
|
private static final int[] f325M = {0, 14};
|
|
|
|
/* renamed from: N */
|
|
private static final int[] f326N = {8, 5};
|
|
|
|
/* renamed from: O */
|
|
private static final int[] f327O = {8, 5};
|
|
|
|
/* renamed from: P */
|
|
private static final int[] f328P = {80, 50};
|
|
|
|
/* renamed from: Q */
|
|
private static final int[] f329Q = {0, 14};
|
|
|
|
/* renamed from: R */
|
|
private static final int[] f330R = {2, 1};
|
|
|
|
/* renamed from: S */
|
|
private static final int[] f331S = {8, 5};
|
|
|
|
@Override // p000.HudBase
|
|
/* renamed from: a */
|
|
public final void execute236(Graphics graphics, GameRenderCanvas c0002ab) {
|
|
int width = c0002ab.getWidth();
|
|
int height = c0002ab.getHeight();
|
|
int i = PlatformServices.getInstance().uiLayoutMode;
|
|
Combatant interfaceC0030bc = (Combatant) PlayerManager.getInstance().localPlayer;
|
|
GameSessionLoop abstractRunnableC0014anM107a = GameSessionLoop.getInstance();
|
|
if (interfaceC0030bc.getLoadout().getActiveWeaponInfo().weaponCode != 11) {
|
|
graphics.setColor(6553418);
|
|
int i2 = width / 2;
|
|
int i3 = height / 2;
|
|
if (InputStateBase.getInstance().flag93[0]) {
|
|
this.f332T++;
|
|
} else {
|
|
this.f332T--;
|
|
}
|
|
if (this.f332T > 5) {
|
|
this.f332T = 5;
|
|
} else if (this.f332T < 0) {
|
|
this.f332T = 0;
|
|
}
|
|
graphics.drawLine((((i2 - 3) - 3) + 1) - this.f332T, i3, (i2 - 3) - this.f332T, i3);
|
|
graphics.drawLine(i2 + 3 + this.f332T, i3, (((i2 + 3) + 3) - 1) + this.f332T, i3);
|
|
graphics.drawLine(i2, (((i3 - 3) - 3) + 1) - this.f332T, i2, (i3 - 3) - this.f332T);
|
|
graphics.drawLine(i2, i3 + 3 + this.f332T, i2, (((i3 + 3) + 3) - 1) + this.f332T);
|
|
}
|
|
if (this.value287 >= 0) {
|
|
Image[] imageArr = (Image[]) null;
|
|
int i4 = interfaceC0030bc.getLoadout().activeSlot;
|
|
float f = 0.8f;
|
|
if (i4 == 1) {
|
|
imageArr = image295;
|
|
} else if (i4 == 2) {
|
|
imageArr = image296;
|
|
f = 1.0f;
|
|
}
|
|
graphics.drawImage(imageArr[this.value287], width - ((int) (r0.recoilPattern[i][0][2] * f)), height - interfaceC0030bc.getLoadout().getActiveWeaponInfo().recoilPattern[i][0][3], 3);
|
|
this.value287++;
|
|
if (this.value287 >= imageArr.length) {
|
|
this.value287 = -1;
|
|
}
|
|
}
|
|
if (interfaceC0030bc.getHealth() > 0) {
|
|
if (interfaceC0030bc.getLoadout().getActiveWeaponInfo().weaponCode == 11 && c0002ab.flag10) {
|
|
graphics.setColor(0, 0, 0);
|
|
graphics.drawRegion(image294, 0, 0, image294.getWidth(), image294.getHeight(), 0, width / 2, height / 2, 40);
|
|
graphics.drawRegion(image294, 0, 0, image294.getWidth(), image294.getHeight(), 2, width / 2, height / 2, 36);
|
|
graphics.drawRegion(image294, 0, 0, image294.getWidth(), image294.getHeight(), 1, width / 2, height / 2, 24);
|
|
graphics.drawRegion(image294, 0, 0, image294.getWidth(), image294.getHeight(), 3, width / 2, height / 2, 20);
|
|
int height2 = (height / 2) - image294.getHeight();
|
|
graphics.fillRect(0, 0, width, height2 + 2);
|
|
graphics.fillRect(0, height2 + (image294.getHeight() * 2), width, height2 + 1);
|
|
int width2 = (width / 2) - image294.getWidth();
|
|
graphics.fillRect(0, height2 + 2, width2 + 1, image294.getHeight() * 2);
|
|
graphics.fillRect(width2 + (image294.getWidth() * 2), height2 + 2, width2 + 1, image294.getHeight() * 2);
|
|
int i5 = width / 2;
|
|
int i6 = height / 2;
|
|
graphics.setColor(255, 0, 0);
|
|
graphics.drawLine(i5 - 1, i6, i5 + 1, i6);
|
|
graphics.drawLine(i5, i6 - 1, i5, i6 + 1);
|
|
graphics.setColor(0);
|
|
graphics.drawLine(i5 - 6, i6, i5 - 6, i6);
|
|
graphics.drawLine(i5 + 6, i6, i5 + 6, i6);
|
|
graphics.drawLine(i5, i6 - 6, i5, i6 - 6);
|
|
graphics.drawLine(i5, i6 + 6, i5, i6 + 6);
|
|
graphics.drawLine(i5 - 8, i6, i5 - 8, i6);
|
|
graphics.drawLine(i5 + 8, i6, i5 + 8, i6);
|
|
graphics.drawLine(i5, i6 - 8, i5, i6 - 8);
|
|
graphics.drawLine(i5, i6 + 8, i5, i6 + 8);
|
|
graphics.drawLine(i5 - 11, i6, i5 - 11, i6);
|
|
graphics.drawLine(i5 + 11, i6, i5 + 11, i6);
|
|
graphics.drawLine(i5, i6 - 11, i5, i6 - 11);
|
|
graphics.drawLine(i5, i6 + 11, i5, i6 + 11);
|
|
int i7 = i == 0 ? 56 : 35;
|
|
graphics.drawLine((i5 - 15) - i7, i6, i5 - 15, i6);
|
|
graphics.drawLine(i5 + 15, i6, i5 + 15 + i7, i6);
|
|
graphics.drawLine(i5, (i6 - 15) - i7, i5, i6 - 15);
|
|
graphics.drawLine(i5, i6 + 15, i5, i6 + 15 + i7);
|
|
} else {
|
|
PlayerInputController c0039h = (PlayerInputController) InputStateBase.getInstance();
|
|
WeaponInfo c0042kM174d = interfaceC0030bc.getLoadout().getActiveWeaponInfo();
|
|
if (c0042kM174d.weaponCode == 30) {
|
|
int i8 = this.value288;
|
|
int i9 = i8;
|
|
if (i8 == -1) {
|
|
i9 = 0;
|
|
}
|
|
graphics.drawRegion(image293, c0042kM174d.recoilPattern[i][i9][0], c0042kM174d.recoilPattern[i][i9][1], c0042kM174d.recoilPattern[i][i9][2], c0042kM174d.recoilPattern[i][i9][3], 0, width, height + (3 * c0039h.value195), 40);
|
|
if (this.value288 >= 0) {
|
|
this.value288++;
|
|
if (this.value288 >= c0042kM174d.recoilPattern[i].length) {
|
|
this.value288 = -1;
|
|
}
|
|
}
|
|
} else {
|
|
int i10 = c0039h.value197;
|
|
if (i10 != 0) {
|
|
graphics.drawRegion(image293, c0042kM174d.recoilPattern[i][0][0], c0042kM174d.recoilPattern[i][0][1], c0042kM174d.recoilPattern[i][0][2], c0042kM174d.recoilPattern[i][0][3], 0, width + (3 * i10), height + (3 * i10), 40);
|
|
} else {
|
|
graphics.drawRegion(image293, c0042kM174d.recoilPattern[i][0][0], c0042kM174d.recoilPattern[i][0][1], c0042kM174d.recoilPattern[i][0][2], c0042kM174d.recoilPattern[i][0][3], 0, width, height + (3 * c0039h.value195), 40);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
graphics.setColor(55, 195, 30);
|
|
graphics.setFont(Font.getFont(64, 1, 8));
|
|
if (this.value291 != -1 && this.value292 < 30) {
|
|
this.value292++;
|
|
execute309(this.value291, graphics, width, height);
|
|
}
|
|
int i11 = i == 0 ? 16 : 12;
|
|
int i12 = i11;
|
|
int height3 = i11 / image298.getHeight();
|
|
for (int i13 = 0; i13 < height3; i13++) {
|
|
graphics.drawRegion(image298, 0, 0, width, image298.getHeight(), 0, 0, height - (i13 * image298.getHeight()), 36);
|
|
}
|
|
int i14 = (i12 - CONST_VALUE303[i]) / 2;
|
|
int i15 = height - (i12 / 2);
|
|
graphics.drawRegion(image299, CONST_VALUE301[i], CONST_VALUE302[i], CONST_VALUE303[i], CONST_VALUE304[i], 0, i14, i15, 6);
|
|
int iMo89j = interfaceC0030bc.getHealth();
|
|
int i16 = i14 + CONST_VALUE303[i] + 2 + (f322J[i] * 3);
|
|
int i17 = 1;
|
|
int i18 = 0;
|
|
while (true) {
|
|
int i19 = iMo89j / i17;
|
|
if (i19 == 0 && iMo89j != 0) {
|
|
break;
|
|
}
|
|
graphics.drawRegion(image300, f322J[i] * (i19 % 10), f321I[i], f322J[i], f323K[i], 0, i16 - (i18 * (f322J[i] + 1)), i15, 10);
|
|
if (iMo89j == 0) {
|
|
break;
|
|
}
|
|
i17 *= 10;
|
|
i18++;
|
|
}
|
|
int i20 = i == 0 ? 40 : 29;
|
|
graphics.drawRegion(image299, CONST_VALUE305[i], CONST_VALUE306[i], CONST_VALUE307[i], CONST_VALUE308[i], 0, i20, i15, 6);
|
|
int i21 = interfaceC0030bc.getLoadout().grenadeCharge;
|
|
int i22 = i20 + CONST_VALUE307[i] + 1 + (f322J[i] * 3);
|
|
int i23 = 1;
|
|
int i24 = 0;
|
|
while (true) {
|
|
int i25 = i21 / i23;
|
|
if (i25 == 0 && i21 != 0) {
|
|
break;
|
|
}
|
|
graphics.drawRegion(image300, f322J[i] * (i25 % 10), f321I[i], f322J[i], f323K[i], 0, i22 - (i24 * (f322J[i] + 1)), i15, 10);
|
|
if (i21 == 0) {
|
|
break;
|
|
}
|
|
i23 *= 10;
|
|
i24++;
|
|
}
|
|
if (interfaceC0030bc.getLoadout().getActiveWeaponInfo().weaponCode != 30) {
|
|
int i26 = width - i14;
|
|
graphics.drawRegion(image299, f313A[i], f314B[i], f315C[i], f316D[i], 0, i26, i15, 10);
|
|
int iM173c = interfaceC0030bc.getLoadout().getActiveAmmo();
|
|
int i27 = interfaceC0030bc.getLoadout().getActiveWeaponInfo().clipSize;
|
|
int i28 = iM173c % i27;
|
|
int i29 = i28;
|
|
if (i28 == 0 && iM173c != 0) {
|
|
i29 = i27;
|
|
}
|
|
int i30 = iM173c - i29;
|
|
int i31 = (i26 - f315C[i]) - 2;
|
|
int i32 = 1;
|
|
int i33 = 0;
|
|
while (true) {
|
|
int i34 = i30 / i32;
|
|
if (i34 == 0 && i30 != 0) {
|
|
break;
|
|
}
|
|
graphics.drawRegion(image300, f322J[i] * (i34 % 10), f321I[i], f322J[i], f323K[i], 0, i31 - (i33 * (f322J[i] + 1)), i15, 10);
|
|
if (i30 == 0) {
|
|
break;
|
|
}
|
|
i32 *= 10;
|
|
i33++;
|
|
}
|
|
graphics.drawRegion(image299, CONST_VALUE309[i], CONST_VALUE310[i], CONST_VALUE311[i], CONST_VALUE312[i], 0, (i31 - (3 * (f322J[i] + 1))) - 1, i15, 10);
|
|
int i35 = 1;
|
|
int i36 = 0;
|
|
while (true) {
|
|
int i37 = i29 / i35;
|
|
if (i37 == 0 && i29 != 0) {
|
|
break;
|
|
}
|
|
graphics.drawRegion(image300, f322J[i] * (i37 % 10), f321I[i], f322J[i], f323K[i], 0, ((((i31 - (3 * (f322J[i] + 1))) - 1) - CONST_VALUE311[i]) - 2) - (i36 * (f322J[i] + 1)), i15, 10);
|
|
if (i29 == 0) {
|
|
break;
|
|
}
|
|
i35 *= 10;
|
|
i36++;
|
|
}
|
|
}
|
|
int i38 = 0;
|
|
int i39 = 0;
|
|
int i40 = abstractRunnableC0014anM107a.countdownTask.value11;
|
|
if (abstractRunnableC0014anM107a.sessionState == 1) {
|
|
i38 = 0;
|
|
i39 = 0;
|
|
i40 = abstractRunnableC0014anM107a.countdownTask.value11;
|
|
execute309(0, graphics, width, height);
|
|
} else if (abstractRunnableC0014anM107a.sessionState == 2) {
|
|
int i41 = abstractRunnableC0014anM107a.countdownTask.value11;
|
|
i38 = i41 / 60;
|
|
int i42 = i41 % 60;
|
|
i39 = i42 / 10;
|
|
i40 = i42 % 10;
|
|
} else if (abstractRunnableC0014anM107a.sessionState == 3) {
|
|
int i43 = abstractRunnableC0014anM107a.roundEndTriggered;
|
|
execute309(i43 == 0 ? 1 : i43 == 1 ? 2 : 3, graphics, width, height);
|
|
i38 = 0;
|
|
i39 = 0;
|
|
i40 = 0;
|
|
} else if (abstractRunnableC0014anM107a.sessionState == 5) {
|
|
i38 = 0;
|
|
i39 = 0;
|
|
i40 = 0;
|
|
}
|
|
int i44 = width / 2;
|
|
graphics.drawRegion(image300, f328P[i], f329Q[i], f330R[i], f331S[i], 0, i44, i15, 6);
|
|
graphics.drawRegion(image300, f324L[i] + (i38 * f326N[i]), f325M[i], f326N[i], f327O[i], 0, i44 - 2, i15, 10);
|
|
int i45 = i44 + f330R[i] + 2;
|
|
graphics.drawRegion(image300, f324L[i] + (i39 * f326N[i]), f325M[i], f326N[i], f327O[i], 0, i45, i15, 6);
|
|
graphics.drawRegion(image300, f324L[i] + (i40 * f326N[i]), f325M[i], f326N[i], f327O[i], 0, i45 + f326N[i] + 2, i15, 6);
|
|
int i46 = i14 + (f320H[i] / 2);
|
|
Image image = image299;
|
|
int i47 = f317E[i];
|
|
int i48 = f318F[i];
|
|
graphics.drawRegion(image, i47, i48, f319G[i], f320H[i], 0, ((width - i14) - (5 * (f322J[i] + 1))) - 2, i46, 10);
|
|
int i49 = ((LocalPlayer) interfaceC0030bc).money;
|
|
int i50 = 1;
|
|
int i51 = 0;
|
|
while (true) {
|
|
int i52 = i49 / i50;
|
|
if (i52 == 0 && i49 != 0) {
|
|
break;
|
|
}
|
|
Image image2 = image300;
|
|
int i53 = f322J[i];
|
|
i48 = f321I[i];
|
|
graphics.drawRegion(image2, i53 * (i52 % 10), i48, f322J[i], f323K[i], 0, (width - i14) - (i51 * (f322J[i] + 1)), i46, 10);
|
|
if (i49 == 0) {
|
|
break;
|
|
}
|
|
i50 *= 10;
|
|
i51++;
|
|
}
|
|
if (abstractRunnableC0014anM107a.sessionState == 1) {
|
|
int i54 = i48;
|
|
if (System.currentTimeMillis() - this.f333U < 500) {
|
|
execute308(7, graphics, width, height);
|
|
}
|
|
if (i54 - this.f333U >= 600) {
|
|
this.f333U = i54;
|
|
}
|
|
}
|
|
if (((LocalPlayer) interfaceC0030bc).tryConsumePainSoundCounter()) {
|
|
int height4 = height / image297.getHeight();
|
|
if (height % image297.getHeight() != 0) {
|
|
height4++;
|
|
}
|
|
for (int i55 = 0; i55 < height4; i55++) {
|
|
graphics.drawRegion(image297, 0, 0, width, image297.getHeight(), 0, 0, i55 * image297.getHeight(), 20);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public final void execute308(int i, Graphics graphics, int i2, int i3) {
|
|
String lowerCase;
|
|
if (this.text290 != null) {
|
|
StringBuffer stringBuffer = new StringBuffer();
|
|
stringBuffer.append(text289[i]);
|
|
stringBuffer.append(this.text290);
|
|
lowerCase = stringBuffer.toString().toLowerCase();
|
|
} else {
|
|
lowerCase = text289[i].toLowerCase();
|
|
}
|
|
int i4 = (i3 - (PlatformServices.getInstance().uiLayoutMode == 0 ? 16 : 12)) - 3;
|
|
int i5 = 3;
|
|
int[] iArr = new int[4];
|
|
for (int i6 = 0; i6 < lowerCase.length(); i6++) {
|
|
MainMenuCanvas.execute68(lowerCase.charAt(i6), iArr);
|
|
if (iArr[0] != -1) {
|
|
graphics.drawRegion(MainMenuCanvas.image41, iArr[0], iArr[1], iArr[2], iArr[3], 0, i5, i4, 36);
|
|
i5 += iArr[2] + 1;
|
|
} else if (i5 > i2 - 25) {
|
|
i5 = 3;
|
|
i4 = i4 + 6 + 3;
|
|
} else {
|
|
i5 += 6;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public final void execute309(int i, Graphics graphics, int i2, int i3) {
|
|
String lowerCase;
|
|
if (this.text290 != null) {
|
|
StringBuffer stringBuffer = new StringBuffer();
|
|
stringBuffer.append(text289[i]);
|
|
stringBuffer.append(this.text290);
|
|
lowerCase = stringBuffer.toString().toLowerCase();
|
|
} else {
|
|
lowerCase = text289[i].toLowerCase();
|
|
}
|
|
int i4 = i3 / 4;
|
|
int i5 = 3;
|
|
int[] iArr = new int[4];
|
|
for (int i6 = 0; i6 < lowerCase.length(); i6++) {
|
|
MainMenuCanvas.execute68(lowerCase.charAt(i6), iArr);
|
|
if (iArr[0] != -1) {
|
|
graphics.drawRegion(MainMenuCanvas.image40, iArr[0], iArr[1], iArr[2], iArr[3], 0, i5, i4, 20);
|
|
i5 += iArr[2] + 1;
|
|
} else if (i5 > i2 - 25) {
|
|
i5 = 3;
|
|
i4 = i4 + 6 + 3;
|
|
} else {
|
|
i5 += 6;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // p000.HudBase
|
|
/* renamed from: a */
|
|
public final void execute237(int i, String str) {
|
|
this.value292 = 0;
|
|
this.value291 = i;
|
|
this.text290 = str;
|
|
}
|
|
|
|
/* renamed from: e */
|
|
public final void execute310() {
|
|
if (!(((Combatant) PlayerManager.getInstance().localPlayer).getLoadout().getActiveWeaponInfo().weaponCode == 11 && GameRenderCanvas.getInstance_2().flag10) && this.value287 == -1) {
|
|
this.value287 = 0;
|
|
}
|
|
}
|
|
|
|
/* renamed from: f */
|
|
public final void execute311() {
|
|
if (this.value288 == -1) {
|
|
this.value288 = 0;
|
|
}
|
|
}
|
|
|
|
@Override // p000.HudBase
|
|
/* renamed from: b */
|
|
public final void execute238() {
|
|
this.text290 = null;
|
|
}
|
|
|
|
/* renamed from: c */
|
|
public static void loadImages312() {
|
|
int i = PlatformServices.getInstance().uiLayoutMode;
|
|
try {
|
|
if (i == 0) {
|
|
image294 = Image.createImage("/res/image2d/collimator.png");
|
|
} else {
|
|
image294 = Image.createImage("/res/image2d/collimator_s.png");
|
|
}
|
|
image295 = MuzzleFlashManager.image156;
|
|
image296 = MuzzleFlashManager.image158;
|
|
if (MainUiCanvasBase.getInstance().value183 != 0) {
|
|
image293 = Image.createImage("/res/image2d/weapon_handin_t.png");
|
|
} else if (i == 0) {
|
|
image293 = Image.createImage("/res/image2d/weapon_handin.png");
|
|
} else {
|
|
image293 = Image.createImage("/res/image2d/weapon_handin_s.png");
|
|
}
|
|
image297 = Image.createImage("/res/image2d/fp_bloodspray.png");
|
|
image298 = Image.createImage("/res/image2d/bg_mask.png");
|
|
image299 = Image.createImage("/res/image2d/screen_symbol.png");
|
|
image300 = Image.createImage("/res/image2d/screen_num.png");
|
|
} catch (Exception unused) {
|
|
System.out.println("Failed to load 2D images");
|
|
}
|
|
}
|
|
|
|
/* renamed from: d */
|
|
public static void execute313() {
|
|
text289 = null;
|
|
image294 = null;
|
|
image295 = null;
|
|
image296 = null;
|
|
image293 = null;
|
|
image298 = null;
|
|
image299 = null;
|
|
image300 = null;
|
|
}
|
|
}
|