Commit Graph

114 Commits (2076919f06e8087d73c0b8e69f3ba47461525e90)

Author SHA1 Message Date
Evan Hemsley 2076919f06 fix unmerged bitset updates 2019-12-23 18:51:15 -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 9a1a210039 implement internal BitSet1024 2019-12-22 16:21:07 -08:00
Evan Hemsley 120fb738d7 add more query tests 2019-12-22 11:44:35 -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 1f0009b9fb integer IDs and entity capacity 2019-12-20 12:52:38 -08:00
Evan Hemsley 494a583240 started system for efficiently doing entity queries 2019-12-20 11:10:42 -08:00
evan 67ac748a29 initial JIT preload 2019-12-16 18:51:45 -08:00
thatcosmonaut 629e23e98c start working on preloading generic code paths for JIT 2019-12-16 14:51:12 -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 ec191c69d8 fix issue where components would not be readable by renderers if they were not updated the previous frame 2019-12-05 17:50:05 -08:00
Evan Hemsley bdac3d8541 fix panic when using runtime HasComponent 2019-12-05 16:19:35 -08:00
Evan Hemsley 5513402573 removed all component ID stuff 2019-12-05 14:59:55 -08:00
Evan Hemsley 506aee8c37 started rewriting managers to not reference interfaces 2019-12-04 20:50:08 -08:00
Evan Hemsley 2a7e97463e forgot to rename SendMessageDelayed on WorldBuilder 2019-11-25 19:37:03 -08:00
thatcosmonaut dea3ad591e test tweak 2019-11-22 13:18:43 -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 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
thatcosmonaut 5da8e2b71d add tests for component-entity getters 2019-11-14 10:57:13 -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
thatcosmonaut 0920b9a8f7 fix bug where multiple messages between same engines caused build crash 2019-11-13 13:05:31 -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 5f72bef256 DefaultWritePriority attribute for engines 2019-09-26 13:26:48 -07:00
thatcosmonaut 5872e916ac
Merge pull request #3 from thatcosmonaut/component_write_priority
Component write priority
2019-09-26 12:33:51 -07:00
Evan Hemsley ddbfd492d3 ordered renderer now requires IDrawComponent interface 2019-09-26 12:29:59 -07:00
Evan Hemsley 5bcde8bb96 fix crash where overwriting an existing component on the same frame as an entity was being destroyed would cause the component to not be destroyed 2019-08-22 20:07:41 -07:00
Evan Hemsley 4a7f65f2f5 more write conflict checks 2019-08-21 17:54:43 -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
Evan Hemsley 8fd2307fbb fix pending component type and id lookups 2019-08-11 11:47:12 -07:00
Evan Hemsley 162dbe52a2 fix broken entity ID lookup on pending components 2019-08-11 11:26:31 -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 5dd923e07a ReadComponent should no longer throw 2019-08-01 16:48:02 -07:00
Evan Hemsley d86c002305 optimize component message system 2019-08-01 16:24:57 -07:00
Evan Hemsley ec3b0df585 rework EntityRenderer to OrderedRenderer 2019-08-01 15:06:19 -07:00