mirrorcult and GitHub
7e56f46f35
Remove network component messages ( #2659 )
2022-03-31 10:24:27 +11:00
metalgearsloth and GitHub
21f2fe6b1b
Minor spawn opt ( #2651 )
2022-03-29 12:34:42 +02: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 and GitHub
33251222cd
EntityLookup as a system ( #2573 )
2022-03-03 21:17:01 +11:00
metalgearsloth and GitHub
4b20bae597
RobustUnitTest tweaks ( #2568 )
2022-03-01 13:35:32 +11:00
Acruid and GitHub
5a28c16cae
Map Pausing Fixes ( #2520 )
2022-02-12 15:54:03 +11:00
de4d255841
Analyzer to enforce classes to be either [Virtual], abstract, or sealed. ( #2469 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-05 19:31:58 +01:00
Leon Friedrich and GitHub
561699b26e
Replace EntityDirtyEvent with C# event. ( #2495 )
2022-02-05 12:23:51 +11:00
Leon Friedrich and GitHub
213955566b
remove GetBus() ( #2491 )
2022-02-02 10:03:03 +11:00
metalgearsloth and GitHub
753f3f8c0f
Add dirty method to entmanager for components ( #2453 )
2022-01-25 14:00:03 +01:00
3024094584
Add IsQueuedForDeletion ( #2421 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2022-01-18 19:02:10 +11:00
Pieter-Jan Briers
069ebbc8d0
Make disabled prediction work again.
...
Simulation input and Update() does not happen when prediction is disabled. Both of these can be re-opted in on a per-handler/system basis with a bool flag. Stuff like physics opts out of this now.
2021-12-30 03:03:39 +01:00
metalgearsloth and GitHub
9d9ad15274
Entity deletion stuff ( #2365 )
2021-12-23 12:20:44 +01:00
Pieter-Jan Briers
0b2693cb98
Optimize TryGetComponent & friends with array type -> dict lookups.
2021-12-21 17:16:08 +01:00
Vera Aguilera Puerto
9f20c325ab
Cache transform comp in CreateEntityUninitialized.
...
Instead of getting it 5 times in a row.
2021-12-16 12:58:12 +01:00
metalgearsloth and GitHub
ed4267df50
Minor xform optimisations ( #2335 )
2021-12-14 09:49:30 +01:00
Vera Aguilera Puerto
f8bf877b61
Fix weird lifestage autorefactors.
2021-12-09 12:39:42 +01:00
Vera Aguilera Puerto
1f99f43755
Resolve IEntityManager as needed in MetaDataComponent
2021-12-09 11:22:56 +01:00
Vera Aguilera Puerto
9133879bd3
Remove more IoCManager IEntityManager resolves
...
Also adds convenience "Deleted" method to IEntityManager
2021-12-08 10:53:24 +01:00
DrSmugleaf
5655dea1c7
Fix more errors, client and server now build
2021-12-06 14:00:38 +01:00
DrSmugleaf
163deff564
Fix 3000 errors
2021-12-05 18:13:33 +01:00
Wrexbe
69fa2eed64
Building Tests
2021-12-03 14:22:53 -08:00
20kdc
8aa6fb478b
Susser Todd: Robust.Shared, Error Pass 2 "It Now Compiles"
2021-12-03 19:36:16 +00:00
Vera Aguilera Puerto
c39f6d09eb
Lots of manual fixing. More to come.
2021-12-03 17:01:46 +01:00
Vera Aguilera Puerto
5eda1b326d
Inline OwnerUid
2021-12-03 16:30:34 +01:00
Vera Aguilera Puerto
7a06db60cf
Inline UID
2021-12-03 15:53:10 +01:00
Vera Aguilera Puerto
94e6886a85
Inline Transform
2021-12-03 14:20:35 +01:00
Vera Aguilera Puerto
7769252109
Inline Deleted
2021-12-03 11:30:03 +01:00
Vera Aguilera Puerto
69158de99b
Inline Prototype
2021-12-03 11:13:58 +01:00
Vera Aguilera Puerto
7bec76d8d1
Inline LifeStage
2021-12-03 11:13:18 +01:00
Vera Aguilera Puerto
6e86f98406
Inline MetaData
2021-12-03 11:12:35 +01:00
196e2bb427
The End of Entity (Komm, Süsser Todd: Part 1.0) ( #2295 )
...
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com >
2021-12-03 11:01:59 +01:00
f8bebee904
Remove Entity Transform/MetaData Component Cache ( #2296 )
...
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com >
2021-12-03 10:33:06 +01:00
Vera Aguilera Puerto and GitHub
6515b08b41
Better ToPrettyString with EntityStringRepresentation ( #2301 )
2021-12-03 10:09:49 +01:00
Vera Aguilera Puerto and GitHub
69f36aac6f
Add ToPrettyString method to EntityManager ( #2257 )
2021-11-24 12:04:18 +01:00
Vera Aguilera Puerto
7796d7f065
IEntityManager.Clear() actually drops entity system as its xmldoc says.
2021-11-23 11:07:16 +01:00
Vera Aguilera Puerto and GitHub
52d669e032
Fixes exceptions on shutdown. ( #2219 )
2021-11-11 17:39:25 +01:00
Kara D
0972601a43
Revert "entity creation crash fixes"
...
This reverts commit 603c252c48 .
2021-11-10 12:09:31 -07:00
Paul
603c252c48
entity creation crash fixes
2021-11-10 18:57:47 +01:00
metalgearsloth and GitHub
f9ae3e1fc2
Significantly optimise server when PVS disabled ( #2196 )
2021-11-10 01:38:37 +01:00
Vera Aguilera Puerto
ee894d8a8e
Move the last responsabilities from Entity to EntityManager.
2021-11-08 16:09:12 +01:00
Vera Aguilera Puerto and GitHub
ce169ed15e
Move LastModifiedTick out of Entity and into MetaDataComponent. ( #2209 )
2021-11-08 15:56:49 +01:00
metalgearsloth and GitHub
a4ff5d65ec
Dirty changes ( #2174 )
2021-11-02 16:05:45 +11:00
moonheart08 and GitHub
9fc95591d9
Introduce BQLv2, part 1 ( #2170 )
2021-10-31 20:23:13 +01:00
Vera Aguilera Puerto
ce58c6688f
Fix rare exception with QueueDelete modified collection
...
Now we use an actual queue for the deletion order, and the hashset for occupancy.
2021-10-23 00:08:04 +02:00
Vera Aguilera Puerto
4b30a94126
EntityManager SpawnEntity overloads consistently run map init on entities.
...
Fixes #2092
2021-10-05 14:44:43 +02:00
Vera Aguilera Puerto
3935c63a80
EntityManager Initialized set by Initialize() method and not InitializeComponents()
2021-10-05 11:40:19 +02:00
Vera Aguilera Puerto
a986292aa2
Fix EntityManager.InitializeEntity being static for no reason at all.
...
- Also fixes `EntityInitialized` not being invoked on many cases. (On the client, on entities created by `ClientGameStateManager`, for example...)
2021-10-05 10:59:15 +02:00
Vera Aguilera Puerto
082fac52cd
Remove redundant deleted entity check.
2021-10-05 10:14:25 +02:00
Vera Aguilera Puerto and GitHub
ab4f2c91b4
Move LifeStage and Paused data to MetaDataComponent. ( #2068 )
2021-10-04 12:29:13 +02:00