credits pre
This commit is contained in:
parent
0d14a75957
commit
d73a5f888a
2 changed files with 43 additions and 77 deletions
|
@ -4,83 +4,6 @@
|
|||
//private static final String[] DISTANCES = new String[] {"Gruselig", "Winzig", "Gering", "Normal", "Weit"};
|
||||
|
||||
|
||||
private static final String[] AUTHORS = {"Sen"};
|
||||
|
||||
private final List<String> textLines = Lists.<String>newArrayList();
|
||||
private final boolean cracked;
|
||||
|
||||
private void addLines(String alternate, String category, String... authors) {
|
||||
this.textLines.add((this.cracked ? TextColor.BLUE : TextColor.LIGHT_GRAY)
|
||||
+ (this.cracked ? alternate : category) + ":");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for(String author : authors) {
|
||||
if(sb.length() > 0)
|
||||
sb.append(", ");
|
||||
sb.append(author);
|
||||
}
|
||||
this.textLines.add((this.cracked ? TextColor.DARK_PURPLE : TextColor.WHITE) + " " + sb.toString());
|
||||
}
|
||||
|
||||
public GuiCredits(boolean hax) {
|
||||
this.cracked = hax;
|
||||
this.textLines.add("&" + (hax ? TextColor.DARK_AQUA : TextColor.WHITE) + "=============================");
|
||||
this.textLines.add("&" + (hax ? TextColor.RED : TextColor.YELLOW) + (hax ? "Das Team -- TCQ" : "Mitwirkende"));
|
||||
this.textLines.add("&" + (hax ? TextColor.DARK_AQUA : TextColor.WHITE) + "=============================");
|
||||
this.textLines.add("");
|
||||
this.addLines("Absolut größter Lamer des Universums", "Ursprünglich erstellt von",
|
||||
"Markus Persson");
|
||||
this.addLines("Crack und weitere Programmierung", "Spiel-Design, Programmierung und Grafiken",
|
||||
"Jens Bergensten", "Nathan Adams", "Ryan Holtz", "Michael Stoyke");
|
||||
this.addLines("Ressourcen entschlüsselt von", "Programmierung",
|
||||
"Erik Broes", "Paul Spooner", "Ryan Hitchman", "Elliot Segal");
|
||||
this.addLines("Cracktro, Grafiken und Intromusik", "Töne und Geräusche",
|
||||
"Daniel Rosenfeld", "freesound.org");
|
||||
this.addLines("Packing und Verbreitung", "Management, Administration und Spaß",
|
||||
"Carl Manneh", "Daniel Kaplan", "Lydia Winters");
|
||||
this.addLines("Server und Hosting", "Zahlen und Statistiken",
|
||||
"Patrick Geuder");
|
||||
this.addLines("Weiterer Dank geht an", "Entwickler von Mo' Creatures (Pferde usw.)",
|
||||
"John Olarte", "Kent Christian Jensen", "Dan Roque");
|
||||
this.addLines("Genutzte Exploits", "Weiterer Quellcode",
|
||||
"Albert Pham - WorldEdit", "Joonas Vali - NameGenerator");
|
||||
this.addLines("Der dunkle Herrscher", "Mod erstellt von",
|
||||
GuiCredits.AUTHORS);
|
||||
this.addLines("Verwendete Programme und Tools", "Verwendete Technologien",
|
||||
"Java 8 (Sun, Oracle)", "LWJGL 2", "JOrbis (JCraft)", "\"3D Sound System\" (Paul Lamb)");
|
||||
}
|
||||
|
||||
protected void actionPerformed(Button button) {
|
||||
if(button.enabled && button.id == 0)
|
||||
this.gm.displayGuiScreen(null);
|
||||
}
|
||||
|
||||
public void initGui() {
|
||||
this.buttonList.add(new Button(0, this.width / 2 - 100, this.height - 28, 200, 20, "Fertig"));
|
||||
}
|
||||
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
this.drawBackground();
|
||||
for(int z = 0; z < this.textLines.size(); z++) {
|
||||
String s = this.textLines.get(z);
|
||||
if(s.startsWith("&"))
|
||||
FontRenderer.drawCenteredString(s.substring(1), this.width / 2, 24 + z * 12, 16777215);
|
||||
else
|
||||
FontRenderer.drawStringWithShadow(s, this.width / 2 - 200, 24 + z * 12, 16777215);
|
||||
}
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue