PepeElToro41
|
1e7d957a5b
|
Fix entities with pairs of non delete policies
* fix world_delete clearing archetype entities before proper cleanup
* make changes
|
2026-01-02 07:55:59 +01:00 |
|
Ukendio
|
64f8750f3c
|
Add missing delete parameter in types for OnRemove
|
2026-01-02 06:38:16 +01:00 |
|
Ukendio
|
7f3946736b
|
Fix desired id being overriden
|
2026-01-02 06:32:59 +01:00 |
|
Ukendio
|
74a97bc54e
|
Add types for DEBUG parameter
|
2025-12-28 12:37:13 +01:00 |
|
Ukendio
|
d5c9abc57f
|
Document delete flag in OnRemove hooks
|
2025-12-28 12:35:08 +01:00 |
|
Ukendio
|
e4b12f4a28
|
check cascaded deletion for structural changes within onremove hooks
|
2025-12-28 12:21:45 +01:00 |
|
Ukendio
|
5208aa7749
|
Fix tmp references
|
2025-12-28 11:41:45 +01:00 |
|
Ukendio
|
ef4d880b0a
|
Add DEBUG mode with special assertions
|
2025-12-28 11:08:51 +01:00 |
|
Ukendio
|
e4d0fb447d
|
Handle recursive race condition
|
2025-12-21 20:30:55 +01:00 |
|
Ukendio
|
aa63051db3
|
Optimize idr_r removal by 35%
|
2025-12-21 19:33:13 +01:00 |
|
Ukendio
|
3ebb2334da
|
Should be able to delete every archetype that is iterated
|
2025-12-21 19:08:55 +01:00 |
|
Ukendio
|
f543c06462
|
Fix invalidated archetype before invoking onremove hooks
|
2025-12-21 17:04:48 +01:00 |
|
Ukendio
|
4db44476a9
|
Only delete archetypes when completely invalidated
|
2025-12-19 07:10:12 +01:00 |
|
m10
|
df454c75a3
|
Add deleted flag to removed handler typings (#288)
* update types
* change "StatefulHook" to "HookWithData" and "StatelessHook" to "HookWithDeleted"
* Update deleted flag type
|
2025-12-16 22:33:48 +01:00 |
|
maeriil
|
fbc4f0f3aa
|
Add types for (Cached)Query.has (#286)
* ts type update
* changed to hard tabs
* reverted back to old formatting for some
* more fixes
* only keep query has
|
2025-12-16 22:33:48 +01:00 |
|
Ukendio
|
b3d3a2bcdd
|
Fix types
|
2025-12-16 22:30:05 +01:00 |
|
Ukendio
|
197a57b28b
|
Fix docs
|
2025-12-16 22:22:26 +01:00 |
|
Ukendio
|
d86dff4bfe
|
Cleanup repository
|
2025-11-30 08:13:31 +01:00 |
|
Ukendio
|
b7a5785dbb
|
Cleanup repository
|
2024-11-23 04:42:54 +01:00 |
|
Ukendio
|
dacec22efa
|
Stylua shenanigans
|
2024-11-23 00:49:10 +01:00 |
|
Ukendio
|
adf09d2412
|
Add trailing comma to type
|
2024-11-22 23:07:58 +01:00 |
|
Ukendio
|
1dd108401f
|
Merge Archetype with its node interface
|
2024-11-22 23:06:17 +01:00 |
|
Ukendio
|
59abdcbe6f
|
Fix type error on World.add in debug mode
|
2024-11-21 04:13:12 +01:00 |
|
Ukendio
|
166e572815
|
Add comma
|
2024-11-20 18:28:36 +01:00 |
|
Ukendio
|
ea7c118db6
|
Entity defaults to Tag
|
2024-11-16 19:16:51 +01:00 |
|
Ukendio
|
a5747a6145
|
Add newline
|
2024-11-16 18:05:45 +01:00 |
|
Ukendio
|
bacda3c2e8
|
Use ecs_pair_first
|
2024-11-16 18:05:17 +01:00 |
|
Ukendio
|
eb315067f5
|
Fast paths on entity_index_try_get for user facing api
|
2024-11-16 17:25:57 +01:00 |
|
Ukendio
|
0ab66f416d
|
Correct indentation on numbers
|
2024-11-16 17:12:12 +01:00 |
|
Ukendio
|
bab4065a1e
|
Merge branch 'main' of https://github.com/Ukendio/jecs
|
2024-11-16 17:11:33 +01:00 |
|
Ukendio
|
902809b514
|
Fix check in debug mode
|
2024-11-16 17:11:24 +01:00 |
|
metrowaii
|
03389e5189
|
Removed redundant guard (#157)
|
2024-11-15 06:29:13 +01:00 |
|
Ukendio
|
a850d0b704
|
fast access to record
|
2024-11-14 16:45:47 +01:00 |
|
Ukendio
|
8a03dd2c39
|
Add trailing comma
|
2024-11-14 03:43:56 +01:00 |
|
Ukendio
|
b40af9fe9d
|
Fix generation increment overflowing id
|
2024-11-14 03:38:27 +01:00 |
|
Ukendio
|
ceb7ea9866
|
Fix typings of exported pair function
|
2024-11-14 02:22:28 +01:00 |
|
Marcus
|
303bd4ed16
|
Entity recycling (#156)
* Merge
* Initial commit
* Fix indentations
* Remove sparse_count
* Add whiteline
* return 0 instead
* Add check for friend existing
* Force inlining
* Manual inlining
|
2024-11-13 20:05:01 +01:00 |
|
Ukendio
|
4aca3ab192
|
Ignore stylua
|
2024-11-10 04:14:08 +01:00 |
|
Ukendio
|
ec91a5d1e9
|
Improve types for SolverV2
|
2024-11-10 02:24:58 +01:00 |
|
Ukendio
|
4fc36261c2
|
Praise StyLua Gods
|
2024-10-25 00:58:43 +02:00 |
|
Ukendio
|
e4b266d3d5
|
Provide fast path to hooks
|
2024-10-23 20:58:32 +02:00 |
|
Christopher Buss
|
0eb288e057
|
style: fix inconsistent project formatting (#144)
Closes #138
|
2024-10-12 22:18:11 +02:00 |
|
Ukendio
|
f82318c642
|
Merge to main branch
|
2024-10-12 22:06:31 +02:00 |
|
Ukendio
|
76ab6838f2
|
query:archetypes is a method
|
2024-10-12 22:00:51 +02:00 |
|
Marcus
|
c5e20aaf50
|
Reuse archetype_delete on world:clear (#141)
* Reuse archetype_delete on world:clear
* Add tests
|
2024-10-12 21:55:24 +02:00 |
|
Magic
|
11f9615495
|
fix: query:archetypes() didnt take self in type (#143)
|
2024-10-12 17:04:49 +02:00 |
|
juste
|
6359701a69
|
Update ts type definitions (#142)
* updated typescript types
* add prettier
|
2024-10-12 03:45:37 +02:00 |
|
Ukendio
|
2e246e1e7a
|
Add cleanup to types
|
2024-10-09 00:54:22 +02:00 |
|
Marcus
|
c80bb0e2fd
|
Add tests for archetypes (#139)
* Add stylua
* Align HI_COMPONENT_ID
|
2024-10-06 03:36:36 +02:00 |
|
Ukendio
|
39e7c235bb
|
Remove redundant checks
|
2024-10-05 02:02:33 +02:00 |
|