quakeforge/libs/ecs
Bill Currie 3a2877dd9a [ecs] Adjust subpool range type to return start,end
I found I needed the subrange start as well as the end, but I liked that
the subpools themselves used only the end of the range, so switching to
just a unint32_t for the value and adding a function to return a tuple
made sense. I had kept the struct because I thought I might want to
store additional information (eg, the entity "owning" the subpool), but
found that I didn't need such information as the systems using subpools
that way would have access to the entity by other means.

Interestingly, the change found a bug in subpool creation: I really
don't know why things worked before, but they work better now :)
2022-12-20 17:56:08 +09:00
..
test [ecs] Adjust subpool range type to return start,end 2022-12-20 17:56:08 +09:00
component.c [ecs] Organize headers and code 2022-12-13 15:31:35 +09:00
ecs.c [ecs] Add support for subpools 2022-12-18 21:11:21 +09:00
entity.c [ecs] Adjust subpool range type to return start,end 2022-12-20 17:56:08 +09:00
hierarchy.c [ecs] Organize headers and code 2022-12-13 15:31:35 +09:00
Makemodule.am [ecs] Add support for subpools 2022-12-18 21:11:21 +09:00
subpool.c [ecs] Adjust subpool range type to return start,end 2022-12-20 17:56:08 +09:00