Commit Graph

41 Commits (e4131d58f5ac814aeecc30693846433a4f179511)

Author SHA1 Message Date
cosmonaut e4131d58f5 fix new hashsets being allocated on each entity create 2023-01-10 12:41:16 -08:00
cosmonaut f69d132a5e Storage refactor, snapshot system, experimental template system (#3)
- Major storage refactor to improve performance and reduce garbage collection
- Snapshot system to facilitate rollback implementation
- Experimental template system to instantiate entities based on a template. Use at your own risk, this may change significantly or be removed!

Reviewed-on: #3
2023-01-10 00:41:00 +00:00
cosmonaut 71a95cb2d7 .NET 7 2022-11-30 10:03:30 -08:00
cosmonaut a9032603ec add Filter.NthEntity 2022-08-17 15:29:38 -07:00
cosmonaut bb359d339b add == operator to Entity 2022-08-11 14:04:26 -07:00
cosmonaut 453426a232 rename and add new relation lookup methods 2022-08-09 14:41:31 -07:00
cosmonaut 5d3989a620 fix relation storage resize 2022-06-22 17:05:33 -07:00
cosmonaut 47758f20d1 iterate indexable set backwards in case of destruction 2022-05-16 18:12:42 -07:00
cosmonaut ad4dfd9249 World should be internal 2022-05-15 12:16:49 -07:00
cosmonaut 56948e4c31 World State Save and Load (#2)
Reviewed-on: #2
2022-05-03 04:51:11 +00:00
cosmonaut 5243259acb relations can now contain data 2022-04-19 12:35:21 -07:00
cosmonaut 833c60003b x64 only 2022-04-08 00:07:17 -07:00
cosmonaut 37d10db955 remove implicit usings 2022-04-07 22:52:03 -07:00
cosmonaut 1123ef5662 check for specific relation 2022-04-06 20:08:28 -07:00
cosmonaut 0f4df1b948 optimize checking component existence 2022-04-06 20:07:38 -07:00
cosmonaut 21891da116 debug mode check use after destroy 2022-04-06 20:07:18 -07:00
cosmonaut da35e99266 entity relation system 2022-04-06 12:53:50 -07:00
cosmonaut d7e795309f Entity Iteration Rework (#1)
Filters are now the canonical way to look up Entities. The only exception is the new GetSingletonEntity.
2022-04-03 21:46:52 +00:00
cosmonaut b4c862d568 allow randomized entity access on filters 2022-04-02 01:00:48 -07:00
cosmonaut 42113f882c rename no-parameter Get to GetSingleton 2022-03-31 19:55:01 -07:00
cosmonaut 323fb0e209 add Exists API call to check if entity exists 2022-03-31 16:15:30 -07:00
cosmonaut 24455bcaed Entity is now IEquatable 2022-03-31 14:51:43 -07:00
cosmonaut 9e6917094d system updates called by the application instead of World 2022-03-25 16:00:19 -07:00
cosmonaut 428b375d88 DebugSystem API 2022-03-25 12:32:35 -07:00
cosmonaut 26621e66fe world no longer triggers renderer draw 2022-03-24 22:12:37 -07:00
cosmonaut 0ddc89ddea add singleton getter 2022-03-21 16:21:42 -07:00
cosmonaut 9eb4b947f0 WithEntity message getters 2022-03-18 12:50:59 -07:00
cosmonaut 8ec2780356 add singular ReadMessage to System 2022-03-16 00:33:38 -07:00
cosmonaut 82271e6b13 move FilterBuilder to EntityComponentReader 2022-03-08 15:23:07 -08:00
cosmonaut 1d34defbfb renderer initializer 2022-03-08 15:22:58 -08:00
cosmonaut 227aae9a1a register filter components with storage 2022-03-07 12:05:06 -08:00
cosmonaut 1d7db58d43 remove WorldBuilder 2022-03-07 11:46:17 -08:00
cosmonaut 229a0651bd WorldBuilder 2022-03-07 10:56:53 -08:00
cosmonaut b27cbcb50a note about ReadEntities 2022-03-06 23:27:35 -08:00
cosmonaut 2d55a3b6b2 clear message depot at end of update 2022-03-06 23:26:54 -08:00
cosmonaut b30923ade3 initial message system 2022-03-06 23:17:05 -08:00
cosmonaut 57474f1c63 correctly update filters on entity destroy 2022-03-06 22:43:53 -08:00
cosmonaut b19d8441b1 FilterBuilder property 2022-03-05 22:13:44 -08:00
cosmonaut b2b32b0424 initial filter implementation 2022-03-05 22:12:27 -08:00
cosmonaut 4ea5277912 readme stub 2022-03-04 18:03:26 -08:00
cosmonaut 0f4052728e initial commit 2022-03-04 18:01:44 -08:00