Commit Graph

831 Commits

Author SHA1 Message Date
45e9f16f6b Add initial DrawableRuleset interface 2020-11-10 19:27:08 +09:00
91c627c22d Revert HOC changes 2020-11-07 00:57:33 +09:00
248d342a2f Initial Apply()/FreeAfterUse() DHO implementation 2020-11-06 23:02:37 +09:00
b7696c85ad Add more xmldocs 2020-11-01 15:23:03 +01:00
b4e5311014 Move initial state set inside updateClock 2020-10-30 20:39:25 +09:00
1bd461f229 Move clock logic back to inside updateClock method 2020-10-30 20:21:14 +09:00
0f997386ae Fix direction and IsRunning not updating on first frame after becoming valid
The parent clock will not unpause until WaitingForFrames becomes false,
so I've moved the set of that before we start to propagate its values
across. Doesn't fix any visible issue but should make propagation one
game loop faster.
2020-10-30 15:26:23 +09:00
326fd03525 Fix loop not exiting after first valid frame 2020-10-30 15:25:53 +09:00
8e6c803900 Avoid running full updateClock loop when waiting on frames 2020-10-30 12:39:11 +09:00
87be7d162b Merge branch 'master' into spectator-replay-watcher 2020-10-30 00:25:17 +09:00
335d150a13 Fix aim time being mutated inside update loop 2020-10-29 18:11:50 +09:00
2671d371da Move clock retrieval to new correct location 2020-10-29 15:28:39 +09:00
3ea27e23e8 Update namespace references 2020-10-29 15:20:10 +09:00
db2b00068f Avoid sourcing parent clock when in a paused state 2020-10-29 14:48:56 +09:00
d91456dc29 Move initial validity check out of loop for clarity 2020-10-29 14:25:47 +09:00
2e5a8b2287 Fix xmldoc to read better in new context 2020-10-29 13:16:31 +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
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
b8beac27ce Use previous logic for catching-up mode 2020-10-27 17:14:41 +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
7392876b5f Fix mania crashing due to spectator client handling frames with unconverted beatmap 2020-10-27 00:35:25 +01:00
05697dfe68 Add spectator state object support 2020-10-22 17:48:15 +09:00
96049c39c9 Add begin/end session logic 2020-10-22 17:48:15 +09:00
175fd512b0 Send frames to streaming client from replay recorder 2020-10-22 17:48:15 +09:00
411ae38605 Remove unused using 2020-10-20 15:06:31 +09:00
267b399f9f Add some simple border styles 2020-10-20 13:59:03 +09:00
4267d23d59 Move border to more appropriate namespace 2020-10-19 20:56:34 +02:00
5b96f01564 Fix key counter actions displaying out of order 2020-10-18 19:21:36 +02:00
e3eaba7b2c Move ISampleDisabler implementation to Player and FrameStabilityContainer 2020-10-14 19:39:48 +09:00
0605bb9b8d Fix incorrect parent state transfer 2020-10-05 16:20:29 +09:00
ae8bf8cdd4 Fix StabilityGameClock not being updated 2020-10-05 14:27:51 +09:00
e4710f82ec Fix sample disabled status not being updated correctly from seek state 2020-10-05 14:27:51 +09:00
af7d10afe0 Fix FrameStabilityContainer not re-caching its GameplayClock correctly 2020-10-05 14:27:51 +09:00
fd58a24183 Merge branch 'master' into fix-spinner-rpm-user-rate-adjust 2020-09-28 17:45:48 +09:00
524c2b678c Forcefully regenerate autoplay on editor changes 2020-09-28 15:48:42 +09:00
e8220cf1b6 Allow attaching a replay to a FrameStabilityContainer when FrameStablePlayback is off 2020-09-28 15:47:11 +09:00
892d440ed0 Add fallback path for potential null ParentGameplayClock 2020-09-25 13:19:07 +09:00
7df8b5bce7 Merge branch 'master' into fix-spinner-rpm-user-rate-adjust 2020-09-25 13:17:03 +09:00
62c2dbc310 Nest classes + make private 2020-09-24 14:33:43 +09:00
600b823a30 Fix game texture store being disposed by rulesets 2020-09-24 14:30:18 +09:00