Add Text To Main Menu.

This commit is contained in:
eymendemez 2025-05-31 07:55:33 +03:00
parent 2d5bfee26d
commit 540cda67b6
7 changed files with 2867 additions and 2797 deletions

40
.idea/workspace.xml generated
View File

@ -781,26 +781,26 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Application.LWJGLEntryPoint.executor&quot;: &quot;Run&quot;,
&quot;Application.MainClass.executor&quot;: &quot;Run&quot;,
&quot;Application.Unnamed.executor&quot;: &quot;Run&quot;,
&quot;Gradle.Alpha-1.1.2_01 [generateJavaScript].executor&quot;: &quot;Run&quot;,
&quot;Gradle.Alpha-1.1.2_01 [jar].executor&quot;: &quot;Run&quot;,
&quot;Gradle.Build Alpha-1.1.2_01.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;jdk.selected.JAVA_MODULE&quot;: &quot;17&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/Administartor/Alpha-1.1.2_01/lwjgl-rundir&quot;,
&quot;project.structure.last.edited&quot;: &quot;Modules&quot;,
&quot;project.structure.proportion&quot;: &quot;0.15234375&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.2&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.updates&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Application.LWJGLEntryPoint.executor": "Run",
"Application.MainClass.executor": "Debug",
"Application.Unnamed.executor": "Run",
"Gradle.Alpha-1.1.2_01 [generateJavaScript].executor": "Run",
"Gradle.Alpha-1.1.2_01 [jar].executor": "Run",
"Gradle.Build Alpha-1.1.2_01.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"git-widget-placeholder": "main",
"jdk.selected.JAVA_MODULE": "17",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "C:/Users/Administartor/Alpha-1.1.2_01/lwjgl-rundir",
"project.structure.last.edited": "Modules",
"project.structure.proportion": "0.15234375",
"project.structure.side.proportion": "0.2",
"settings.editor.selected.configurable": "preferences.updates"
}
}</component>
}]]></component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\Administartor\Alpha-1.1.2_01\src\main\java\net\lax1dude\eaglercraft" />
@ -815,7 +815,7 @@
<recent name="net.lax1dude.eaglercraft" />
</key>
</component>
<component name="RunManager" selected="Gradle.Alpha-1.1.2_01 [generateJavaScript]">
<component name="RunManager" selected="Application.MainClass">
<configuration name="MainClass" type="Application" factoryName="Application" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="net.lax1dude.eaglercraft.internal.MainClass" />
<module name="lwjgl" />

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,9 @@
</NATIVE>
<SOURCES />
<jarDirectory url="file://$MODULE_DIR$/../../../lwjgl-rundir" recursive="false" />
<jarDirectory url="file://$MODULE_DIR$/../../../lwjgl-rundir" recursive="false" />
</library>
</orderEntry>
<orderEntry type="module" module-name="eaglercraft.main" />
</component>
</module>

View File

