Commit Graph

108 Commits

Author SHA1 Message Date
ekrctb 3fbeadf318 Deprecate old overload of Apply 2021-04-21 14:32:37 +09:00
ekrctb d8aa436e81 Remove usage of Lazy<List<...>> in NestedPlayfields 2021-04-15 18:26:01 +09:00
Dean Herbert ced7a36788 Update namespaces 2021-01-18 21:24:10 +09:00
Dean Herbert 5ded4b9faa
Merge branch 'master' into dho-remove-onparentreceived 2020-12-04 11:04:56 +09:00
smoogipoo 0bdf99b97a Remove OnParentReceived() 2020-12-03 20:08:42 +09:00
smoogipoo 73e99718bc Change order of OnParentReceived() 2020-12-03 20:06:26 +09:00
Dean Herbert 51741c4791
Merge branch 'master' into hit-sample-pooling 2020-11-30 22:25:28 +09:00
smoogipoo 4bbeb9ebd4 Merge branch 'master' into hit-sample-pooling 2020-11-30 18:31:58 +09:00
ekrctb 05e245d445 Allow non-pooled DHO to be reused 2020-11-26 19:07:09 +09:00
ekrctb f6faf95e33 Revert changes to HitObjectUsageBegan, not use it. 2020-11-26 14:01:46 +09:00
ekrctb 1a6e5bdaba Merge branch 'master' into pool-scrolling 2020-11-26 13:52:52 +09:00
ekrctb e34a205104 Rewrite hit object management, take three 2020-11-24 18:56:05 +09:00
ekrctb 666112cb5a Address @bdach's minor suggestions 2020-11-22 18:51:16 +09:00
ekrctb 4345d8dcb6 Event -> virtual method 2020-11-21 15:20:33 +09:00
ekrctb 281ed49332 Add `HasInitialized` to DHO
As it turned out, `IsLoaded` is not a reliable way.
2020-11-21 11:19:52 +09:00
ekrctb 82aefa3868 Rework and rename to OnNewDrawableHitObject.
The semantics is changed and hopefully more clear.
2020-11-21 00:27:19 +09:00
ekrctb 772f6df668 Add a remark for DrawableHitObjectAdded 2020-11-20 18:00:00 +09:00
ekrctb c013cd11c9 Add DrawableHitObjectAdded event 2020-11-20 17:56:47 +09:00
smoogipoo 7180bfe4ba Unlimit number of samples per pool 2020-11-19 21:21:57 +09:00
smoogipoo f013928fa3 Set maximum pool size 2020-11-19 20:40:01 +09:00
smoogipoo 8920534a25 Fix pools not being added to hierarchy 2020-11-19 20:24:03 +09:00
smoogipoo 730b14b5bb Add initial hit sample pooling 2020-11-19 19:51:09 +09:00
smoogipoo e8dbc190f1 Remove ability to pool DHOs in parent playfields 2020-11-16 23:30:24 +09:00
smoogipoo c71b237c4f Merge all pooling support into Playfield 2020-11-14 00:59:08 +09:00
smoogipoo 36f1833f6e Move hitobject pooling to Playfield 2020-11-14 00:41:18 +09:00
smoogipoo d83b479c81 Internalise lifetime extensions and events too 2020-11-13 19:21:45 +09:00
smoogipoo 4a4219fd11 Add region 2020-11-13 19:21:45 +09:00
smoogipoo 92189e35cc Make playfield KeepAlive methods internal 2020-11-13 19:21:45 +09:00
smoogipoo 688a442fb3 Add missing dictionary 2020-11-13 17:26:46 +09:00
smoogipoo 942ecde0e1 Merge branch 'master' into pooling-editor-support 2020-11-13 17:23:35 +09:00
smoogipoo a07d4a7915 Remove unnecessary dictionary for now 2020-11-13 14:42:41 +09:00
smoogipoo 8aaa500431 Add lifetime extensions 2020-11-12 18:34:50 +09:00
smoogipoo 243e913e4a Add hitobject usage events 2020-11-12 18:32:20 +09:00
smoogipoo fe347c8661 Add playfield support for keeping hitobjects alive 2020-11-12 18:30:32 +09:00
smoogipoo 974390bda7 Make Add() + Remove() virtual 2020-11-12 15:36:02 +09:00
smoogipoo 72a6b75626 Add back removed event 2020-11-12 15:34:51 +09:00
smoogipoo 4e43235955 Fix double bind leading to test failures 2020-11-12 15:33:49 +09:00
smoogipoo 5dbbe11fc6 Remove PoolHitObjects, use return value of CreateDrawableRepresentation() instead 2020-11-12 14:04:16 +09:00
smoogipoo 7d02018134 Remove some unnecessary implementations for now 2020-11-11 18:54:40 +09:00
smoogipoo 66213f2ed0 Add pooling support to DrawableRuleset + Playfield 2020-11-10 23:56:32 +09:00
Dean Herbert e0a2321822 Reduce complexity of AllHitObjects enumerator when nested playfields are not present 2020-09-22 18:17:04 +09:00
smoogipoo 66486b094c Remove unnecessary dependency, allow null mods 2020-04-01 13:31:17 +09:00
Dean Herbert 14a85a84bf Add proper screen space - gamefield mapping 2020-03-23 20:06:18 +09:00
Dean Herbert f181ee1843 Hide the menu cursor while inside the playfield by default 2019-11-29 17:35:11 +09:00
Huo Yaoyuan ccc8aa6fa4 Apply brace style. 2019-11-11 20:13:13 +08:00
smoogipoo 13b9b04bb8 Apply more cases/fix some existing ones 2019-05-07 13:23:09 +09:00
smoogipoo 0bd35ab7bb Turn on warnings, resolve issues 2019-04-25 17:36:17 +09:00
Dean Herbert 908eee9942 Fix pause tests 2019-04-22 18:29:51 +09:00
smoogipoo 7845d542e3 Cache mods as array in DrawableRuleset 2019-04-10 17:20:36 +09:00
smoogipoo 4310f07a5c Rename SelectedMods -> Mods 2019-04-10 12:03:57 +09:00