metalgearsloth and GitHub
de01b9d8cb
Raise collision events by-ref ( #3201 )
2022-09-14 17:23:35 +10:00
Leon Friedrich and GitHub
fe5957bb91
RemoveComponentDeferred changes ( #3245 )
2022-09-14 15:53:50 +10:00
metalgearsloth and GitHub
a6c6b22393
Add entitylookup for components ( #3065 )
2022-09-13 19:52:46 +10:00
Leon Friedrich and GitHub
d2860c80a9
Predict component adding and removal ( #2876 )
2022-09-05 03:09:42 +10:00
Leon Friedrich and GitHub
938a9929ea
Fix deferred component remove error ( #3163 )
2022-08-23 02:55:59 +10:00
Leon Friedrich and GitHub
6a8266af7e
Revert "Revert "PVS & client state handling changes"" ( #3152 )
2022-08-21 08:30:28 +10:00
Leon Friedrich and GitHub
9cd8adae93
Revert "PVS & client state handling changes" ( #3151 )
2022-08-21 05:27:16 +10:00
Leon Friedrich and GitHub
b4358a9e33
PVS & client state handling changes ( #3000 )
2022-08-21 03:40:18 +10:00
Leon Friedrich and GitHub
0cce4714a1
Make a specific EntityUid error more descriptive ( #3132 )
2022-08-20 16:30:11 +10:00
Leon Friedrich and GitHub
e45aa3f2fe
Assert that components are not added to terminating entities ( #3144 )
2022-08-20 16:28:09 +10:00
metalgearsloth and GitHub
1cf31fbea6
Non-generic GetEntityQuery ( #3103 )
2022-08-06 14:52:32 +10:00
Leon Friedrich and GitHub
45472fa342
Make unknown component errors more helpful ( #3063 )
2022-07-21 16:54:04 +02:00
Leon Friedrich and GitHub
fa2b0233c3
ECS detach to null ( #2997 )
...
* ECS detach to null
* fix crash
2022-06-29 13:17:58 +10:00
wrexbe and GitHub
392e2fefca
Fix entity manager shutdown ( #2945 )
2022-06-29 09:20:51 +10:00
wrexbe and GitHub
76aaca6260
Expose RemoveComponentDeferred ( #2887 )
2022-06-12 21:41:42 +02:00
Pieter-Jan Briers and GitHub
832672149b
Entity creation performance improvements ( #2911 )
2022-06-06 14:49:36 +02:00
Pieter-Jan Briers
08e295972c
TryGetComponent is AggressiveInlining
2022-06-05 17:04:04 +02:00
Pieter-Jan Briers and GitHub
4226976821
Ordered EventBus optimizations ( #2902 )
2022-06-05 14:49:59 +02:00
Leon Friedrich and GitHub
fc4eb664e2
Make TryGetComponent output nullable ( #2905 )
...
* Make TryGetComponent output nullable
* figs
* ah. there are more. Why do you fail me VS
2022-06-05 00:13:53 +02:00
Pieter-Jan Briers and GitHub
bf1cc8fd7c
Minor performance improvements ( #2860 )
2022-05-28 15:28:08 +02:00
Leon Friedrich and GitHub
5624476e2b
Reset last modified tick ( #2871 )
2022-05-26 14:28:37 +10:00
b0a4593f44
Speed up map init, and unpause map on init ( #2781 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-05-05 19:21:03 +10:00
Paul
d60bbe9fe9
misc client optimizations
2022-04-18 22:34:49 +02:00
Leon Friedrich and GitHub
a82b293452
Make RemoveComp not error on missing component ( #2689 )
2022-04-11 16:57:35 +10:00
Leon Friedrich and GitHub
241bce56c8
Add Resolve() to component queries ( #2607 )
2022-03-19 15:53:39 +11:00
Acruid and GitHub
6b9b56ca83
Grid Components Allocate Grids ( #2597 )
...
* Deleting a map is now routed through MapComponent deletion.
* Remove map and grid deletions from map networking, just delete the entity if you want to remove the map.
* Moved the chunkSize property of created grids from the networked MapData to the MapGridComponent state.
* Remove unused IMapManager.DefaultMap property.
* Removed MapCreationTick field from MapManager.MapCollection.
* Removed _maps hashset field from MapManager.
* Removed CreatedMaps array from network MapData.
* MapGrid.ParentMapId is now derived from the bound TransformComponent, and isn't required in the MapGrid ctor.
Removed MapGrid.CreatedTick, it can be found on MapGridComponent.CreationTick.
* Remove a bunch of ApplyGameStatePre code duplication.
* Completely refactored CreateGrid.
* Adds AddComponentUninitialized to the ECS system. This allows you to access a component before it is initialized in a using block.
* Use AddComponentUninitialized to allocate a grid after the component is allocated.
* MapLoader now creates the grids after creating the map entities.
* Chunksize and TileSize properties are now actually read out of the map yaml.
TileSize has a public Setter.
* Minor cleanup.
* Moved grid allocation onto the MapGridComponent.
* Final Cleanup.
* Merge Fail.
* Fixed test, grid was getting deleted because it was empty.
* Remove DeletedChunkDatum from grid networking.
* ApplyMapGridState moved from map manager to the MapGridComponent.
2022-03-13 18:28:59 -07:00
metalgearsloth
7409df07f8
Merge remote-tracking branch 'upstream/master' into 2022-02-07_EnsureCompOut
2022-02-07 19:55:45 +11:00
metalgearsloth and GitHub
2e646fe2b6
EntityQueryEnumerator "fix" ( #2501 )
2022-02-07 12:06:50 +11:00
metalgearsloth
3f10dbe770
EnsureComponent<T> with out variable
...
Useful for EnsureComponent<T>(uid, out var comp) && comp.Thing
2022-02-07 00:07:01 +11:00
metalgearsloth and GitHub
933724e4ee
Nuke CompGetStateAttempt allocs ( #2497 )
2022-02-04 12:35:57 +11:00
Leon Friedrich and GitHub
213955566b
remove GetBus() ( #2491 )
2022-02-02 10:03:03 +11:00
metalgearsloth and GitHub
8f790c28be
Deprecate component.Paused ( #2449 )
2022-01-26 16:10:25 +11:00
wrexbe and GitHub
d1e0f2cd94
Automatic Component Names (Alternate ending) ( #2389 )
2022-01-25 14:10:08 +01:00
metalgearsloth and GitHub
753f3f8c0f
Add dirty method to entmanager for components ( #2453 )
2022-01-25 14:00:03 +01:00
metalgearsloth and GitHub
2e70cd4f2e
Add HasComp to EntityQuery struct ( #2451 )
2022-01-24 18:48:45 +11:00
metalgearsloth and GitHub
43081c57e7
Add acruid's funny entity query ( #2440 )
2022-01-21 10:45:10 +11:00
wrexbe
0538e89948
Fixes warnings
2022-01-17 19:13:54 -08:00
Paul Ritter and GitHub
013a3e3e8c
removes componentdependencies ( #2423 )
2022-01-15 13:06:29 +11:00
metalgearsloth and GitHub
9d9ad15274
Entity deletion stuff ( #2365 )
2021-12-23 12:20:44 +01:00
Pieter-Jan Briers
4be572ba58
whoops
2021-12-23 01:25:42 +01:00
Pieter-Jan Briers
baf86b5b83
Get rid of ComponentTypeCache stuff.
...
It didn't really work.
2021-12-23 01:15:25 +01:00
Pieter-Jan Briers
e56c77319c
Fix tests breaking due to component index stuff.
2021-12-23 01:12:56 +01:00
Pieter-Jan Briers
0b2693cb98
Optimize TryGetComponent & friends with array type -> dict lookups.
2021-12-21 17:16:08 +01:00
Paul
b7b2a0ab5e
quickly put that back
2021-12-20 15:33:50 +01:00
Paul
03505da382
fixes a bunch of warnings
2021-12-20 13:59:01 +01:00
metalgearsloth and GitHub
7a31525c3c
EntityQuery funnies ( #2347 )
2021-12-15 18:02:02 +11:00
wrexbe and GitHub
c94e49ed08
Cache Component Types ( #2325 )
2021-12-12 16:06:51 -08:00
Wrexbe
4df03f859b
Fix release building
2021-12-07 09:50:07 -08:00
metalgearsloth
8377acb672
more cast memes
2021-12-07 22:14:44 +11:00
DrSmugleaf
5655dea1c7
Fix more errors, client and server now build
2021-12-06 14:00:38 +01:00