-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3326 from EasyRPG-NewFeatures/Primekick-DetectPro…
…jectType QoL: detect unsupported engines
- Loading branch information
Showing
16 changed files
with
430 additions
and
96 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
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
32 changes: 32 additions & 0 deletions
32
builds/android/app/src/main/java/org/easyrpg/player/game_browser/ProjectType.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,32 @@ | ||
package org.easyrpg.player.game_browser; | ||
|
||
import android.content.Context; | ||
|
||
import org.easyrpg.player.R; | ||
|
||
public enum ProjectType { | ||
UNKNOWN("Unknown"), | ||
SUPPORTED("Supported"), | ||
RPG_MAKER_XP("RPG Maker XP"), | ||
RPG_MAKER_VX("RPG Maker VX"), | ||
RPG_MAKER_VX_ACE("RPG Maker VX Ace"), | ||
RPG_MAKER_MV_MZ("RPG Maker MV/MZ"), | ||
WOLF_RPG_EDITOR("Wolf RPG Editor"), | ||
ENCRYPTED_2K3_MANIACS("Encrypted 2k3 (Maniacs Patch)"), | ||
RPG_MAKER_95("RPG Maker 95"), | ||
SIM_RPG_MAKER_95("Sim RPG Maker 95"); | ||
|
||
private final String label; | ||
|
||
ProjectType(String label) { | ||
this.label = label; | ||
} | ||
|
||
public String getLabel() { | ||
return this.label; | ||
} | ||
|
||
public static ProjectType getProjectType(int i) { | ||
return ProjectType.values()[i]; | ||
} | ||
} |
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.