Commit Graph

79 Commits (2076919f06e8087d73c0b8e69f3ba47461525e90)

Author SHA1 Message Date
Evan Hemsley 2076919f06 fix unmerged bitset updates 2019-12-23 18:51:15 -08:00
Evan Hemsley 47e1072c8d internal storage using int ID instead of entity to avoid hash lookups 2019-12-23 18:45:49 -08:00
Evan Hemsley 7885c2e0f4 component removes are treated as priority writes 2019-12-23 18:01:49 -08:00
Evan Hemsley b1c09a20a0 change bitset to be cross platform 2019-12-22 22:34:58 -08:00
Evan Hemsley d6b96cd470 halve size of bitset for cpu compatibility 2019-12-22 21:13:54 -08:00
Evan Hemsley 1e73351b07 restructure entity queries to enable caching 2019-12-22 18:13:35 -08:00
Evan Hemsley 4e3aaa7d47 restructuring entity set query system for caching benefits 2019-12-22 17:16:54 -08:00
Evan Hemsley 50974c181a advanced query system 2019-12-22 01:15:58 -08:00
Evan Hemsley 728109bfc6 beginning query syntax system 2019-12-21 17:58:07 -08:00
Evan Hemsley 494a583240 started system for efficiently doing entity queries 2019-12-20 11:10:42 -08:00
evan 664f08c446 optimized away some LINQ 2019-12-16 20:40:15 -08:00
Evan Hemsley f6d93c7579 slight entity manager optimization 2019-12-16 02:17:39 -08:00
Evan Hemsley 4a2771d6a2 optimize away boxing for messages 2019-12-06 12:01:56 -08:00
Evan Hemsley 25b8dc6749 fixes various write priority related bugs 2019-12-06 00:36:54 -08:00
Evan Hemsley 8218ada6d1 fix emitters not being generated for certain component types +rename component message manager 2019-12-05 22:32:09 -08:00
Evan Hemsley 005405512e remove component messages 2019-12-05 19:55:17 -08:00
Evan Hemsley 0293263684 fix component updates 2019-12-05 15:14:28 -08:00
Evan Hemsley 5513402573 removed all component ID stuff 2019-12-05 14:59:55 -08:00
Evan Hemsley a4c3040239 start removing component ID system 2019-12-05 12:10:33 -08:00
Evan Hemsley 506aee8c37 started rewriting managers to not reference interfaces 2019-12-04 20:50:08 -08:00
Evan Hemsley 1195f03fb2 Merge branch 'master' of github.com:thatcosmonaut/encompass-cs 2019-11-22 16:43:10 -08:00
Evan Hemsley 038b3aceee SetComponent should not require Reads 2019-11-22 16:43:07 -08:00
thatcosmonaut f05b7f725d remove time dilation priority system in favor of averaging 2019-11-22 13:14:36 -08:00
thatcosmonaut d45295ae87 messages with time dilation system 2019-11-21 14:22:10 -08:00
thatcosmonaut fc50bf9b81 implementation of time dilation system for engines 2019-11-21 13:53:33 -08:00
Evan Hemsley 83b180fadb system for changing drawable component layer 2019-11-20 19:26:44 -08:00
Evan Hemsley d53bf043db replace IDrawComponent with IDrawableComponent and remove SetDrawComponent 2019-11-20 19:16:44 -08:00
Evan Hemsley 62dfdb758a remove exposed GUIDs from the API 2019-11-20 19:01:29 -08:00
Evan Hemsley b8d66e7642 adds Engine.RemoveComponent<TComponent>(Entity) 2019-11-17 10:48:39 -08:00
Evan Hemsley c994e9d7fe add component reader methods that include entities 2019-11-13 20:08:11 -08:00
thatcosmonaut 3b6d473aeb implement runtime type GetComponent 2019-11-13 13:24:20 -08:00
thatcosmonaut 591cd980d9 runtime type HasComponent 2019-11-13 13:15:43 -08:00
Evan Hemsley 790e36b2d3 graph logic depends on MoonTools.Core.Graph 2019-10-24 13:13:43 -07:00
Evan Hemsley 85f99a565c adds some convenience methods and doc comments 2019-10-24 12:48:36 -07:00
Evan Hemsley 27c3fa1058 explicitly require IDrawComponent interface on SetDrawComponent 2019-09-26 13:34:56 -07:00
Evan Hemsley dd22c00072 fix crash on multiple write declarations 2019-08-21 19:21:55 -07:00
Evan Hemsley 971a663cf9 write priority system and require read declaration for entity lookups by component 2019-08-21 15:13:48 -07:00
thatcosmonaut 9813c260ae started the component write priority system 2019-08-20 19:25:59 -07:00
thatcosmonaut b8d3d706ad fix crash when entity is added and removed same frame 2019-08-20 15:44:01 -07:00
thatcosmonaut d084286c83 delayed message system 2019-08-19 19:05:18 -07:00
thatcosmonaut 0447610b23 fix crash when components are added to an entity that will be destroyed 2019-08-19 18:11:15 -07:00
thatcosmonaut 1b30f3bd39 caching more info in ComponentMessageManager 2019-08-19 17:30:31 -07:00
Evan Hemsley 1ce6e0e907 fix issue with reading pending component 2019-08-10 18:17:52 -07:00
Evan Hemsley c1e206ef49 allow only one component per type per entity 2019-08-10 17:34:00 -07:00
Evan Hemsley dbe6cc4f53 accidentally destroyed every pooled dictionary when an entity was destroyed LOOOL 2019-08-01 23:09:41 -07:00
Evan Hemsley efb47c2879 adds pooled dictionary to componentmanager lookup 2019-08-01 18:56:52 -07:00
Evan Hemsley 5e2ae80518 optimize componentmanager and renderer 2019-08-01 16:44:29 -07:00
Evan Hemsley d86c002305 optimize component message system 2019-08-01 16:24:57 -07:00
Evan Hemsley d6c84b950a remove activation concept from components and entities 2019-07-31 10:35:17 -07:00
Evan Hemsley ed965d43a3 unparameterized SendMessage 2019-07-28 22:25:34 -07:00