@ -13,7 +13,7 @@ public class GuiMainMenu extends GuiScreen {
String[] logoBlockLayers = new String[]{" * * * * * *** *** *** *** *** ***", " ** ** * ** * * * * * * * * * ", " * * * * * * * ** * ** *** ** * ", " * * * * ** * * * * * * * * ", " * * * * * *** *** * * * * * * "};
private LogoEffectRandomizer[][] logoEffects;
private float updateCounter = 0.0F;
private String[] splashes = new String[]{"Pre-beta!", "As seen on TV!", "Awesome!", "100% pure!", "May contain nuts!", "Better than Prey!", "More polygons!", "Sexy!", "Limited edition!", "Flashing letters!", "Made by Notch!", "Coming soon!", "Best in class!", "When it\'s finished!", "Absolutely dragon free!", "Excitement!", "More than 25000 sold!", "One of a kind!", "Heaps of hits on YouTube!", "Indev!", "Spiders everywhere!", "Check it out!", "Holy cow, man!", "It\'s a game!", "Made in Sweden!", "Uses LWJGL!", "Reticulating splines!", "Minecraft!", "Yaaay!", "Alpha version!", "Singleplayer!", "Keyboard compatible!", "Undocumented!", "Ingots!", "Exploding creepers!", "That\'s not a moon!", "l33t!", "Create!", "Survive!", "Dungeon!", "Exclusive!", "The bee\'s knees!", "Down with O.P.P.!", "Closed source!", "Classy!", "Wow!", "Not on steam!", "9.95 euro!", "Half price!", "Oh man!", "Check it out!", "Awesome community!", "Pixels!", "Teetsuuuuoooo!", "Kaaneeeedaaaa!", "Now with difficulty!", "Enhanced!", "90% bug free!", "Pretty!", "12 herbs and spices!", "Fat free!", "Absolutely no memes!", "Free dental!", "Ask your doctor!", "Minors welcome!", "Cloud computing!", "Legal in Finland!", "Hard to label!", "Technically good!", "Bringing home the bacon!", "Indie!", "GOTY!", "Ceci n\'est pas une title screen!", "Euclidian!", "Now in 3D!", "Inspirational!", "Herregud!", "Complex cellular automata!", "Yes, sir!", "Played by cowboys!", "OpenGL 1.1!", "Thousands of colors!", "Try it!", "Age of Wonders is better!", "Try the mushroom stew!", "Sensational!", "Hot tamale, hot hot tamale!", "Play him off, keyboard cat!", "Guaranteed!", "Macroscopic!", "Bring it on!", "Random splash!", "Call your mother!", "Monster infighting!", "Loved by millions!", "Ultimate edition!", "Freaky!", "You\'ve got a brand new key!", "Water proof!", "Uninflammable!", "Whoa, dude!", "All inclusive!", "Tell your friends!", "NP is not in P!", "Notch <3 ez!", "Music by C418!", "Livestreamed!", "Haunted!", "Polynomial!", "Terrestrial!", "All is full of love!", "Full of stars!", "Scientific!", "Cooler than Spock!", "Collaborate and listen!", "Never dig down!", "Take frequent breaks!", "Not linear!", "Han shot first!", "Nice to meet you!", "Buckets of lava!", "Ride the pig!", "Larger than Earth!", "sqrt(-1) love you!", "Phobos anomaly!", "Punching wood!", "Falling off cliffs!", "0% sugar!", "150% hyperbole!", "Synecdoche!", "Let\'s danec!", "Seecret Friday update!", "Reference implementation!", "Rude with two dudes with food!", "Kiss the sky!", "20 GOTO 10!", "Verlet intregration!", "Peter Griffin!", "Do not distribute!", "Cogito ergo sum!", "4815162342 lines of code!", "A skeleton popped out!", "The Work of Notch!", "The sum of its parts!", "BTAF used to be good!", "I miss ADOM!", "umop-apisdn!", "OICU812!", "Bring me Ray Cokes!", "Finger-licking!", "Thematic!", "Pneumatic!", "Sublime!", "Octagonal!", "Une baguette!", "Gargamel plays it!", "Rita is the new top dog!", "SWM forever!", "Representing Edsbyn!", "Matt Damon!", "Superfragilisticexpialidocious!", "Consummate V\'s!", "Cow Tools!", "Double buffered!", "Fan fiction!"};
private String[] splashes = new String[]{"Pre-beta!", "As seen on TV!", "Made By EymenWSMC!", "100% pure!", "May contain nuts!", "Better than Prey!", "More polygons!", "Sexy!", "Limited edition!", "This is the first time I'm doing that..", "Made by Notch!", "Coming soon!", "Best in class!", "When it\'s finished!", "Absolutely dragon free!", "Excitement!", "More than 25000 sold!", "One of a kind!", "Heaps of hits on YouTube!", "Indev!", "Spiders everywhere!", "Check it out!", "Holy cow, man!", "It\'s a game!", "Made in Sweden!", "Uses LWJGL!", "Reticulating splines!", "Minecraft!", "Yaaay!", "Alpha version!", "Singleplayer!", "Keyboard compatible!", "Undocumented!", "Ingots!", "Exploding creepers!", "That\'s not a moon!", "l33t!", "Create!", "Survive!", "Dungeon!", "Exclusive!", "The bee\'s knees!", "Down with O.P.P.!", "Closed source!", "Classy!", "Wow!", "Not on steam!", "9.95 euro!", "Half price!", "Oh man!", "Check it out!", "Awesome community!", "Pixels!", "Teetsuuuuoooo!", "Kaaneeeedaaaa!", "Now with difficulty!", "Enhanced!", "90% bug free!", "Pretty!", "12 herbs and spices!", "Fat free!", "Absolutely no memes!", "Free dental!", "Ask your doctor!", "Minors welcome!", "Cloud computing!", "Legal in Finland!", "Hard to label!", "Technically good!", "Bringing home the bacon!", "Indie!", "GOTY!", "Ceci n\'est pas une title screen!", "Euclidian!", "Now in 3D!", "Inspirational!", "Herregud!", "Complex cellular automata!", "Yes, sir!", "Played by cowboys!", "OpenGL 1.1!", "Thousands of colors!", "Try it!", "Age of Wonders is better!", "Try the mushroom stew!", "Sensational!", "Hot tamale, hot hot tamale!", "Play him off, keyboard cat!", "Guaranteed!", "Macroscopic!", "Bring it on!", "Random splash!", "Call your mother!", "Monster infighting!", "Loved by millions!", "Ultimate edition!", "Freaky!", "You\'ve got a brand new key!", "Water proof!", "Uninflammable!", "Whoa, dude!", "All inclusive!", "Tell your friends!", "NP is not in P!", "Notch <3 ez!", "Music by C418!", "Livestreamed!", "Haunted!", "Polynomial!", "Terrestrial!", "All is full of love!", "Full of stars!", "Scientific!", "Cooler than Spock!", "Collaborate and listen!", "Never dig down!", "Take frequent breaks!", "Not linear!", "Han shot first!", "Nice to meet you!", "Buckets of lava!", "Ride the pig!", "Larger than Earth!", "sqrt(-1) love you!", "Phobos anomaly!", "Punching wood!", "Falling off cliffs!", "0% sugar!", "150% hyperbole!", "Synecdoche!", "Let\'s danec!", "Seecret Friday update!", "Reference implementation!", "Rude with two dudes with food!", "Kiss the sky!", "20 GOTO 10!", "Verlet intregration!", "Peter Griffin!", "Do not distribute!", "Cogito ergo sum!", "4815162342 lines of code!", "A skeleton popped out!", "The Work of Notch!", "The sum of its parts!", "BTAF used to be good!", "I miss ADOM!", "umop-apisdn!", "OICU812!", "Bring me Ray Cokes!", "Finger-licking!", "Thematic!", "Pneumatic!", "Sublime!", "Octagonal!", "Une baguette!", "Gargamel plays it!", "Rita is the new top dog!", "SWM forever!", "Representing Edsbyn!", "Matt Damon!", "Superfragilisticexpialidocious!", "Consummate V\'s!", "Cow Tools!", "Double buffered!", "Fan fiction!"};
private String currentSplash = this.splashes[(int)(Math.random() * (double)this.splashes.length)];
public void updateScreen() {
@ -87,6 +87,11 @@ public class GuiMainMenu extends GuiScreen {
GL11.glPopMatrix();
String var6 = "Copyright Mojang Specifications. Do not distribute.";
this.drawString(this.fontRenderer, var6, this.width - this.fontRenderer.getStringWidth(var6) - 2, this.height - 10, 16777215);
String alphaVersion = "Minecraft Alpha 1.0.6_03";
this.drawString(this.fontRenderer, alphaVersion, 2, this.height - 20, 16777215);
String eaglercraftVersion = "Eaglercraft 25w22a";
this.drawString(this.fontRenderer, eaglercraftVersion, 2, this.height - 10, 16777215);
long var7 = EagRuntime.maxMemory();
long var9 = EagRuntime.totalMemory();
long var11 = EagRuntime.freeMemory();