-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.0.5 : 21 Aout 2018 // Mise a jour du bootstrap(Ram Selector + Update libs OpenLauncherLibs), côté launcher : update libs, window undecorated et ajout des boutons réseaux sociaux
- Loading branch information
Showing
32 changed files
with
1,148 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/bin/info/happyblocks/happyblocks/bootstrap/HappyBlocksBootstrap$1.class
Binary file not shown.
Binary file modified
BIN
+1.84 KB
(140%)
src/bin/info/happyblocks/happyblocks/bootstrap/HappyBlocksBootstrap.class
Binary file not shown.
Binary file added
BIN
+3.31 KB
src/bin/info/happyblocks/happyblocks/bootstrap/HappyBlocksRamSelectorWindows.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/bin/info/happyblocks/happyblocks/launcher/Launcher$1.class
Binary file not shown.
Binary file modified
BIN
-175 Bytes
(97%)
src/bin/info/happyblocks/happyblocks/launcher/Launcher.class
Binary file not shown.
Binary file modified
BIN
+410 Bytes
(120%)
src/bin/info/happyblocks/happyblocks/launcher/LauncherFrame.class
Binary file not shown.
Binary file modified
BIN
+95 Bytes
(100%)
src/bin/info/happyblocks/happyblocks/launcher/LauncherPanel$1.class
Binary file not shown.
Binary file modified
BIN
+1.1 KB
(120%)
src/bin/info/happyblocks/happyblocks/launcher/LauncherPanel.class
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[11:11:43] [Thread-3/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | ||
[11:11:43] [Thread-3/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | ||
[11:11:43] [Thread-3/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker | ||
[13:32:45] [Thread-4/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | ||
[13:32:46] [Thread-4/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | ||
[13:32:46] [Thread-4/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[13:33:00] [Client thread/INFO]: Setting user: stonesetmc | ||
[13:33:14] [Client thread/INFO]: LWJGL Version: 2.9.4 | ||
[13:33:29] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Custom Main Menu | ||
[13:33:45] [Sound Library Loader/INFO]: Starting up SoundSystem... | ||
[13:33:45] [Thread-14/INFO]: Initializing LWJGL OpenAL | ||
[13:33:45] [Thread-14/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) | ||
[13:33:46] [Thread-14/INFO]: OpenAL initialized. | ||
[13:33:46] [Sound Library Loader/INFO]: Sound engine started | ||
[13:34:00] [Client thread/INFO]: Created: 16x16 textures-atlas | ||
[13:34:05] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Custom Main Menu | ||
[13:34:16] [Client thread/INFO]: SoundSystem shutting down... | ||
[13:34:16] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com | ||
[13:34:16] [Sound Library Loader/INFO]: Starting up SoundSystem... | ||
[13:34:17] [Thread-16/INFO]: Initializing LWJGL OpenAL | ||
[13:34:17] [Thread-16/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) | ||
[13:34:17] [Thread-16/INFO]: OpenAL initialized. | ||
[13:34:17] [Sound Library Loader/INFO]: Sound engine started | ||
[13:34:30] [Client thread/INFO]: Created: 1024x512 textures-atlas | ||
[13:34:57] [Client thread/INFO]: Stopping! | ||
[13:34:57] [Client thread/INFO]: SoundSystem shutting down... | ||
[13:34:57] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
src/src/info/happyblocks/happyblocks/bootstrap/HappyBlocksRamSelectorWindows.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package info.happyblocks.happyblocks.bootstrap; | ||
|
||
import java.awt.Color; | ||
import java.awt.event.ActionEvent; | ||
import java.awt.event.ActionListener; | ||
|
||
import javax.swing.JButton; | ||
import javax.swing.JComboBox; | ||
import javax.swing.JLabel; | ||
import javax.swing.SwingConstants; | ||
|
||
import fr.theshark34.openlauncherlib.LanguageManager; | ||
import fr.theshark34.openlauncherlib.LaunchException; | ||
import fr.theshark34.openlauncherlib.util.ramselector.AbstractOptionFrame; | ||
import fr.theshark34.openlauncherlib.util.ramselector.RamSelector; | ||
import fr.theshark34.swinger.Swinger; | ||
|
||
public class HappyBlocksRamSelectorWindows extends AbstractOptionFrame implements ActionListener | ||
{ | ||
|
||
private JLabel ramLabel; | ||
private JComboBox<String> ramBox; | ||
private JButton ok; | ||
|
||
public HappyBlocksRamSelectorWindows(RamSelector selector) | ||
{ | ||
super(selector); | ||
|
||
this.setTitle("Ram"); | ||
this.setResizable(false); | ||
this.setSize(275, 100); | ||
this.setLocationRelativeTo(null); | ||
this.setLayout(null); | ||
this.setIconImage(Swinger.getResource("favicon.png")); | ||
this.setUndecorated(false); | ||
this.setBackground(Color.ORANGE); | ||
this.getContentPane().setBackground(Color.ORANGE); | ||
this.setDefaultCloseOperation(1); | ||
|
||
ramLabel = new JLabel(LanguageManager.lang("Ram alloué :")); | ||
ramLabel.setBounds(8, 20, 90, 25); | ||
this.add(ramLabel); | ||
|
||
ramBox = new JComboBox<String>(RamSelector.RAM_ARRAY); | ||
ramBox.setBounds(80, 20, 125, 25); | ||
this.add(ramBox); | ||
|
||
ok = new JButton("Ok"); | ||
ok.addActionListener(this); | ||
ok.setBounds(210, 20, 55, 25); | ||
this.add(ok); | ||
|
||
} | ||
|
||
@Override | ||
public void setSelectedIndex(int index) { ramBox.setSelectedIndex(index); } | ||
|
||
@Override | ||
public int getSelectedIndex() { return ramBox.getSelectedIndex(); } | ||
|
||
@Override | ||
public void actionPerformed(ActionEvent e) | ||
{ | ||
this.setVisible(false); | ||
getSelector().save(); | ||
try { | ||
HappyBlocksBootstrap.launchLauncher(); | ||
|
||
} | ||
catch (LaunchException ex) | ||
{ | ||
HappyBlocksBootstrap.HB_B_REPORTER.catchError(ex, "Impossible de lancer le launcher !"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.