forked from itdelatrisu/opsu
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
Conflicts: src/itdelatrisu/opsu/ErrorHandler.java src/itdelatrisu/opsu/Opsu.java src/itdelatrisu/opsu/Options.java src/itdelatrisu/opsu/objects/curves/Curve.java src/itdelatrisu/opsu/render/CurveRenderState.java src/itdelatrisu/opsu/render/Rendertarget.java src/itdelatrisu/opsu/states/GamePauseMenu.java src/itdelatrisu/opsu/states/OptionsMenu.java
- Loading branch information
Showing
43 changed files
with
1,602 additions
and
532 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
.metadata | ||
.classpath | ||
.project | ||
.externalToolBuilders/ | ||
|
||
# IntelliJ | ||
.idea/ | ||
|
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.
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.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,44 @@ | ||
package fluddokt.opsu.fake; | ||
|
||
import java.io.IOException; | ||
import java.net.URI; | ||
|
||
import com.badlogic.gdx.Gdx; | ||
|
||
public class Desktop { | ||
|
||
public static boolean isDesktopSupported() { | ||
// if(Gdx.app.getType() == ApplicationType.Desktop){ | ||
// return java.awt.Desktop.isDesktopSupported(); | ||
// } | ||
// else | ||
return true; | ||
} | ||
|
||
static Desktop single; | ||
|
||
public static Desktop getDesktop() { | ||
if (single == null) | ||
single = new Desktop(); | ||
return single; | ||
} | ||
|
||
public void browse(URI uri) throws IOException { | ||
// if(Gdx.app.getType() == ApplicationType.Desktop){ | ||
// java.awt.Desktop.getDesktop().browse(uri); | ||
// } else { | ||
Gdx.net.openURI(uri.toString()); | ||
// } | ||
} | ||
|
||
} | ||
package fluddokt.opsu.fake; | ||
|
||
import java.io.IOException; | ||
import java.net.URI; | ||
|
||
import com.badlogic.gdx.Gdx; | ||
|
||
import fluddokt.opsu.fake.Desktop.Action; | ||
|
||
public class Desktop { | ||
|
||
public enum Action { | ||
BROWSE | ||
} | ||
|
||
public static boolean isDesktopSupported() { | ||
// if(Gdx.app.getType() == ApplicationType.Desktop){ | ||
// return java.awt.Desktop.isDesktopSupported(); | ||
// } | ||
// else | ||
return true; | ||
} | ||
|
||
static Desktop single; | ||
|
||
public static Desktop getDesktop() { | ||
if (single == null) | ||
single = new Desktop(); | ||
return single; | ||
} | ||
|
||
public void browse(URI uri) throws IOException { | ||
// if(Gdx.app.getType() == ApplicationType.Desktop){ | ||
// java.awt.Desktop.getDesktop().browse(uri); | ||
// } else { | ||
Gdx.net.openURI(uri.toString()); | ||
// } | ||
} | ||
|
||
public boolean isSupported(Action browse) { | ||
return true; | ||
} | ||
|
||
} |
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
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
Oops, something went wrong.