opsu-dance/src/itdelatrisu/opsu/downloads
Jeffrey Han 70c70fd812 Implemented an internal beatmap downloader (using Bloodcat).
The downloads menu can be accessed through the button on the right side of the main menu.  The downloader supports searching and concurrent downloads (NOTE: this is limited by the download server!).  Double-click any search result to begin downloading it to the SongPacks directory; cancel the download by hitting the red 'x' in the upper-right corner.  A confirmation will appear if trying to quit opsu! while downloads are running.

New classes:
- Download: represents an individual download from a remote address to a local path, and provides status and progress information; downloads files using Java NIO.
- DownloadNode: holds a Download object as well as additional beatmap fields, and handles drawing.
- DownloadList: manages the current list of downloads.
- DownloadsMenu: game state controller.
- DownloadServer: interface for a beatmap download server.
- BloodcatServer: implements DownloadServer using Bloodcat.
- ReadableByteChannelWrapper: wrapper for ReadableByteChannel that tracks progress.

Added images:
- "downloads" image by @kouyang.
- "search-background" image from "Minimalist Miku" skin (listed in credits).
- "delete" icon by Visual Pharm (https://www.iconfinder.com/icons/27842/) under CC BY-ND 3.0.

Other changes:
- Added up/down/left/right Expand directions to MenuButton class.
- Removed width/height parameters from OsuParser (leftovers).

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-02-01 02:10:17 -05:00
..
BloodcatServer.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00
Download.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00
DownloadList.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00
DownloadNode.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00
DownloadServer.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00
ReadableByteChannelWrapper.java Implemented an internal beatmap downloader (using Bloodcat). 2015-02-01 02:10:17 -05:00