Commit Graph

436 Commits

Author SHA1 Message Date
Huo Yaoyuan 6aba03e1ca OsuGameMode<-WorkingBeatMap->OsuGameBase. 2016-10-28 21:03:59 +08:00
Huo Yaoyuan 3858c77817 No longer holds OsuGame reference. 2016-10-28 20:47:27 +08:00
Huo Yaoyuan 9b76110605 Interaction with external changes. 2016-10-28 20:44:59 +08:00
Huo Yaoyuan 36cefcb956 Fix to work individually. 2016-10-28 20:34:22 +08:00
Huo Yaoyuan aa107de162 Store a local copy of WorkingBeatmap. 2016-10-28 20:27:44 +08:00
Huo Yaoyuan 7d14e6e6cf Make prev and next work again. 2016-10-28 20:08:27 +08:00
Huo Yaoyuan b7ada4866e Merge remote-tracking branch 'peppy/lets-play' into music-controller 2016-10-28 19:47:35 +08:00
Huo Yaoyuan 7d6e4a8ad2 Make music controller uses WorkingBeatmap. 2016-10-28 19:39:02 +08:00
Dean Herbert 10ef34b805 Lazy parse beatmap; Don't reload audio track if it hasn't changed. 2016-10-28 20:24:14 +09:00
Huo Yaoyuan 7e2350cb13 Merge remote-tracking branch 'refs/remotes/peppy/lets-play' 2016-10-28 19:07:29 +08:00
Dean Herbert 74f1a9622f Add initial game-wide beatmap flow. 2016-10-28 19:55:48 +09:00
Dean Herbert 0f5614ffa2 Only allow osu! mode maps to be played for now. 2016-10-28 18:07:42 +09:00
Dean Herbert 209f09df91 Don't exception on inability to read audio track. 2016-10-28 18:03:26 +09:00
Dean Herbert 13b5fb0578 Update transforms to not accept clock. 2016-10-28 17:42:00 +09:00
Dean Herbert 0e39c5cc9c Move Results to own namespace. 2016-10-28 16:10:10 +09:00
Dean Herbert 856e056515 Remove unnecessary finaliser. 2016-10-28 14:18:00 +09:00
Dean Herbert feccb7286c Add the concept of a "WorkingBeatmap" and make player load beatmaps and audio from SongSelect. 2016-10-28 14:14:45 +09:00
Dean Herbert 2cdda98b47 Add the ability to retrieve (fallback) metadata from a beatmap. 2016-10-28 14:13:52 +09:00
Dean Herbert 012c29addb Minor fixes to player flow. 2016-10-27 22:27:45 +09:00
Huo Yaoyuan eab8caaa0c Ensure track is playing after seek. 2016-10-27 19:51:38 +08:00
Dean Herbert d6ed055682 Don't hard-crash on failing to load a beatmap. 2016-10-27 20:37:01 +09:00
Dean Herbert d9dfc324c1 Rewrite a lot of Song Select to share logic between panels and consolidate logic inside classes where possible. 2016-10-27 19:52:48 +09:00
Huo Yaoyuan 73d1eeb272 Update MusicController using DragBar. 2016-10-27 18:15:43 +08:00
Huo Yaoyuan 35b1d0ae50 Seperated DragBar class. 2016-10-27 18:14:50 +08:00
Huo Yaoyuan 9c2d3990ce Add spacing in code. 2016-10-27 17:04:41 +08:00
Huo Yaoyuan 3e30935d10 Allow to set database of music controller. 2016-10-27 16:58:40 +08:00
Dean Herbert c828b1bc7b Add comment about optional database parameter. 2016-10-27 17:53:47 +09:00
Dean Herbert 9074bc3396 Allow Player to load from BeatmapInfo. 2016-10-27 17:53:37 +09:00
Dean Herbert a764a97602 Use memory database again, local to TestCasePlaySongSelect. 2016-10-27 17:35:00 +09:00
Dean Herbert 33ef55df88 Allow BeatmapDatabase to be constructed without a host. 2016-10-27 17:34:50 +09:00
Dean Herbert f16cc430f8 Stop using memory database. Load sample data local to TestCase.
Also makes the connection private.
2016-10-27 17:08:53 +09:00
Huo Yaoyuan 6482184a09 Dispose ArchiveReader. 2016-10-27 13:34:54 +08:00
Huo Yaoyuan fead1d4c6f Seek by clicking and dragging on progress bar. 2016-10-27 13:34:53 +08:00
Huo Yaoyuan d9fc04748e Remove redundant class. 2016-10-27 13:34:52 +08:00
Huo Yaoyuan 0da78c19a2 TestCase reset. 2016-10-27 13:34:51 +08:00
Huo Yaoyuan b671a33911 Transition fixes and clock for VisualTest. 2016-10-27 13:34:51 +08:00
Huo Yaoyuan 8e766a1f47 Show playing progress. 2016-10-27 13:34:50 +08:00
Huo Yaoyuan 1a3a5c544d Button behavior fixes. 2016-10-27 13:34:49 +08:00
Huo Yaoyuan a32f9eed51 Play control. 2016-10-27 13:34:48 +08:00
Huo Yaoyuan d2495e34fb Query from beatmap database. 2016-10-27 13:34:47 +08:00
Huo Yaoyuan 303bd41765 Background scale. 2016-10-27 13:34:46 +08:00
Huo Yaoyuan b0d72c5f84 Button and text. 2016-10-27 13:34:45 +08:00
Huo Yaoyuan 0f2b5e8370 Layers. 2016-10-27 13:34:44 +08:00
Huo Yaoyuan e1f6ab1a42 Create MusicController UI class and visual test. 2016-10-27 13:34:43 +08:00
Dean Herbert debea59bab Merge pull request #61 from SirCmpwn/song-select
Song select
2016-10-27 13:54:34 +09:00
Dean Herbert 456169f182 Move BeatmapGroupState to outside class definition. 2016-10-27 13:42:37 +09:00
Dean Herbert abfad501b6 beatmapSet can be private. 2016-10-27 13:41:30 +09:00
Dean Herbert ce73ae792f Change panel selection logic to avoid looping. 2016-10-27 13:36:04 +09:00
Dean Herbert ba5b2f2d73 Remove difficulty width offsets and tidy up flow of information. 2016-10-27 12:31:45 +09:00
Dean Herbert f846505a92 Tidy namespaces. 2016-10-27 12:01:13 +09:00