Added initial support for loading beatmap skins.

- Added a GameImage enum for more organized loading of image resources.
- Game image loading now takes place directly before each beatmap is loaded.
- Added option 'IGNORE_BEATMAP_SKINS' to disable this feature.

Other changes:
- Slight correction in readme file: apparently the JAR will not run in the osu! program folder.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2014-07-04 16:41:52 -04:00
parent c72b9b955a
commit 16afcaf3e6
10 changed files with 536 additions and 346 deletions

View File

@@ -104,7 +104,6 @@ public class Utils {
// game-related variables
private static GameContainer container;
// private static StateBasedGame game;
private static Input input;
// This class should not be instantiated.
@@ -119,7 +118,6 @@ public class Utils {
public static void init(GameContainer container, StateBasedGame game)
throws SlickException {
Utils.container = container;
// Utils.game = game;
Utils.input = container.getInput();
// game settings