Commit Graph

33411 Commits

Author SHA1 Message Date
6eddd76bdc Simplify FramedReplayInputHandler's SetFrame implementation 2020-10-28 16:03:23 +09:00
09da75b143 Merge branch 'frame-stability-clean-up' into spectator-replay-watcher 2020-10-28 15:34:46 +09:00
2b1e79a4e8 Simplify state changes further 2020-10-28 15:32:20 +09:00
c9515653b3 Restore previous directionality logic to avoid logic differences 2020-10-28 15:31:57 +09:00
77d807d0f5 Merge branch 'frame-stability-clean-up' into spectator-replay-watcher 2020-10-28 15:26:02 +09:00
59e9c2639a Remove try-finally 2020-10-28 15:16:56 +09:00
a06516c900 Extract out frame stability state into enum for (hopefully) better clarity 2020-10-28 15:15:15 +09:00
8c9bda2ded Split out replay update method 2020-10-28 15:14:06 +09:00
9b9a41596f Split out frame stability calculation to own method 2020-10-28 15:14:06 +09:00
3e5322541d Make direction setting more clear 2020-10-28 14:35:42 +09:00
0a7f3dc19b Avoid null reference on finalization
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2020-10-28 07:29:07 +09:00
37e9e39ee8 Merge pull request #10602 from peppy/fix-editor-samples-not-pausing-screen-swap
Fix editor not pausing samples when switching away from compose mode
2020-10-27 22:43:27 +09:00
d5e0fa322b Fix a couple of inspections 2020-10-27 22:30:45 +09:00
26a7545534 Merge branch 'master' into fix-editor-samples-not-pausing-screen-swap 2020-10-27 21:29:16 +09:00
2cacdaa11b Add basic beatmap download and play flow 2020-10-27 19:28:34 +09:00
42b3aa3359 Fix spectating when starting from a point that isn't at the beginning of the beatmap 2020-10-27 18:58:37 +09:00
a289b7034f Add test helper functions to promote code share 2020-10-27 18:58:37 +09:00
b3d793a505 Fix gameplay proceeding when no frames have been received yet 2020-10-27 18:58:37 +09:00
d4467d20a2 Allow tests to continue sending frames from point they left off 2020-10-27 18:58:37 +09:00
851d45d2eb Add sane pausing logic 2020-10-27 18:58:37 +09:00
9e6b0a42ec Allow FrameStabilityContainer to handle waiting-for-data state better (and pause outwards) 2020-10-27 18:58:37 +09:00
3ec3321a3d Add missing space 2020-10-27 18:58:37 +09:00
63131d46aa Send initial spectator state more correctly in test component 2020-10-27 18:58:37 +09:00
4dba96e189 Add more useful frame sending logic to tests 2020-10-27 18:58:37 +09:00
b737a8bf6e Add field to Replay denoting whether the full replay have been received or not 2020-10-27 18:58:37 +09:00
c1e7cd6e47 Stop replay playback when frames are starved 2020-10-27 18:58:37 +09:00
9bac8f3792 Add null check on replay as safety measure 2020-10-27 18:58:37 +09:00
400542bc0b Ensure frames arrive 2020-10-27 18:58:37 +09:00
593b0a3ada Setup tests to run headless, add basic pass support 2020-10-27 18:58:37 +09:00
67f6d52e35 Setup tests 2020-10-27 18:58:37 +09:00
9bb2cff8a5 Convey actual beatmap and ruleset for full testing setup 2020-10-27 18:58:37 +09:00
82a27c73a0 Create basic testing setup 2020-10-27 18:58:37 +09:00
ac4671c594 Add basic implementation of spectator screen 2020-10-27 18:58:37 +09:00
154ccf1b49 Expose events from streaming client 2020-10-27 18:58:37 +09:00
5fd97bd043 Add basic spectator screen 2020-10-27 18:58:37 +09:00
df5348cd93 Merge pull request #10601 from peppy/move-sample-pause-logic 2020-10-27 17:49:32 +09:00
b8beac27ce Use previous logic for catching-up mode 2020-10-27 17:14:41 +09:00
4395852003 Merge pull request #10598 from peppy/editor-timing-seek-on-click-only
Change editor timing screen seek behaviour to only occur on clicking table rows
2020-10-27 15:47:18 +09:00
d148bafedc Merge branch 'move-sample-pause-logic' into fix-editor-samples-not-pausing-screen-swap 2020-10-27 14:35:58 +09:00
03d566da35 Rename test variable and remove unncessary cast 2020-10-27 14:35:12 +09:00
e0ad005cc1 Move editor sample disabling logic to editor class (and support screen switching) 2020-10-27 14:33:44 +09:00
606a4304a8 Remove unused usings 2020-10-27 14:33:16 +09:00
09087faf3b Fix non-matching filename 2020-10-27 14:23:24 +09:00
9cfb81589e Use bindable flow instead 2020-10-27 14:10:12 +09:00
6853da459d Move sample pausing logic out of FrameStabilityContainer 2020-10-27 13:54:33 +09:00
e1f578c590 Change editor timing screen seek behaviour to only occur on clicking table rows
Previously it would react to any selection changed event, which could in
lude time changes (which is done by removing then adding the
ControlPointGroup).

Closes #10590.
2020-10-27 12:28:12 +09:00
11ebd2d7f8 Merge pull request #10597 from bdach/fix-mania-spectator-crash 2020-10-27 11:56:41 +09:00
68719bb23d Rename other variables to match 2020-10-27 10:59:24 +09:00
7392876b5f Fix mania crashing due to spectator client handling frames with unconverted beatmap 2020-10-27 00:35:25 +01:00
19e58dc4fc Merge pull request #9970 from MiraiSubject/flag-fit 2020-10-26 19:41:22 +09:00