Commit Graph

241 Commits

Author SHA1 Message Date
cc2b4c5c5b Refactor WorkingBeatmap
Gets ArchiveReader out of WorkingBeatmap and delegates extracting stuff
from it to subclasses. Should enable us to make an OnlineWorkingBeatmap
or so.
2017-03-22 05:57:08 -04:00
879a78156d Merge branch 'master' into mod_application 2017-03-14 12:38:55 +09:00
ba10c3a8db Revert "Merge pull request #441 from tacchinotacchi/archive-reader"
This reverts commit 6f20473e65, reversing
changes made to c76a495d3d.
2017-03-14 11:46:34 +09:00
b2981fb729 Merge branch 'master' into mod_application 2017-03-13 22:15:26 +09:00
c0e29652a6 Initial attempt at making mods apply better. 2017-03-12 22:13:43 +09:00
309019aab3 Merge remote tracking branch 'upstream/master' into archive-reader 2017-03-07 08:41:44 +01:00
fd53d10264 Refactor ArchiveReader for extensibility 2017-03-06 23:56:08 +01:00
2de25c23b4 Make Mods IEnumerable. 2017-03-06 15:20:55 +09:00
76ef8c1a6c Add bindable mods and autoplay support. 2017-03-06 14:52:37 +09:00
1ea21daa91 Fix PlayMode regression. 2017-03-06 14:25:38 +09:00
3b0445a244 Improve comment for PreferredPlayMode and allow null. 2017-03-06 14:08:58 +09:00
7afcac3660 Move PreferredPlayMode to WorkingBeatmap. 2017-03-05 17:45:40 +09:00
3a89348413 Centralise access to WorkingBeatmaps.
They can now only be instantiated from BeatmapDatabase and are abstract (to avoid misuse).
2017-02-24 13:43:21 +09:00
d19a7813f3 Fix TestCasePlayer regression. 2017-02-22 23:27:29 +09:00
417f146386 Add difficulty calculation
Adds base classes for difficulty calculations, hooks them up with
carousel container, and adds a port of the osu difficulty calculator.
2017-02-19 17:41:51 +01:00
32ce8cf723 Audio class renames in line with framework changes. 2017-02-18 17:35:04 +09:00
11643d2e09 Remove unnecessary methods and local variables. 2017-02-13 18:30:51 +09:00
e3f35cd66e Merge branch 'master' into osb_loading 2017-02-12 12:26:25 +01:00
37e75e9a54 Add null check when loading beatmap background. 2017-02-12 16:13:44 +09:00
a504c73f33 Load beatmap data from an optional osb file. 2017-02-09 15:19:09 +01:00
e06aa44c4c Warning Fixes 2017-02-09 16:18:08 +03:00
6b011a50d2 Naming standardisation and enforcing. 2017-02-07 16:20:36 +09:00
50bd80cb0c Update and standardise license headers. 2017-02-07 14:27:41 +09:00
162e183b36 Fix some nullrefs when running visualtests with no maps loaded. 2017-01-27 00:16:02 +09:00
1d5dc77c4d Keep reference to reader to avoid early disposal. 2016-12-18 20:47:00 +09:00
3bc38268a0 Make MusicController more async. 2016-11-22 20:47:28 +09:00
f576b4bf82 Don't use texture atlases for beatmap backgrounds. 2016-11-22 20:14:58 +09:00
7df8324957 Explicit disposal via using() to WorkingBeatmap. 2016-11-22 14:57:53 +09:00
41a84ba00c Add finalizer logic for WorkingBeatmap for now. 2016-11-21 21:35:10 +09:00
18c0e431c1 Fix some nullrefs. 2016-11-12 18:25:58 +09:00
c59cad2478 AudioEquals method for BeatmapInfo. 2016-11-07 21:52:23 +08:00
e69dac7745 Fix lock object. 2016-11-05 20:21:08 +08:00
f2b37e1fe7 Add lock on each property of WorkingBeatmap. 2016-11-05 20:01:46 +08:00
a11d534067 Add beatmap backgrounds. 2016-11-05 20:00:14 +09:00
8fe63689a4 Fix thread safety issue when accessing files in beatmap (zip) files. 2016-11-05 18:19:01 +09:00
5dc495e41d Avoid accessing the beatmap too early. 2016-10-28 21:08:32 +09:00
10ef34b805 Lazy parse beatmap; Don't reload audio track if it hasn't changed. 2016-10-28 20:24:14 +09:00
74f1a9622f Add initial game-wide beatmap flow. 2016-10-28 19:55:48 +09:00
209f09df91 Don't exception on inability to read audio track. 2016-10-28 18:03:26 +09:00
856e056515 Remove unnecessary finaliser. 2016-10-28 14:18:00 +09:00
feccb7286c Add the concept of a "WorkingBeatmap" and make player load beatmaps and audio from SongSelect. 2016-10-28 14:14:45 +09:00