Renamed darkascension skin to dark_ascension (will be prettifying file names in settings soon).
Added better DNE degredation in FSkin.
10
.gitattributes
vendored
@@ -10854,11 +10854,11 @@ res/quest/themes/Zombies[!!-~]B.thm -text
|
||||
res/reprintSetInfo.py svneol=native#text/x-python
|
||||
res/sealed/juzamjedi.zsealed -text
|
||||
res/setInfoScript.py svneol=native#text/x-python
|
||||
res/skins/darkascension/bg_match.jpg -text
|
||||
res/skins/darkascension/bg_splash.png -text
|
||||
res/skins/darkascension/bg_texture.jpg -text
|
||||
res/skins/darkascension/font1.ttf -text
|
||||
res/skins/darkascension/sprite_icons.png -text
|
||||
res/skins/dark_ascension/bg_match.jpg -text
|
||||
res/skins/dark_ascension/bg_splash.png -text
|
||||
res/skins/dark_ascension/bg_texture.jpg -text
|
||||
res/skins/dark_ascension/font1.ttf -text
|
||||
res/skins/dark_ascension/sprite_icons.png -text
|
||||
res/skins/default/bg_match.jpg -text
|
||||
res/skins/default/bg_splash.png -text
|
||||
res/skins/default/bg_texture.jpg -text
|
||||
|
||||
|
Before Width: | Height: | Size: 359 KiB After Width: | Height: | Size: 359 KiB |
|
Before Width: | Height: | Size: 389 KiB After Width: | Height: | Size: 389 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 260 KiB |
@@ -365,6 +365,10 @@ public enum FSkin {
|
||||
FSkin.colors = new HashMap<SkinProp, Color>();
|
||||
|
||||
final File f = new File(preferredDir + FILE_SPLASH);
|
||||
if (!f.exists()) {
|
||||
FSkin.loadLight("default");
|
||||
}
|
||||
else {
|
||||
final BufferedImage img;
|
||||
try {
|
||||
img = ImageIO.read(f);
|
||||
@@ -383,6 +387,7 @@ public enum FSkin {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads two sprites: the default (which should be a complete
|
||||
|
||||