Image loader fixes.

Image locations are now searched separately and in order, instead of just relying on ResourceLoader.  Fixes issues with some images in the skins directory not being loaded at all, as well as image arrays being loaded from mixed locations.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-02-21 11:40:25 -05:00
parent 96e27171e9
commit 00b98e07d6
2 changed files with 90 additions and 77 deletions

View File

@@ -163,7 +163,7 @@ public class SoundController {
/**
* Returns the sound file name, with extension, by first looking through
* the skins directory and then the default images.
* the skins directory and then the default resource locations.
* @param filename the base file name
* @return the full file name, or null if no file found
*/