Added a separate Game Mods menu.
- Replaces the mods being shown in the options menu. - Added all the (base) mod icons to the menu, with the unimplemented ones grayed out. - Added a rotation effect to MenuButton, and now multiple effects can be set at once. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -309,7 +309,7 @@ public enum GameImage {
|
||||
MOD_EASY ("selection-mod-easy", "png", false, false) {
|
||||
@Override
|
||||
protected Image process_sub(Image img, int w, int h) {
|
||||
return img.getScaledCopy((h * 0.12f) / img.getHeight());
|
||||
return img.getScaledCopy((h / 12f) / img.getHeight());
|
||||
}
|
||||
},
|
||||
MOD_NO_FAIL ("selection-mod-nofail", "png", false, false) {
|
||||
@@ -366,6 +366,18 @@ public enum GameImage {
|
||||
return MOD_EASY.process_sub(img, w, h);
|
||||
}
|
||||
},
|
||||
MOD_RELAX ("selection-mod-relax", "png", false, false) {
|
||||
@Override
|
||||
protected Image process_sub(Image img, int w, int h) {
|
||||
return MOD_EASY.process_sub(img, w, h);
|
||||
}
|
||||
},
|
||||
MOD_AUTOPILOT ("selection-mod-relax2", "png", false, false) {
|
||||
@Override
|
||||
protected Image process_sub(Image img, int w, int h) {
|
||||
return MOD_EASY.process_sub(img, w, h);
|
||||
}
|
||||
},
|
||||
|
||||
// Selection Buttons
|
||||
SELECTION_MODS ("selection-mods", "png", false, false) {
|
||||
|
||||
Reference in New Issue
Block a user